mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Turn off auto translate for some editor controls
* Scene tab
* Animation name list in Animation panel
* Feature profile name list in Editor Feature Profile dialog
* Layout names in editor layout menu
* Subresource list in Inspector dock
* Resource type shown in EditorResourcePicker
* Enum dropdowns in inspectors: We'll eventually allow auto translating
these after implementing a way to opt-out auto translation on a
property-by-property basis and a way to extract enumerators.
(cherry picked from commit 26553be424)
This commit is contained in:
parent
506734cae1
commit
c58bc21dba
6 changed files with 10 additions and 0 deletions
|
|
@ -1749,6 +1749,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug
|
|||
animation->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
animation->set_tooltip_text(TTR("Display list of animations in player."));
|
||||
animation->set_clip_text(true);
|
||||
animation->set_auto_translate(false);
|
||||
|
||||
autoplay = memnew(Button);
|
||||
autoplay->set_flat(true);
|
||||
|
|
@ -1848,6 +1849,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug
|
|||
blend_editor.tree->set_columns(2);
|
||||
blend_vb->add_margin_child(TTR("Blend Times:"), blend_editor.tree, true);
|
||||
blend_editor.next = memnew(OptionButton);
|
||||
blend_editor.next->set_auto_translate(false);
|
||||
blend_vb->add_margin_child(TTR("Next (Auto Queue):"), blend_editor.next);
|
||||
blend_editor.dialog->set_title(TTR("Cross-Animation Blend Times"));
|
||||
updating_blends = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue