ExportDialog: Make error messages translatable
Also fix missing newlines that caused #24202.
This commit is contained in:
parent
26cf4fed6e
commit
2323464f5e
6 changed files with 48 additions and 65 deletions
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue