]> git.lyx.org Git - features.git/commitdiff
Fix Description parsing
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 14 Jan 2017 17:11:39 +0000 (18:11 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 14 Jan 2017 17:11:39 +0000 (18:11 +0100)
po/lyx_pot.py

index 0fc3acaa08c09e0c0ff7a33a429dc6af187a837b..b6aa6eba028ff1b1baaa9c3e3c82a35a41a145a8 100755 (executable)
@@ -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)