mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 20:51:14 +00:00
Make action names translatable
This commit is contained in:
parent
20d46c5b9e
commit
284c6c81eb
5 changed files with 18 additions and 12 deletions
|
|
@ -675,7 +675,7 @@ bool GridMapEditor::forward_spatial_input_event(Camera3D *p_camera, const Ref<In
|
|||
}
|
||||
|
||||
if (mb->get_button_index() == MOUSE_BUTTON_LEFT && input_action == INPUT_SELECT) {
|
||||
undo_redo->create_action("GridMap Selection");
|
||||
undo_redo->create_action(TTR("GridMap Selection"));
|
||||
undo_redo->add_do_method(this, "_set_selection", selection.active, selection.begin, selection.end);
|
||||
undo_redo->add_undo_method(this, "_set_selection", last_selection.active, last_selection.begin, last_selection.end);
|
||||
undo_redo->commit_action();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue