UI: Rename "No Catalog" node assets menus to "Unassigned"

After discussion with module members, it was agreed that "Unassigned"
was better because the word is already used in the asset browser, and
because it sounds more natural.
This commit is contained in:
Hans Goudey
2023-09-22 13:38:54 -04:00
parent 70ffc7a2de
commit 0e1aca735a
3 changed files with 3 additions and 3 deletions

View File

@@ -786,7 +786,7 @@ void ui_template_node_operator_asset_root_items(uiLayout &layout, bContext &C)
if (!tree->unassigned_assets.is_empty()) {
uiItemM(&layout,
"GEO_MT_node_operator_catalog_assets_unassigned",
IFACE_("No Catalog"),
IFACE_("Unassigned"),
ICON_NONE);
}
}

View File

@@ -195,7 +195,7 @@ static void root_catalogs_draw(const bContext *C, Menu *menu)
if (!tree.unassigned_assets.is_empty()) {
uiItemS(layout);
uiItemM(layout, "OBJECT_MT_add_modifier_unassigned_assets", IFACE_("No Catalog"), ICON_NONE);
uiItemM(layout, "OBJECT_MT_add_modifier_unassigned_assets", IFACE_("Unassigned"), ICON_NONE);
}
}

View File

@@ -216,7 +216,7 @@ static void add_root_catalogs_draw(const bContext *C, Menu *menu)
if (!tree.unassigned_assets.is_empty()) {
uiItemS(layout);
uiItemM(layout, "NODE_MT_node_add_unassigned_assets", IFACE_("No Catalog"), ICON_NONE);
uiItemM(layout, "NODE_MT_node_add_unassigned_assets", IFACE_("Unassigned"), ICON_NONE);
}
}