]> git.lyx.org Git - features.git/blobdiff - po/lyx_pot.py
* lyx_pot.py:
[features.git] / po / lyx_pot.py
index 551f00953328c78699c5297e97ac68eb2a20529e..9931d1e6098a672423421b02c82b6fd1d5be33e5 100755 (executable)
@@ -180,7 +180,7 @@ def languages_l10n(input_files, output, base):
     '''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] == '#':