You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
ProjectManager: enhance dialog ok button text
This commit is contained in:
@@ -536,21 +536,21 @@ public:
|
|||||||
|
|
||||||
if (mode == MODE_IMPORT) {
|
if (mode == MODE_IMPORT) {
|
||||||
set_title(TTR("Import Existing Project"));
|
set_title(TTR("Import Existing Project"));
|
||||||
get_ok()->set_text(TTR("Import"));
|
get_ok()->set_text(TTR("Import & Edit"));
|
||||||
name_container->hide();
|
name_container->hide();
|
||||||
project_path->grab_focus();
|
project_path->grab_focus();
|
||||||
|
|
||||||
} else if (mode == MODE_NEW) {
|
} else if (mode == MODE_NEW) {
|
||||||
|
|
||||||
set_title(TTR("Create New Project"));
|
set_title(TTR("Create New Project"));
|
||||||
get_ok()->set_text(TTR("Create"));
|
get_ok()->set_text(TTR("Create & Edit"));
|
||||||
name_container->show();
|
name_container->show();
|
||||||
project_name->grab_focus();
|
project_name->grab_focus();
|
||||||
|
|
||||||
} else if (mode == MODE_INSTALL) {
|
} else if (mode == MODE_INSTALL) {
|
||||||
|
|
||||||
set_title(TTR("Install Project:") + " " + zip_title);
|
set_title(TTR("Install Project:") + " " + zip_title);
|
||||||
get_ok()->set_text(TTR("Install"));
|
get_ok()->set_text(TTR("Install & Edit"));
|
||||||
name_container->hide();
|
name_container->hide();
|
||||||
project_path->grab_focus();
|
project_path->grab_focus();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user