From 498478a2bd99876fe980a2790570c1632debfeb8 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 20 Jan 2010 20:52:03 +0000 Subject: [PATCH] Ignore quotes in lyx_pot. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33117 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 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 -- 2.39.2