summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-04 14:35:51 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-04 14:35:51 +0200
commit299d23aa0828afdbc00c232097ff239162cd7eb7 (patch)
tree126110ae3a8a9b39de79438d429e5c83358185b9 /editor
parent8c935c8410581f349a8d2dbcedb655914fdc901e (diff)
parent1e4c7c8a57724075270eafc6b7dbced457cfe2d1 (diff)
downloadredot-engine-299d23aa0828afdbc00c232097ff239162cd7eb7.tar.gz
Merge pull request #89987 from Calinou/editor-asset-library-rename-official-support-level
Rename Official support level to Featured in the editor asset library
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp8
-rw-r--r--editor/plugins/asset_library_editor_plugin.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp
index 559befe5a4..7db5a4eddf 100644
--- a/editor/plugins/asset_library_editor_plugin.cpp
+++ b/editor/plugins/asset_library_editor_plugin.cpp
@@ -766,13 +766,13 @@ const char *EditorAssetLibrary::sort_text[SORT_MAX] = {
};
const char *EditorAssetLibrary::support_key[SUPPORT_MAX] = {
- "official",
+ "official", // Former name for the Featured support level (still used on the API backend).
"community",
"testing",
};
const char *EditorAssetLibrary::support_text[SUPPORT_MAX] = {
- TTRC("Official"),
+ TTRC("Featured"),
TTRC("Community"),
TTRC("Testing"),
};
@@ -1674,10 +1674,10 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
search_hb2->add_child(support);
support->set_text(TTR("Support"));
support->get_popup()->set_hide_on_checkable_item_selection(false);
- support->get_popup()->add_check_item(TTRGET(support_text[SUPPORT_OFFICIAL]), SUPPORT_OFFICIAL);
+ support->get_popup()->add_check_item(TTRGET(support_text[SUPPORT_FEATURED]), SUPPORT_FEATURED);
support->get_popup()->add_check_item(TTRGET(support_text[SUPPORT_COMMUNITY]), SUPPORT_COMMUNITY);
support->get_popup()->add_check_item(TTRGET(support_text[SUPPORT_TESTING]), SUPPORT_TESTING);
- support->get_popup()->set_item_checked(SUPPORT_OFFICIAL, true);
+ support->get_popup()->set_item_checked(SUPPORT_FEATURED, true);
support->get_popup()->set_item_checked(SUPPORT_COMMUNITY, true);
support->get_popup()->connect("id_pressed", callable_mp(this, &EditorAssetLibrary::_support_toggled));
diff --git a/editor/plugins/asset_library_editor_plugin.h b/editor/plugins/asset_library_editor_plugin.h
index 16b784d629..cb38933bf4 100644
--- a/editor/plugins/asset_library_editor_plugin.h
+++ b/editor/plugins/asset_library_editor_plugin.h
@@ -225,7 +225,7 @@ class EditorAssetLibrary : public PanelContainer {
void _force_online_mode();
enum Support {
- SUPPORT_OFFICIAL,
+ SUPPORT_FEATURED,
SUPPORT_COMMUNITY,
SUPPORT_TESTING,
SUPPORT_MAX