diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2016-05-21 22:34:55 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2016-05-21 22:34:55 -0300 |
| commit | eacb8f04c4697b8123afeec03088eebb3c4b20bd (patch) | |
| tree | 8070f7807ec5d6a375df7184b151abbee8790608 /tools/editor/plugins/theme_editor_plugin.cpp | |
| parent | a75f8963380a1f6ae8501f21a1d3f3bef8a89d91 (diff) | |
| parent | 4c4d79e3c98182faf348f41f98d1cc3e5d843e69 (diff) | |
| download | redot-engine-eacb8f04c4697b8123afeec03088eebb3c4b20bd.tar.gz | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'tools/editor/plugins/theme_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/theme_editor_plugin.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/editor/plugins/theme_editor_plugin.cpp b/tools/editor/plugins/theme_editor_plugin.cpp index 3c394ab6ac..37cb0398e7 100644 --- a/tools/editor/plugins/theme_editor_plugin.cpp +++ b/tools/editor/plugins/theme_editor_plugin.cpp @@ -199,7 +199,7 @@ void ThemeEditor::_save_template_cbk(String fname) { if (!file) { - ERR_EXPLAIN(TTR("Can't save theme to file: ")+filename); + ERR_EXPLAIN(TTR("Can't save theme to file:")+" "+filename); return; } file->store_line("; ******************* "); @@ -398,7 +398,7 @@ void ThemeEditor::_dialog_cbk() { } - } break; + } break; case POPUP_CLASS_REMOVE: { StringName fromtype = type_edit->get_text(); List<StringName> names; @@ -599,7 +599,7 @@ ThemeEditor::ThemeEditor() { theme_menu->get_popup()->add_item(TTR("Add Item"),POPUP_ADD); theme_menu->get_popup()->add_item(TTR("Add Class Items"),POPUP_CLASS_ADD); theme_menu->get_popup()->add_item(TTR("Remove Item"),POPUP_REMOVE); - theme_menu->get_popup()->add_item("Remove Class Items",POPUP_CLASS_REMOVE); + theme_menu->get_popup()->add_item(TTR("Remove Class Items"),POPUP_CLASS_REMOVE); theme_menu->get_popup()->add_separator(); theme_menu->get_popup()->add_item(TTR("Create Template"),POPUP_CREATE_TEMPLATE); hb_menu->add_child(theme_menu); @@ -757,7 +757,7 @@ ThemeEditor::ThemeEditor() { line_edit = memnew( LineEdit ); line_edit->set_pos( Point2( 25, 275 ) ); line_edit->set_size( Point2( 150, 5 ) ); - line_edit->set_text(TTR("Line Edit")); + line_edit->set_text("Line Edit"); panel->add_child(line_edit); test_v_scroll = memnew( VScrollBar ); @@ -786,12 +786,12 @@ ThemeEditor::ThemeEditor() { item = test_tree->create_item( test_tree->get_root() ); item->set_cell_mode(0, TreeItem::CELL_MODE_RANGE); item->set_editable(0,true); - item->set_text(0,TTR("Have,Many,Several,Options!")); + item->set_text(0,"Have,Many,Several,Options!")); item->set_range(0,2); Button *fd_button= memnew( Button ); fd_button->set_pos(Point2(300,275)); - fd_button->set_text(TTR("Open File Dialog")); + fd_button->set_text("Open File Dialog"); panel->add_child(fd_button); test_file_dialog = memnew( EditorFileDialog ); @@ -852,8 +852,8 @@ ThemeEditor::ThemeEditor() { type_select = memnew( OptionButton ); type_select->add_item(TTR("Icon")); type_select->add_item(TTR("Style")); - type_select->add_item("Font"); - type_select->add_item("Color"); + type_select->add_item(TTR("Font")); + type_select->add_item(TTR("Color")); type_select->add_item(TTR("Constant")); type_select->set_pos( Point2( 400,25 ) ); type_select->set_size( Point2( 80,5 ) ); |
