diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-11-16 13:45:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 13:45:38 +0100 |
commit | 3c213d516ded5c24f2d65ae6cec8256b6019a061 (patch) | |
tree | 61cfa4eb27f3f494251aac2575f822aaa511da07 | |
parent | fc70f986b9a324fd0bf1707f2df7bfeabb2bb4d1 (diff) | |
parent | b324a929f62ea3539193ea1c00b69341f81e5b51 (diff) | |
download | redot-engine-3c213d516ded5c24f2d65ae6cec8256b6019a061.tar.gz |
Merge pull request #40967 from Calinou/editor-layout-improve-messages
Improve messages related to overriding the default editor layout
-rw-r--r-- | editor/editor_node.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index c6613cdf63..b33555f260 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1679,7 +1679,7 @@ void EditorNode::_dialog_action(String p_file) { if (err == ERR_FILE_CANT_OPEN || err == ERR_FILE_NOT_FOUND) { config.instance(); // new config } else if (err != OK) { - show_warning(TTR("Error trying to save layout!")); + show_warning(TTR("An error occurred while trying to save the editor layout.\nMake sure the editor's user data path is writable.")); return; } @@ -1691,7 +1691,7 @@ void EditorNode::_dialog_action(String p_file) { _update_layouts_menu(); if (p_file == "Default") { - show_warning(TTR("Default editor layout overridden.")); + show_warning(TTR("Default editor layout overridden.\nTo restore the Default layout to its base settings, use the Delete Layout option and delete the Default layout.")); } } break; @@ -1722,7 +1722,7 @@ void EditorNode::_dialog_action(String p_file) { _update_layouts_menu(); if (p_file == "Default") { - show_warning(TTR("Restored default layout to base settings.")); + show_warning(TTR("Restored the Default layout to its base settings.")); } } break; |