1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

ExportDialog: Make error messages translatable

Also fix missing newlines that caused #24202.
This commit is contained in:
Rémi Verschelde
2019-01-21 18:34:53 +01:00
parent 26cf4fed6e
commit 2323464f5e
6 changed files with 48 additions and 65 deletions

View File

@@ -155,7 +155,7 @@ bool EditorExportPlatformJavaScript::can_export(const Ref<EditorExportPreset> &p
if (FileAccess::exists(p_preset->get("custom_template/debug"))) {
valid = true;
} else {
err += "Custom debug template not found.\n";
err += TTR("Custom debug template not found.") + "\n";
}
}
@@ -163,7 +163,7 @@ bool EditorExportPlatformJavaScript::can_export(const Ref<EditorExportPreset> &p
if (FileAccess::exists(p_preset->get("custom_template/release"))) {
valid = true;
} else {
err += "Custom release template not found.\n";
err += TTR("Custom release template not found.") + "\n";
}
}