From: Kornel Benko Date: Thu, 31 Jan 2013 10:54:32 +0000 (+0100) Subject: Handle also the parameter "variableunsafe" in lib/encodings to retrieve a translatabl... X-Git-Tag: 2.1.0beta1~830 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=572c81e1856c27aaf8ed2e56c26408ca02810e6f;p=features.git Handle also the parameter "variableunsafe" in lib/encodings to retrieve a translatable string. --- 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'):