From 572c81e1856c27aaf8ed2e56c26408ca02810e6f Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Thu, 31 Jan 2013 11:54:32 +0100 Subject: [PATCH] Handle also the parameter "variableunsafe" in lib/encodings to retrieve a translatable string. --- po/lyx_pot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/lyx_pot.py b/po/lyx_pot.py index 21d4c74995..7d9a3fc164 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -572,7 +572,7 @@ def encodings_l10n(input_files, output, base): output = open(output, 'w') # assuming only one encodings file # Encoding utf8 utf8 "Unicode (utf8)" UTF-8 variable inputenc - reg = re.compile('Encoding [\w-]+\s+[\w-]+\s+"([\w \-\(\)]+)"\s+[\w-]+\s+(fixed|variable)\s+\w+.*') + reg = re.compile('Encoding [\w-]+\s+[\w-]+\s+"([\w \-\(\)]+)"\s+[\w-]+\s+(fixed|variable|variableunsafe)\s+\w+.*') input = open(input_files[0]) for lineno, line in enumerate(input.readlines()): if not line.startswith('Encoding'): -- 2.39.5