diff --git a/tools/localization/generateLocalizedStringsAnalysis.py b/tools/localization/generateLocalizedStringsAnalysis.py index 5e006eb5d7..3a2fbfcc04 100755 --- a/tools/localization/generateLocalizedStringsAnalysis.py +++ b/tools/localization/generateLocalizedStringsAnalysis.py @@ -221,8 +221,9 @@ def process_keys(): for_loop_iterations["keys"] = 0 for_loop_iterations["files"] = 0 for_loop_iterations["lines"] = 0 - for i in range(number_of_keys): - key = key_list[i] + i = -1 + for key in key_list: + i = i + 1 regex_list = localization_regex_as_list(key) progress_bar(