From: Juergen Spitzmueller Date: Sat, 14 Jan 2017 17:11:39 +0000 (+0100) Subject: Fix Description parsing X-Git-Tag: 2.3.0alpha1~467 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=06f933bc89a56fec3dd54686927b8ee25ed2c9d4;p=features.git Fix Description parsing --- diff --git a/po/lyx_pot.py b/po/lyx_pot.py index 0fc3acaa08..b6aa6eba02 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -95,7 +95,7 @@ def layouts_l10n(input_files, output, base, layouttranslations): InsetLayout = re.compile(r'^InsetLayout\s+\"?(.*)\"?\s*$', re.IGNORECASE) FlexCheck = re.compile(r'^Flex:(.*)', re.IGNORECASE) CaptionCheck = re.compile(r'^Caption:(.*)', re.IGNORECASE) - DescBegin = re.compile(r'^\s*#DescriptionBegin\s*$', re.IGNORECASE) + DescBegin = re.compile(r'^\s*#\s+DescriptionBegin\s*$', re.IGNORECASE) DescEnd = re.compile(r'^\s*#\s*DescriptionEnd\s*$', re.IGNORECASE) Category = re.compile(r'^\s*#\s*Category:\s+(.*\S)\s*$', re.IGNORECASE) I18nPreamble = re.compile(r'^\s*((Lang)|(Babel))Preamble\s*$', re.IGNORECASE)