diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2024-01-23 18:29:45 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2024-02-15 16:51:19 -0300 |
commit | 7b42c245509d1b4c325ff073cb9ef2011000dea7 (patch) | |
tree | 884d96d9e6aa4e7347f5e6616408e9a79d49954c /editor/project_manager | |
parent | 6f805dee2a0d9d23a8365de0331479c8846bf298 (diff) | |
download | redot-engine-7b42c245509d1b4c325ff073cb9ef2011000dea7.tar.gz |
Make auto translation inheritable
Diffstat (limited to 'editor/project_manager')
-rw-r--r-- | editor/project_manager/project_list.cpp | 2 | ||||
-rw-r--r-- | editor/project_manager/project_tag.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/project_manager/project_list.cpp b/editor/project_manager/project_list.cpp index 67aaa85501..234390c136 100644 --- a/editor/project_manager/project_list.cpp +++ b/editor/project_manager/project_list.cpp @@ -238,7 +238,7 @@ ProjectListItemControl::ProjectListItemControl() { main_vbox->add_child(title_hb); project_title = memnew(Label); - project_title->set_auto_translate(false); + project_title->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); project_title->set_name("ProjectName"); project_title->set_h_size_flags(Control::SIZE_EXPAND_FILL); project_title->set_clip_text(true); diff --git a/editor/project_manager/project_tag.cpp b/editor/project_manager/project_tag.cpp index de9213177b..8fb05b549e 100644 --- a/editor/project_manager/project_tag.cpp +++ b/editor/project_manager/project_tag.cpp @@ -66,7 +66,7 @@ ProjectTag::ProjectTag(const String &p_text, bool p_display_close) { button = memnew(Button); add_child(button); - button->set_auto_translate(false); + button->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); button->set_text(p_text.capitalize()); button->set_focus_mode(FOCUS_NONE); button->set_icon_alignment(HORIZONTAL_ALIGNMENT_RIGHT); |