1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Fix some easing presets not translated

Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
This commit is contained in:
kobewi
2025-10-10 13:21:27 +02:00
parent 295e465fe4
commit b9f7f2d767
2 changed files with 32 additions and 11 deletions

View File

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