You've already forked godot
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:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user