From d1497b720eb34da7797e5107c357f6ed17b37297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 23 Aug 2018 14:43:41 +0200 Subject: i18n: Fix extract.py after #17440 As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597 --- editor/translations/extract.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- cgit v1.2.3