瀏覽代碼

i18n: Improve a couple English strings

Rémi Verschelde 9 年之前
父節點
當前提交
17f7065944

+ 1 - 1
tools/editor/connections_dialog.cpp

@@ -309,7 +309,7 @@ ConnectDialog::ConnectDialog() {
 
 
 	tree = memnew(SceneTreeEditor(false));
-	vbc_left->add_margin_child(TTR("Conect To Node:"),tree,true);
+	vbc_left->add_margin_child(TTR("Connect To Node:"),tree,true);
 
 
 

+ 1 - 1
tools/editor/io_plugins/editor_font_import_plugin.cpp

@@ -533,7 +533,7 @@ class EditorFontImportDialog : public ConfirmationDialog {
 		}
 
 		if (dest->get_line_edit()->get_text().extension().to_lower() != "fnt") {
-			error_dialog->set_text(TTR("Invalid file extension. \nPlease use .fnt"));
+			error_dialog->set_text(TTR("Invalid file extension.\nPlease use .fnt."));
 			error_dialog->popup_centered(Size2(200,100));
 			return;
 		}

+ 14 - 20
tools/translations/tools.pot

@@ -943,7 +943,7 @@ msgid "Method in target Node must be specified!"
 msgstr ""
 
 #: tools/editor/connections_dialog.cpp
-msgid "Conect To Node:"
+msgid "Connect To Node:"
 msgstr ""
 
 #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp
@@ -1526,17 +1526,13 @@ msgid "Save Layout"
 msgstr ""
 
 #: tools/editor/editor_node.cpp
-msgid "Load Layout"
+msgid "Delete Layout"
 msgstr ""
 
 #: tools/editor/editor_node.cpp tools/editor/project_export.cpp
 msgid "Default"
 msgstr ""
 
-#: tools/editor/editor_node.cpp
-msgid "Delete Layout"
-msgstr ""
-
 #: tools/editor/editor_node.cpp
 msgid "Switch Scene Tab"
 msgstr ""
@@ -2108,6 +2104,12 @@ msgstr ""
 msgid "No target font resource!"
 msgstr ""
 
+#: tools/editor/io_plugins/editor_font_import_plugin.cpp
+msgid ""
+"Invalid file extension.\n"
+"Please use .fnt."
+msgstr ""
+
 #: tools/editor/io_plugins/editor_font_import_plugin.cpp
 msgid "Can't load/process source font."
 msgstr ""
@@ -5661,31 +5663,27 @@ msgid "Error duplicating scene to save it."
 msgstr ""
 
 #: tools/editor/scene_tree_dock.cpp
-msgid "New Scene Root"
-msgstr ""
-
-#: tools/editor/scene_tree_dock.cpp
-msgid "Inherit Scene"
+msgid "Edit Groups"
 msgstr ""
 
 #: tools/editor/scene_tree_dock.cpp
-msgid "Add Child Node"
+msgid "Edit Connections"
 msgstr ""
 
 #: tools/editor/scene_tree_dock.cpp
-msgid "Instance Child Scene"
+msgid "Delete Node(s)"
 msgstr ""
 
 #: tools/editor/scene_tree_dock.cpp
-msgid "Change Type"
+msgid "Add Child Node"
 msgstr ""
 
 #: tools/editor/scene_tree_dock.cpp
-msgid "Edit Groups"
+msgid "Instance Child Scene"
 msgstr ""
 
 #: tools/editor/scene_tree_dock.cpp
-msgid "Edit Connections"
+msgid "Change Type"
 msgstr ""
 
 #: tools/editor/scene_tree_dock.cpp
@@ -5700,10 +5698,6 @@ msgstr ""
 msgid "Save Branch as Scene"
 msgstr ""
 
-#: tools/editor/scene_tree_dock.cpp
-msgid "Delete Node(s)"
-msgstr ""
-
 #: tools/editor/scene_tree_dock.cpp
 msgid "Add/Create a New Node"
 msgstr ""