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:
Haoyu Qiu
2019-12-27 10:31:55 +08:00
parent b8e8f4942d
commit 8cf941a8cb
10 changed files with 15 additions and 15 deletions

View File

@ -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;
}