Makes more editor strings translatable
* Title of Sprite Editor convert preview dialogs * Title of UV Channel Debug dialog * Various editor warnings * GridMap popup menu item "Paste Selects" * Tileset editor shape button texts * MeshLibrary update confirmation text
This commit is contained in:
@ -351,7 +351,7 @@ void ExportTemplateManager::ok_pressed() {
|
||||
void ExportTemplateManager::_http_download_mirror_completed(int p_status, int p_code, const PoolStringArray &headers, const PoolByteArray &p_data) {
|
||||
|
||||
if (p_status != HTTPRequest::RESULT_SUCCESS || p_code != 200) {
|
||||
EditorNode::get_singleton()->show_warning("Error getting the list of mirrors.");
|
||||
EditorNode::get_singleton()->show_warning(TTR("Error getting the list of mirrors."));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -369,7 +369,7 @@ void ExportTemplateManager::_http_download_mirror_completed(int p_status, int p_
|
||||
int errline;
|
||||
Error err = JSON::parse(mirror_str, r, errs, errline);
|
||||
if (err != OK) {
|
||||
EditorNode::get_singleton()->show_warning("Error parsing JSON of mirror list. Please report this issue!");
|
||||
EditorNode::get_singleton()->show_warning(TTR("Error parsing JSON of mirror list. Please report this issue!"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user