commit 471fb72f02239b2c79d9ebfa5beec460b8a82935
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Tue Feb 21 08:25:44 2023 +0100

    Translate B_ strings in citeengines
---
 po/lyx_pot.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/po/lyx_pot.py b/po/lyx_pot.py
index 4e15b1f..665fdcd 100755
--- a/po/lyx_pot.py
+++ b/po/lyx_pot.py
@@ -107,7 +107,7 @@ def layouts_l10n(input_files, output, base, 
layouttranslations):
     CounterFormat = re.compile(r'^\s*PrettyFormat\s+"?(.*)"?\s*$', 
re.IGNORECASE)
     CiteFormat = re.compile(r'^\s*CiteFormat', re.IGNORECASE)
     # Note: preceding and trailing space in the val below matters
-    KeyVal = re.compile(r'^\s*_\w+\s(.*\S)*$')
+    KeyVal = re.compile(r'^\s*B?_\w+\s(.*\S)*$')
     Float = re.compile(r'^\s*Float\s*$', re.IGNORECASE)
     UsesFloatPkg = re.compile(r'^\s*UsesFloatPkg\s+(.*\S)\s*$', re.IGNORECASE)
     IsPredefined = re.compile(r'^\s*IsPredefined\s+(.*\S)\s*$', re.IGNORECASE)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to