diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-02-22 09:58:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-22 09:58:51 +0100 |
commit | 0c7c800880eb45f6a152dda02c3c830c3a8ce1be (patch) | |
tree | 1a97959814b82cee4832a53223dc715eedb35f7e /editor/plugins/spatial_editor_plugin.cpp | |
parent | 7e69c160a4b7180b9dfe7479da9209ad458bb838 (diff) | |
parent | 3ef8238c1cd01be1be681f70c2c22ef5989efebd (diff) |
Merge pull request #26133 from YeldhamDev/ttr_undoredo_actions
Make translatable some undo/redo operations in the editor
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index f578d5037d..1e9ff87fd3 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -2546,7 +2546,7 @@ void SpatialEditorViewport::_menu_option(int p_option) { List<Node *> &selection = editor_selection->get_selected_node_list(); - undo_redo->create_action(TTR("Align with view")); + undo_redo->create_action(TTR("Align with View")); for (List<Node *>::Element *E = selection.front(); E; E = E->next()) { Spatial *sp = Object::cast_to<Spatial>(E->get()); @@ -5055,7 +5055,7 @@ void SpatialEditor::snap_selected_nodes_to_floor() { Array keys = snap_data.keys(); if (keys.size()) { - undo_redo->create_action("Snap Nodes To Floor"); + undo_redo->create_action(TTR("Snap Nodes To Floor")); for (int i = 0; i < keys.size(); i++) { Node *node = keys[i]; |