diff --git a/editor/translations/extract.py b/editor/translations/extract.py index 4b3f416343d..0dee1819ddb 100755 --- a/editor/translations/extract.py +++ b/editor/translations/extract.py @@ -54,6 +54,8 @@ msgstr "" def process_file(f, fname): + global main_po, unique_str, unique_loc + l = f.readline() lc = 1 while (l):