Merge pull request #85108 from theDrake/pick-main-scene-punctuation
Adjust `pick_main_scene` dialog punctuation
This commit is contained in:
commit
554dc002b5
|
@ -5343,7 +5343,7 @@ bool EditorNode::ensure_main_scene(bool p_from_native) {
|
|||
|
||||
if (main_scene.is_empty()) {
|
||||
current_menu_option = -1;
|
||||
pick_main_scene->set_text(TTR("No main scene has ever been defined, select one?\nYou can change it later in \"Project Settings\" under the 'application' category."));
|
||||
pick_main_scene->set_text(TTR("No main scene has ever been defined. Select one?\nYou can change it later in \"Project Settings\" under the 'application' category."));
|
||||
pick_main_scene->popup_centered();
|
||||
|
||||
if (editor_data.get_edited_scene_root()) {
|
||||
|
@ -5358,14 +5358,14 @@ bool EditorNode::ensure_main_scene(bool p_from_native) {
|
|||
|
||||
if (!FileAccess::exists(main_scene)) {
|
||||
current_menu_option = -1;
|
||||
pick_main_scene->set_text(vformat(TTR("Selected scene '%s' does not exist, select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category."), main_scene));
|
||||
pick_main_scene->set_text(vformat(TTR("Selected scene '%s' does not exist. Select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category."), main_scene));
|
||||
pick_main_scene->popup_centered();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ResourceLoader::get_resource_type(main_scene) != "PackedScene") {
|
||||
current_menu_option = -1;
|
||||
pick_main_scene->set_text(vformat(TTR("Selected scene '%s' is not a scene file, select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category."), main_scene));
|
||||
pick_main_scene->set_text(vformat(TTR("Selected scene '%s' is not a scene file. Select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category."), main_scene));
|
||||
pick_main_scene->popup_centered();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue