From d9931f483495f946676bea1c61a3e2725e151224 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sun, 14 Jun 2020 16:59:17 +0100 Subject: [PATCH] Use "./" in preload paths --- .../tools/extractor_dialog.gd | 2 +- .../tools/language_selection_dialog.gd | 2 +- .../tools/translation_editor.gd | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/zylann.translation_editor/tools/extractor_dialog.gd b/addons/zylann.translation_editor/tools/extractor_dialog.gd index e6ded32..0b61231 100644 --- a/addons/zylann.translation_editor/tools/extractor_dialog.gd +++ b/addons/zylann.translation_editor/tools/extractor_dialog.gd @@ -1,7 +1,7 @@ tool extends WindowDialog -const Extractor = preload("extractor.gd") +const Extractor = preload("./extractor.gd") signal import_selected(strings) diff --git a/addons/zylann.translation_editor/tools/language_selection_dialog.gd b/addons/zylann.translation_editor/tools/language_selection_dialog.gd index d90df4c..74faef8 100644 --- a/addons/zylann.translation_editor/tools/language_selection_dialog.gd +++ b/addons/zylann.translation_editor/tools/language_selection_dialog.gd @@ -1,7 +1,7 @@ tool extends WindowDialog -const Locales = preload("locales.gd") +const Locales = preload("./locales.gd") signal language_selected(language) diff --git a/addons/zylann.translation_editor/tools/translation_editor.gd b/addons/zylann.translation_editor/tools/translation_editor.gd index 96e0064..e3484df 100644 --- a/addons/zylann.translation_editor/tools/translation_editor.gd +++ b/addons/zylann.translation_editor/tools/translation_editor.gd @@ -1,12 +1,12 @@ tool extends Panel -const CsvLoader = preload("csv_loader.gd") -const PoLoader = preload("po_loader.gd") -const Locales = preload("locales.gd") -const StringEditionDialog = preload("string_edition_dialog.tscn") -const LanguageSelectionDialog = preload("language_selection_dialog.tscn") -const ExtractorDialog = preload("extractor_dialog.tscn") +const CsvLoader = preload("./csv_loader.gd") +const PoLoader = preload("./po_loader.gd") +const Locales = preload("./locales.gd") +const StringEditionDialog = preload("./string_edition_dialog.tscn") +const LanguageSelectionDialog = preload("./language_selection_dialog.tscn") +const ExtractorDialog = preload("./extractor_dialog.tscn") const MENU_FILE_OPEN = 0 const MENU_FILE_SAVE = 1