Am Donnerstag 04 Februar 2010 schrieb Jean-Marc Lasgouttes: > Le 04/02/2010 20:40, kor...@lyx.org a écrit : > > Author: kornel > > Date: Thu Feb 4 20:40:51 2010 > > New Revision: 33327 > > URL: http://www.lyx.org/trac/changeset/33327 > > > > Log: > > Change, so that lyx_pot.py is extracting this string too > > This is wrong. the "-" is part of a new syntax introduced by juergen. > > lyx-pot.py should be fixed instead. > > JMarc > Something like attached?
I don't dare to commit now again. Making trouble only ... Kornel
Index: lyx_pot.py =================================================================== --- lyx_pot.py (Revision 33329) +++ lyx_pot.py (Arbeitskopie) @@ -183,7 +183,7 @@ '''Generate pot file from lib/language''' output = open(output, 'w') # assuming only one language file - reg = re.compile('[\w-]+\s+[\w"]+\s+"([\w \-\(\),]+)"\s+(true|false)\s+[\w-]+\s+\w+\s+"[^"]*"') + reg = re.compile('[\w-]+\s+[\w"]+\s+"([\w \-\(\),]+)"\s+(true|false)\s+[\w-]+\s+[\w\-]+\s+"[^"]*"') input = open(input_files[0]) for lineno, line in enumerate(input.readlines()): if line[0] == '#':
signature.asc
Description: This is a digitally signed message part.