diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-21 20:12:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 20:12:12 +0100 |
commit | 9f464c4418ec13baed2d2f577b1b2fc1175ce918 (patch) | |
tree | a2e8baba076497c377852421420e97abd8d3bf2f /editor/editor_export.cpp | |
parent | 3eb07575528803f8ab6b30e9cd3dd6450f24d90e (diff) | |
parent | 2323464f5ed3dbf4f80899abf4c3fb0dd08a2693 (diff) |
Merge pull request #25192 from akien-mga/export-ttr
ExportDialog: Make error messages translatable
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r-- | editor/editor_export.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index b36ed72125..7c99318dca 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -378,7 +378,7 @@ String EditorExportPlatform::find_export_template(String template_file_name, Str // Not found if (err) { - *err += "No export template found at \"" + template_path + "\"."; + *err += TTR("No export template found at the expected path:") + "\n" + template_path + "\n"; } return String(); } @@ -1404,12 +1404,12 @@ bool EditorExportPlatformPC::can_export(const Ref<EditorExportPreset> &p_preset, if (!FileAccess::exists(custom_debug_binary)) { dvalid = false; - err = "Custom debug binary not found.\n"; + err += TTR("Custom debug template not found.") + "\n"; } if (!FileAccess::exists(custom_release_binary)) { rvalid = false; - err += "Custom release binary not found.\n"; + err += TTR("Custom release template not found.") + "\n"; } if (dvalid || rvalid) |