summaryrefslogtreecommitdiffstats
path: root/editor/groups_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/groups_editor.cpp')
-rw-r--r--editor/groups_editor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/groups_editor.cpp b/editor/groups_editor.cpp
index 1a229d5f3c..c4e38b327a 100644
--- a/editor/groups_editor.cpp
+++ b/editor/groups_editor.cpp
@@ -200,7 +200,7 @@ void GroupsEditor::_update_tree() {
TreeItem *root = tree->create_item();
TreeItem *local_root = tree->create_item(root);
- local_root->set_text(0, "Scene Groups");
+ local_root->set_text(0, TTR("Scene Groups"));
local_root->set_icon(0, get_editor_theme_icon(SNAME("PackedScene")));
local_root->set_custom_bg_color(0, get_theme_color(SNAME("prop_subsection"), SNAME("Editor")));
local_root->set_selectable(0, false);
@@ -237,7 +237,7 @@ void GroupsEditor::_update_tree() {
keys.sort_custom<NoCaseComparator>();
TreeItem *global_root = tree->create_item(root);
- global_root->set_text(0, "Global Groups");
+ global_root->set_text(0, TTR("Global Groups"));
global_root->set_icon(0, get_editor_theme_icon(SNAME("Environment")));
global_root->set_custom_bg_color(0, get_theme_color(SNAME("prop_subsection"), SNAME("Editor")));
global_root->set_selectable(0, false);
@@ -846,6 +846,7 @@ GroupsEditor::GroupsEditor() {
hbc->add_child(filter);
tree = memnew(Tree);
+ tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
tree->set_hide_root(true);
tree->set_v_size_flags(SIZE_EXPAND_FILL);
tree->set_allow_rmb_select(true);