summaryrefslogtreecommitdiff
path: root/editor/translations
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-23 14:43:41 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-08-23 14:43:41 +0200
commitd1497b720eb34da7797e5107c357f6ed17b37297 (patch)
tree2ef065efa320d2bdea07eba9fc63489c570af594 /editor/translations
parent87958e7ada48b70b63c27aa3a5452bb1f68c19e8 (diff)
i18n: Fix extract.py after #17440
As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
Diffstat (limited to 'editor/translations')
-rwxr-xr-xeditor/translations/extract.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/translations/extract.py b/editor/translations/extract.py
index 4b3f416343..0dee1819dd 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):