From: Juergen Spitzmueller Date: Tue, 22 Apr 2014 08:35:20 +0000 (+0200) Subject: lyx_pot.py: Do not strip blanks in HelpText. X-Git-Tag: 2.1.1~67 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ad203a33d5595be13db615f15c3f79bf95845df7;p=features.git lyx_pot.py: Do not strip blanks in HelpText. This fixes a thinko introduced in [c5ef7cfc/lyxgit] Fixes: #9054. --- diff --git a/po/lyx_pot.py b/po/lyx_pot.py index b6f97dc2cc..ca97416299 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -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: