]> git.lyx.org Git - features.git/commitdiff
lyx_pot.py: Do not strip blanks in HelpText.
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 22 Apr 2014 08:35:20 +0000 (10:35 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 30 Apr 2014 14:05:02 +0000 (16:05 +0200)
This fixes a thinko introduced in [c5ef7cfc/lyxgit]

Fixes: #9054.
po/lyx_pot.py

index b6f97dc2cc4ae450243728bf76aa29ca22e5f68f..ca97416299bc8097495fc80758502421ae84ef01 100755 (executable)
@@ -500,7 +500,7 @@ def external_l10n(input_files, output, base):
     Template = re.compile(r'^Template\s+(.*)', re.IGNORECASE)
     GuiName = re.compile(r'\s*GuiName\s+(.*)', re.IGNORECASE)
     HelpTextStart = re.compile(r'\s*HelpText\s', re.IGNORECASE)
-    HelpTextSection = re.compile(r'\s*(\S.*\S)\s*$')
+    HelpTextSection = re.compile(r'\s*(\S.*)\s*$')
     HelpTextEnd = re.compile(r'\s*HelpTextEnd\s', re.IGNORECASE)
     i = -1
     for src in input_files: