diff options
Diffstat (limited to 'editor/animation_bezier_editor.cpp')
-rw-r--r-- | editor/animation_bezier_editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/animation_bezier_editor.cpp b/editor/animation_bezier_editor.cpp index 565336701a..f6d4a2665c 100644 --- a/editor/animation_bezier_editor.cpp +++ b/editor/animation_bezier_editor.cpp @@ -758,7 +758,7 @@ void AnimationBezierTrackEdit::_gui_input(const Ref<InputEvent> &p_event) { time += 0.001; } - undo_redo->create_action("Add Bezier Point"); + undo_redo->create_action(TTR("Add Bezier Point")); undo_redo->add_do_method(animation.ptr(), "track_insert_key", track, time, new_point); undo_redo->add_undo_method(animation.ptr(), "track_remove_key_at_position", track, time); undo_redo->commit_action(); @@ -823,7 +823,7 @@ void AnimationBezierTrackEdit::_gui_input(const Ref<InputEvent> &p_event) { if (moving_handle != 0 && mb.is_valid() && !mb->is_pressed() && mb->get_button_index() == BUTTON_LEFT) { - undo_redo->create_action("Move Bezier Points"); + undo_redo->create_action(TTR("Move Bezier Points")); undo_redo->add_do_method(animation.ptr(), "bezier_track_set_key_in_handle", track, moving_handle_key, moving_handle_left); undo_redo->add_do_method(animation.ptr(), "bezier_track_set_key_out_handle", track, moving_handle_key, moving_handle_right); undo_redo->add_undo_method(animation.ptr(), "bezier_track_set_key_in_handle", track, moving_handle_key, animation->bezier_track_get_key_in_handle(track, moving_handle_key)); @@ -839,7 +839,7 @@ void AnimationBezierTrackEdit::_gui_input(const Ref<InputEvent> &p_event) { if (moving_selection) { //combit it - undo_redo->create_action("Move Bezier Points"); + undo_redo->create_action(TTR("Move Bezier Points")); List<AnimMoveRestore> to_restore; // 1-remove the keys @@ -1053,7 +1053,7 @@ void AnimationBezierTrackEdit::_menu_selected(int p_index) { time += 0.001; } - undo_redo->create_action("Add Bezier Point"); + undo_redo->create_action(TTR("Add Bezier Point")); undo_redo->add_do_method(animation.ptr(), "track_insert_key", track, time, new_point); undo_redo->add_undo_method(animation.ptr(), "track_remove_key_at_position", track, time); undo_redo->commit_action(); |