From ffb5727910d8b9d3a21549c2d2e2b572d354547f Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Sat, 24 Jul 2021 08:17:12 +0200 Subject: [PATCH] [strings] Store the order of bg language (sort langs properly later) Signed-off-by: Alexander Borsuk --- tools/python/find_untranslated_strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/find_untranslated_strings.py b/tools/python/find_untranslated_strings.py index daf9abd0f2..7bee7e0a8c 100755 --- a/tools/python/find_untranslated_strings.py +++ b/tools/python/find_untranslated_strings.py @@ -14,7 +14,7 @@ MANY_DOTS = re.compile(r"\.{4,}") SPACE_PUNCTUATION = re.compile(r"\s[.,?!:;]") PLACEHOLDERS = re.compile(r"(%\d*\$@|%[@dqus]|\^)") -ITUNES_LANGS = ["en", "en-GB", "ru", "ar", "cs", "da", "nl", "fi", "fr", "de", "hu", "id", "it", "ja", "ko", "nb", "pl", "pt", "pt-BR", "ro", "sl", "es", "sv", "th", "tr", "uk", "vi", "zh-Hans", "zh-Hant"] +ITUNES_LANGS = ["en", "en-GB", "ru", "bg", "ar", "cs", "da", "nl", "fi", "fr", "de", "hu", "id", "it", "ja", "ko", "nb", "pl", "pt", "pt-BR", "ro", "sl", "es", "sv", "th", "tr", "uk", "vi", "zh-Hans", "zh-Hant"] SIMILARITY_THRESHOLD = 20.0 #%