瀏覽代碼

i18n: Fix extract.py after #17440

As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
Rémi Verschelde 7 年之前
父節點
當前提交
d1497b720e
共有 1 個文件被更改,包括 2 次插入0 次删除
  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):