diff options
| author | DimOkGamer | 2016-05-30 21:47:53 +0300 |
|---|---|---|
| committer | DimOkGamer | 2016-05-30 21:47:53 +0300 |
| commit | 0fc4f1bcf4daf4b6efbce3e76506d74c672db59a (patch) | |
| tree | 985997aee82b30871111994366bc37e3ab6a650c /tools/editor/plugins/spatial_editor_plugin.cpp | |
| parent | 405094c167b573d196faa40a0e13ef2d059333d9 (diff) | |
| download | godot-0fc4f1bcf4daf4b6efbce3e76506d74c672db59a.tar.gz godot-0fc4f1bcf4daf4b6efbce3e76506d74c672db59a.tar.zst godot-0fc4f1bcf4daf4b6efbce3e76506d74c672db59a.zip | |
Added more translatable strings in code. Updated template tools.pot.
also improved Russian localization.
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp index 55485d8c9..f32d0448a 100644 --- a/tools/editor/plugins/spatial_editor_plugin.cpp +++ b/tools/editor/plugins/spatial_editor_plugin.cpp @@ -3954,7 +3954,7 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { PopupMenu *p; transform_menu = memnew( MenuButton ); - transform_menu->set_text("Transform"); + transform_menu->set_text(TTR("Transform")); hbc_menu->add_child( transform_menu ); p = transform_menu->get_popup(); @@ -3979,12 +3979,12 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { p->add_check_item(TTR("Use Default sRGB"),MENU_VIEW_USE_DEFAULT_SRGB); p->add_separator(); - p->add_check_item("1 Viewport",MENU_VIEW_USE_1_VIEWPORT,KEY_MASK_CMD+KEY_1); - p->add_check_item("2 Viewports",MENU_VIEW_USE_2_VIEWPORTS,KEY_MASK_CMD+KEY_2); - p->add_check_item("2 Viewports (Alt)",MENU_VIEW_USE_2_VIEWPORTS_ALT,KEY_MASK_SHIFT+KEY_MASK_CMD+KEY_2); - p->add_check_item("3 Viewports",MENU_VIEW_USE_3_VIEWPORTS,KEY_MASK_CMD+KEY_3); - p->add_check_item("3 Viewports (Alt)",MENU_VIEW_USE_3_VIEWPORTS_ALT,KEY_MASK_SHIFT+KEY_MASK_CMD+KEY_3); - p->add_check_item("4 Viewports",MENU_VIEW_USE_4_VIEWPORTS,KEY_MASK_CMD+KEY_4); + p->add_check_item(TTR("1 Viewport"),MENU_VIEW_USE_1_VIEWPORT,KEY_MASK_CMD+KEY_1); + p->add_check_item(TTR("2 Viewports"),MENU_VIEW_USE_2_VIEWPORTS,KEY_MASK_CMD+KEY_2); + p->add_check_item(TTR("2 Viewports (Alt)"),MENU_VIEW_USE_2_VIEWPORTS_ALT,KEY_MASK_SHIFT+KEY_MASK_CMD+KEY_2); + p->add_check_item(TTR("3 Viewports"),MENU_VIEW_USE_3_VIEWPORTS,KEY_MASK_CMD+KEY_3); + p->add_check_item(TTR("3 Viewports (Alt)"),MENU_VIEW_USE_3_VIEWPORTS_ALT,KEY_MASK_SHIFT+KEY_MASK_CMD+KEY_3); + p->add_check_item(TTR("4 Viewports"),MENU_VIEW_USE_4_VIEWPORTS,KEY_MASK_CMD+KEY_4); p->add_separator(); p->add_check_item(TTR("Display Normal"),MENU_VIEW_DISPLAY_NORMAL); |
