1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Use a standard "OK" text for confirmation buttons in error dialogs

[ci skip]
This commit is contained in:
Hugo Locurcio
2018-08-05 16:47:41 +02:00
parent 464d59935d
commit 1368bcfc53
7 changed files with 46 additions and 46 deletions

View File

@@ -4879,7 +4879,7 @@ void CanvasItemEditorViewport::_perform_drop_data() {
files_str += error_files[i].get_file().get_basename() + ",";
}
files_str = files_str.substr(0, files_str.length() - 1);
accept->get_ok()->set_text(TTR("Ugh"));
accept->get_ok()->set_text(TTR("OK"));
accept->set_text(vformat(TTR("Error instancing scene from %s"), files_str.c_str()));
accept->popup_centered_minsize();
}