Browse Source

i18n: Fix extract.py after #17440

As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
Rémi Verschelde 7 năm trước cách đây
mục cha
commit
d1497b720e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      editor/translations/extract.py

+ 2 - 0
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):