diff --git a/po/lyx_pot.py b/po/lyx_pot.py index a9fa753018..af92a6886d 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -91,7 +91,7 @@ def layouts_l10n(input_files, output, base): I18nPreamble = re.compile(r'\s*(Lang)|(Babel)Preamble\s*$') EndI18nPreamble = re.compile(r'\s*End(Lang)|(Babel)Preamble\s*$') I18nString = re.compile(r'_\(([^\)]+)\)') - CounterFormat = re.compile(r'\s*PrettyFormat\s+(.*)') + CounterFormat = re.compile(r'\s*PrettyFormat\s+"?(.*)"?') for src in input_files: readingDescription = False