You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Merge pull request #87530 from YeldhamDev/atr_inheritance
Rework the auto translation system
This commit is contained in:
@@ -7143,14 +7143,14 @@ AnimationTrackEditor::AnimationTrackEditor() {
|
||||
transition_selection->add_item(TTR("Back", "Transition Type"), Tween::TRANS_BACK);
|
||||
transition_selection->add_item(TTR("Spring", "Transition Type"), Tween::TRANS_SPRING);
|
||||
transition_selection->select(Tween::TRANS_LINEAR); // Default
|
||||
transition_selection->set_auto_translate(false); // Translation context is needed.
|
||||
transition_selection->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); // Translation context is needed.
|
||||
ease_selection = memnew(OptionButton);
|
||||
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->select(Tween::EASE_IN_OUT); // Default
|
||||
ease_selection->set_auto_translate(false); // Translation context is needed.
|
||||
ease_selection->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); // Translation context is needed.
|
||||
ease_fps = memnew(SpinBox);
|
||||
ease_fps->set_min(1);
|
||||
ease_fps->set_max(999);
|
||||
|
||||
Reference in New Issue
Block a user