Fix missing i18n for some editor strings

This commit is contained in:
Haoyu Qiu
2024-03-23 22:39:49 +08:00
parent 29b3d9e9e5
commit 91204f6f3f
7 changed files with 11 additions and 11 deletions

View File

@@ -196,7 +196,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);
@@ -233,7 +233,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);