mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix some easing presets not translated
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
This commit is contained in:
parent
295e465fe4
commit
b9f7f2d767
2 changed files with 32 additions and 11 deletions
|
|
@ -8280,10 +8280,10 @@ AnimationTrackEditor::AnimationTrackEditor() {
|
|||
transition_selection->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); // Translation context is needed.
|
||||
ease_selection = memnew(OptionButton);
|
||||
ease_selection->set_accessibility_name(TTRC("Ease Type:"));
|
||||
ease_selection->add_item(TTR("In", "Ease Type"), Tween::EASE_IN);
|
||||
ease_selection->add_item(TTR("Out", "Ease Type"), Tween::EASE_OUT);
|
||||
ease_selection->add_item(TTR("InOut", "Ease Type"), Tween::EASE_IN_OUT);
|
||||
ease_selection->add_item(TTR("OutIn", "Ease Type"), Tween::EASE_OUT_IN);
|
||||
ease_selection->add_item(TTR("Ease In", "Ease Type"), Tween::EASE_IN);
|
||||
ease_selection->add_item(TTR("Ease Out", "Ease Type"), Tween::EASE_OUT);
|
||||
ease_selection->add_item(TTR("Ease In-Out", "Ease Type"), Tween::EASE_IN_OUT);
|
||||
ease_selection->add_item(TTR("Ease Out-In", "Ease Type"), Tween::EASE_OUT_IN);
|
||||
ease_selection->select(Tween::EASE_IN_OUT); // Default
|
||||
ease_selection->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); // Translation context is needed.
|
||||
ease_fps = memnew(SpinBox);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue