Make translatable some undo/redo operations in the editor

This commit is contained in:
Michael Alexsander Silva Dias 2019-02-21 16:41:01 -03:00
parent a01dca79e2
commit 3ef8238c1c
17 changed files with 90 additions and 90 deletions

View file

@ -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];