Răsfoiți Sursa

i18n: Fix typo and sync template

Rémi Verschelde 9 ani în urmă
părinte
comite
d708afdc1c
2 a modificat fișierele cu 219 adăugiri și 136 ștergeri
  1. 3 3
      tools/editor/editor_profiler.cpp
  2. 216 133
      tools/translations/tools.pot

+ 3 - 3
tools/editor/editor_profiler.cpp

@@ -425,10 +425,10 @@ void EditorProfiler::_activate_pressed() {
 	if (activate->is_pressed()) {
 		clear();
 		activate->set_icon(get_icon("Stop","EditorIcons"));
-		activate->set_text(TTR("Stop Profilinng"));
+		activate->set_text(TTR("Stop Profiling"));
 	} else {
 		activate->set_icon(get_icon("Play","EditorIcons"));
-		activate->set_text(TTR("Start Profilinng"));
+		activate->set_text(TTR("Start Profiling"));
 
 
 	}
@@ -672,7 +672,7 @@ EditorProfiler::EditorProfiler()
 
 	hb->add_spacer();
 
-	hb->add_child( memnew( Label(TTR("Frame#:") ) ) );
+	hb->add_child( memnew( Label(TTR("Frame #:") ) ) );
 
 	cursor_metric_edit = memnew( SpinBox );
 	cursor_metric_edit->set_h_size_flags(SIZE_FILL);

+ 216 - 133
tools/translations/tools.pot

@@ -648,9 +648,9 @@ msgstr ""
 #: tools/editor/connections_dialog.cpp tools/editor/animation_editor.cpp
 #: tools/editor/project_manager.cpp tools/editor/create_dialog.cpp
 #: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
 #: tools/editor/plugins/navigation_polygon_editor_plugin.cpp
 #: tools/editor/plugins/particles_editor_plugin.cpp
-#: tools/editor/plugins/mesh_editor_plugin.cpp
 msgid "Create Subscription"
 msgstr ""
 
@@ -1296,7 +1296,7 @@ msgstr ""
 msgid "Description:"
 msgstr ""
 
-#: tools/editor/script_editor_debugger.cpp
+#: tools/editor/script_editor_debugger.cpp tools/editor/editor_profiler.cpp
 msgid "Time:"
 msgstr ""
 
@@ -1373,6 +1373,10 @@ msgstr ""
 msgid "Stack Trace (if applicable):"
 msgstr ""
 
+#: tools/editor/script_editor_debugger.cpp
+msgid "Remote Inspector"
+msgstr ""
+
 #: tools/editor/script_editor_debugger.cpp
 msgid "Monitor"
 msgstr ""
@@ -1410,10 +1414,6 @@ msgstr ""
 msgid "Usage"
 msgstr ""
 
-#: tools/editor/script_editor_debugger.cpp tools/editor/scenes_dock.cpp
-msgid "Info"
-msgstr ""
-
 #: tools/editor/script_editor_debugger.cpp
 msgid "Clicked Control:"
 msgstr ""
@@ -1430,10 +1430,6 @@ msgstr ""
 msgid "Set From Tree"
 msgstr ""
 
-#: tools/editor/script_editor_debugger.cpp
-msgid "Scene Tree:"
-msgstr ""
-
 #: tools/editor/import_settings.cpp
 msgid "Imported Resources"
 msgstr ""
@@ -1818,6 +1814,46 @@ msgstr ""
 msgid "Select a Node"
 msgstr ""
 
+#: tools/editor/editor_profiler.cpp
+msgid "Stop Profiling"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Start Profiling"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Measure:"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Frame Time (sec)"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Average Time (sec)"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Frame %"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Fixed Frame %"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Inclusive"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Self"
+msgstr ""
+
+#: tools/editor/editor_profiler.cpp
+msgid "Frame #:"
+msgstr ""
+
 #: tools/editor/quick_open.cpp tools/editor/editor_help.cpp
 #: tools/editor/create_dialog.cpp tools/editor/plugins/script_editor_plugin.cpp
 msgid "Matches:"
@@ -1841,7 +1877,7 @@ msgstr ""
 msgid "Save & Re-Import"
 msgstr ""
 
-#: tools/editor/editor_reimport_dialog.cpp
+#: tools/editor/editor_reimport_dialog.cpp tools/editor/editor_node.cpp
 msgid "Re-Importing"
 msgstr ""
 
@@ -1988,27 +2024,27 @@ msgid "Move To.."
 msgstr ""
 
 #: tools/editor/scenes_dock.cpp
-msgid "Show In File Manager"
+msgid "Info"
 msgstr ""
 
 #: tools/editor/scenes_dock.cpp
-msgid "Previous Directory"
+msgid "Show In File Manager"
 msgstr ""
 
-#: tools/editor/scenes_dock.cpp
-msgid "Next Directory"
+#: tools/editor/scenes_dock.cpp tools/editor/editor_node.cpp
+msgid "Re-Import.."
 msgstr ""
 
 #: tools/editor/scenes_dock.cpp
-msgid "Re-Scan Filesystem"
+msgid "Previous Directory"
 msgstr ""
 
 #: tools/editor/scenes_dock.cpp
-msgid "Move Favorite Up"
+msgid "Next Directory"
 msgstr ""
 
 #: tools/editor/scenes_dock.cpp
-msgid "Move Favorite Down"
+msgid "Re-Scan Filesystem"
 msgstr ""
 
 #: tools/editor/scenes_dock.cpp
@@ -2217,11 +2253,11 @@ msgid "Assets ZIP File"
 msgstr ""
 
 #: tools/editor/editor_node.cpp
-msgid "Node From Scene"
+msgid "Importing:"
 msgstr ""
 
 #: tools/editor/editor_node.cpp
-msgid "Re-Import.."
+msgid "Node From Scene"
 msgstr ""
 
 #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp
@@ -2285,10 +2321,6 @@ msgstr ""
 msgid "Loading Export Templates"
 msgstr ""
 
-#: tools/editor/editor_node.cpp
-msgid "Importing:"
-msgstr ""
-
 #: tools/editor/editor_node.cpp
 msgid "Error trying to save layout!"
 msgstr ""
@@ -2557,6 +2589,10 @@ msgstr ""
 msgid "Play the project (F5)."
 msgstr ""
 
+#: tools/editor/editor_node.cpp
+msgid "Pause the scene"
+msgstr ""
+
 #: tools/editor/editor_node.cpp
 msgid "Stop the scene (F8)."
 msgstr ""
@@ -3029,6 +3065,10 @@ msgstr ""
 msgid "Duplicate"
 msgstr ""
 
+#: tools/editor/scene_tree_dock.cpp
+msgid "Merge From Scene"
+msgstr ""
+
 #: tools/editor/scene_tree_dock.cpp
 msgid "Save Branch as Scene"
 msgstr ""
@@ -3084,22 +3124,18 @@ msgid "Delete Sample"
 msgstr ""
 
 #: tools/editor/plugins/sample_library_editor_plugin.cpp
-#: tools/editor/plugins/sample_editor_plugin.cpp
 msgid "16 Bits"
 msgstr ""
 
 #: tools/editor/plugins/sample_library_editor_plugin.cpp
-#: tools/editor/plugins/sample_editor_plugin.cpp
 msgid "8 Bits"
 msgstr ""
 
 #: tools/editor/plugins/sample_library_editor_plugin.cpp
-#: tools/editor/plugins/sample_editor_plugin.cpp
 msgid "Stereo"
 msgstr ""
 
 #: tools/editor/plugins/sample_library_editor_plugin.cpp
-#: tools/editor/plugins/sample_editor_plugin.cpp
 msgid "Mono"
 msgstr ""
 
@@ -4311,6 +4347,30 @@ msgstr ""
 msgid "Post"
 msgstr ""
 
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Error while saving theme"
+msgstr ""
+
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Error saving"
+msgstr ""
+
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Error importing theme"
+msgstr ""
+
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Error importing"
+msgstr ""
+
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Import Theme"
+msgstr ""
+
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Save Theme As.."
+msgstr ""
+
 #: tools/editor/plugins/script_editor_plugin.cpp
 msgid "Save All"
 msgstr ""
@@ -4323,6 +4383,18 @@ msgstr ""
 msgid "History Next"
 msgstr ""
 
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Reload Theme"
+msgstr ""
+
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Save Theme"
+msgstr ""
+
+#: tools/editor/plugins/script_editor_plugin.cpp
+msgid "Save Theme As"
+msgstr ""
+
 #: tools/editor/plugins/script_editor_plugin.cpp
 msgid "Indent Left"
 msgstr ""
@@ -4445,10 +4517,6 @@ msgstr ""
 msgid "Length:"
 msgstr ""
 
-#: tools/editor/plugins/sample_editor_plugin.cpp
-msgid "%d frames"
-msgstr ""
-
 #: tools/editor/plugins/shader_graph_editor_plugin.cpp
 msgid "Change Scalar Constant"
 msgstr ""
@@ -4578,6 +4646,74 @@ msgstr ""
 msgid "Add Shader Graph Node"
 msgstr ""
 
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Mesh is empty!"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Static Trimesh Body"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Static Convex Body"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "This doesn't work on scene root!"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Trimesh Shape"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Convex Shape"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Navigation Mesh"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "MeshInstance lacks a Mesh!"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Could not create outline!"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Outline"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Trimesh Static Body"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Convex Static Body"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Trimesh Collision Sibling"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Convex Collision Sibling"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Outline Mesh.."
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Create Outline Mesh"
+msgstr ""
+
+#: tools/editor/plugins/mesh_instance_editor_plugin.cpp
+msgid "Outline Size:"
+msgstr ""
+
 #: tools/editor/plugins/polygon_2d_editor_plugin.cpp
 msgid "Create UV Map"
 msgstr ""
@@ -4944,74 +5080,6 @@ msgstr ""
 msgid "Close Curve"
 msgstr ""
 
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Mesh is empty!"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Static Trimesh Body"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Static Convex Body"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "This doesn't work on scene root!"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Trimesh Shape"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Convex Shape"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Navigation Mesh"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "MeshInstance lacks a Mesh!"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Could not create outline!"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Outline"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Trimesh Static Body"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Convex Static Body"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Trimesh Collision Sibling"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Convex Collision Sibling"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Outline Mesh.."
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Create Outline Mesh"
-msgstr ""
-
-#: tools/editor/plugins/mesh_editor_plugin.cpp
-msgid "Outline Size:"
-msgstr ""
-
 #: tools/editor/plugins/tile_set_editor_plugin.cpp
 msgid "Could not find tile:"
 msgstr ""
@@ -5084,13 +5152,6 @@ msgstr ""
 msgid "Texture Options"
 msgstr ""
 
-#: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid ""
-"NOTICE: You are not forced to import textures for 2D projects. Just copy "
-"your .jpg or .png files to your project, and change export options later. "
-"Atlases can be generated on export too."
-msgstr ""
-
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
 msgid "Please specify some files!"
 msgstr ""
@@ -5126,67 +5187,89 @@ msgid "Only one file is required for large texture."
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Import Textures"
+msgid "Max Texture Size:"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Source Texture:"
+msgid "Import Textures for Atlas (2D)"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Source Texture(s):"
+msgid "Cell Size:"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Crop empty space."
+msgid "Large Texture"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-#: tools/editor/io_plugins/editor_translation_import_plugin.cpp
-#: tools/editor/io_plugins/editor_scene_import_plugin.cpp
-#: tools/editor/io_plugins/editor_sample_import_plugin.cpp
-#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp
-msgid "Target Path:"
+msgid "Import Large Textures (2D)"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Max Texture Size:"
+msgid "Source Texture"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Cell Size:"
+msgid "Base Atlas Texture"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Large Texture"
+msgid "Source Texture(s)"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Base Atlas Texture"
+msgid "Import Textures for 2D"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-#: tools/editor/io_plugins/editor_translation_import_plugin.cpp
-#: tools/editor/io_plugins/editor_scene_import_plugin.cpp
-#: tools/editor/io_plugins/editor_font_import_plugin.cpp
-#: tools/editor/io_plugins/editor_sample_import_plugin.cpp
-msgid "Accept"
+msgid "Import Textures for 3D"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Import Textures for Atlas (2D)"
+msgid "Import Textures"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Import Large Textures (2D)"
+msgid "2D Texture"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Import Textures for 2D"
+msgid "3D Texture"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
-msgid "Import Textures for 3D"
+msgid "Atlas Texture"
+msgstr ""
+
+#: tools/editor/io_plugins/editor_texture_import_plugin.cpp
+msgid ""
+"NOTICE: Importing 2D textures is not mandatory. Just copy png/jpg files to "
+"the project."
+msgstr ""
+
+#: tools/editor/io_plugins/editor_texture_import_plugin.cpp
+msgid "Source Texture(s):"
+msgstr ""
+
+#: tools/editor/io_plugins/editor_texture_import_plugin.cpp
+msgid "Crop empty space."
+msgstr ""
+
+#: tools/editor/io_plugins/editor_texture_import_plugin.cpp
+#: tools/editor/io_plugins/editor_translation_import_plugin.cpp
+#: tools/editor/io_plugins/editor_scene_import_plugin.cpp
+#: tools/editor/io_plugins/editor_sample_import_plugin.cpp
+#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp
+msgid "Target Path:"
+msgstr ""
+
+#: tools/editor/io_plugins/editor_texture_import_plugin.cpp
+#: tools/editor/io_plugins/editor_translation_import_plugin.cpp
+#: tools/editor/io_plugins/editor_scene_import_plugin.cpp
+#: tools/editor/io_plugins/editor_font_import_plugin.cpp
+#: tools/editor/io_plugins/editor_sample_import_plugin.cpp
+msgid "Accept"
 msgstr ""
 
 #: tools/editor/io_plugins/editor_texture_import_plugin.cpp
@@ -5392,6 +5475,10 @@ msgstr ""
 msgid "Post-Process Script:"
 msgstr ""
 
+#: tools/editor/io_plugins/editor_scene_import_plugin.cpp
+msgid "Custom Root Node Type:"
+msgstr ""
+
 #: tools/editor/io_plugins/editor_scene_import_plugin.cpp
 msgid "Overwrite Existing Scene"
 msgstr ""
@@ -5468,10 +5555,6 @@ msgstr ""
 msgid "Couldn't localize path: %s (already local)"
 msgstr ""
 
-#: tools/editor/io_plugins/editor_scene_import_plugin.cpp
-msgid "Merging.."
-msgstr ""
-
 #: tools/editor/io_plugins/editor_scene_import_plugin.cpp
 msgid "Saving.."
 msgstr ""