summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-08-02 14:12:50 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-08-02 14:12:50 +0200
commitb324a929f62ea3539193ea1c00b69341f81e5b51 (patch)
tree7581c2e12be26ccb8e494ce0104ae190171aebc6 /editor
parentec9302ceccb75f44038db3695d2f9e7c82cfe951 (diff)
Improve messages related to overriding the default editor layout
This closes #33884.
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index ce131e6a05..bf9856aa21 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1664,7 +1664,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;
}
@@ -1676,7 +1676,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;
@@ -1707,7 +1707,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;