aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/path_2d_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-05-19 00:08:12 +0200
committerRémi Verschelde2016-05-21 00:21:57 +0200
commit94c34ff8906935cf0a9ef5ad82c6755ee21bbd07 (patch)
tree91e569002a8b8fcfcd2c8d6ee5f1d5fa1d02f93e /tools/editor/plugins/path_2d_editor_plugin.cpp
parentbc8df8feaafd4e9ce0daa383f772ff111073c672 (diff)
downloadgodot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.tar.gz
godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.tar.zst
godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.zip
i18n: Proofreading of all strings
Done to ensure that no important identifiers are translatable, to fix compound strings using the new vformat() function, and some general English proofreading here and there.
Diffstat (limited to 'tools/editor/plugins/path_2d_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/path_2d_editor_plugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/plugins/path_2d_editor_plugin.cpp b/tools/editor/plugins/path_2d_editor_plugin.cpp
index 079ca3a33..0fab18390 100644
--- a/tools/editor/plugins/path_2d_editor_plugin.cpp
+++ b/tools/editor/plugins/path_2d_editor_plugin.cpp
@@ -622,7 +622,7 @@ Path2DEditor::Path2DEditor(EditorNode *p_editor) {
options = memnew( MenuButton );
add_child(options);
options->set_area_as_parent_rect();
- options->set_text(TTR("Polygon"));
+ options->set_text("Polygon");
//options->get_popup()->add_item(TTR("Parse BBCODE"),PARSE_BBCODE);
options->get_popup()->connect("item_pressed", this,"_menu_option");
#endif
@@ -636,7 +636,7 @@ Path2DEditor::Path2DEditor(EditorNode *p_editor) {
curve_edit->set_icon(CanvasItemEditor::get_singleton()->get_icon("CurveEdit","EditorIcons"));
curve_edit->set_toggle_mode(true);
curve_edit->set_focus_mode(Control::FOCUS_NONE);
- curve_edit->set_tooltip("Select Points\nShift+Drag: Select Control Points\n"+keycode_get_string(KEY_MASK_CMD)+"Click: Add Point\nRight Click: Delete Point.");
+ curve_edit->set_tooltip(TTR("Select Points")+"\n"+TTR("Shift+Drag: Select Control Points")+"\n"+keycode_get_string(KEY_MASK_CMD)+TTR("Click: Add Point")+"\n"+TTR("Right Click: Delete Point"));
curve_edit->connect("pressed",this,"_mode_selected",varray(MODE_EDIT));
base_hb->add_child(curve_edit);
curve_edit_curve = memnew( ToolButton );
@@ -650,14 +650,14 @@ Path2DEditor::Path2DEditor(EditorNode *p_editor) {
curve_create->set_icon(CanvasItemEditor::get_singleton()->get_icon("CurveCreate","EditorIcons"));
curve_create->set_toggle_mode(true);
curve_create->set_focus_mode(Control::FOCUS_NONE);
- curve_create->set_tooltip("Add Point (in empty space)\nSplit Segment (in curve).");
+ curve_create->set_tooltip(TTR("Add Point (in empty space)")+"\n"+TTR("Split Segment (in curve)"));
curve_create->connect("pressed",this,"_mode_selected",varray(MODE_CREATE));
base_hb->add_child(curve_create);
curve_del = memnew( ToolButton );
curve_del->set_icon(CanvasItemEditor::get_singleton()->get_icon("CurveDelete","EditorIcons"));
curve_del->set_toggle_mode(true);
curve_del->set_focus_mode(Control::FOCUS_NONE);
- curve_del->set_tooltip(TTR("Delete Point."));
+ curve_del->set_tooltip(TTR("Delete Point"));
curve_del->connect("pressed",this,"_mode_selected",varray(MODE_DELETE));
base_hb->add_child(curve_del);
curve_close = memnew( ToolButton );