From 0e1f67f8ea1862adf5fba09831e1cea77da85f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Wed, 5 Nov 2008 23:44:40 +0000 Subject: [PATCH] * lyx_pot.py: - allow comma in language name (bug 5459). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27300 a592a061-630c-0410-9148-cb99ea01b6c8 --- po/lyx_pot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/lyx_pot.py b/po/lyx_pot.py index 551f009533..9931d1e609 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -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] == '#':