From fb3bba0b751cf29253f548d51319b2ddd3de07db Mon Sep 17 00:00:00 2001 From: Stefan Date: Wed, 28 Feb 2018 20:45:33 +0100 Subject: [PATCH] Missing keys will no longer be written to the properties files --- scripts/syncLang.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/syncLang.py b/scripts/syncLang.py index 8dfb267edab..0dbe32d86b6 100644 --- a/scripts/syncLang.py +++ b/scripts/syncLang.py @@ -445,9 +445,9 @@ def __update_properties(self, main_property_file, other_property_files): num_keys_missing = len(keys_missing) num_keys_obsolete = len(keys_obsolete) - for missing_key in keys_missing: + # for missing_key in keys_missing: # Missing keys are added with main translation by default. - keys[missing_key] = main_keys_dict[missing_key] + # keys[missing_key] = main_keys_dict[missing_key] for obsolete_key in keys_obsolete: del keys[obsolete_key]