Browse Source

Merge similar editor strings

(cherry picked from commit 4383f8a7906dad841052190ad4a8d2613fe2e4ef)
Haoyu Qiu 4 years ago
parent
commit
6250a33c61
2 changed files with 3 additions and 3 deletions
  1. 2 2
      editor/animation_track_editor.cpp
  2. 1 1
      editor/editor_node.cpp

+ 2 - 2
editor/animation_track_editor.cpp

@@ -4508,7 +4508,7 @@ void AnimationTrackEditor::_new_track_node_selected(NodePath p_path) {
 			}
 			}
 
 
 			if (node == AnimationPlayerEditor::singleton->get_player()) {
 			if (node == AnimationPlayerEditor::singleton->get_player()) {
-				EditorNode::get_singleton()->show_warning(TTR("An animation player can't animate itself, only other players."));
+				EditorNode::get_singleton()->show_warning(TTR("AnimationPlayer can't animate itself, only other players."));
 				return;
 				return;
 			}
 			}
 
 
@@ -5355,7 +5355,7 @@ void AnimationTrackEditor::_edit_menu_pressed(int p_option) {
 		case EDIT_PASTE_TRACKS: {
 		case EDIT_PASTE_TRACKS: {
 
 
 			if (track_clipboard.size() == 0) {
 			if (track_clipboard.size() == 0) {
-				EditorNode::get_singleton()->show_warning(TTR("Clipboard is empty"));
+				EditorNode::get_singleton()->show_warning(TTR("Clipboard is empty!"));
 				break;
 				break;
 			}
 			}
 
 

+ 1 - 1
editor/editor_node.cpp

@@ -2731,7 +2731,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
 						}
 						}
 
 
 						save_confirmation->get_ok()->set_text(TTR("Save & Quit"));
 						save_confirmation->get_ok()->set_text(TTR("Save & Quit"));
-						save_confirmation->set_text((p_option == FILE_QUIT ? TTR("Save changes to the following scene(s) before quitting?") : TTR("Save changes the following scene(s) before opening Project Manager?")) + unsaved_scenes);
+						save_confirmation->set_text((p_option == FILE_QUIT ? TTR("Save changes to the following scene(s) before quitting?") : TTR("Save changes to the following scene(s) before opening Project Manager?")) + unsaved_scenes);
 						save_confirmation->popup_centered_minsize();
 						save_confirmation->popup_centered_minsize();
 					}
 					}
 				}
 				}