I18n: Translate "Unassigned Node Tools" tool node menu

The "Unassigned Node Tools" menu type is declared manually in a
function, and its label is not automatically translated. This commit
extracts it using `N_()`. Note that its description was already
extracted the same way.

Reported by Ye Gui in #43295.
This commit is contained in:
Damien Picard
2025-10-14 14:45:33 +02:00
committed by Bastien Montagne
parent 5e6ea2fa78
commit c36c103389

View File

@@ -1486,7 +1486,7 @@ static void catalog_assets_draw_unassigned(const bContext *C, Menu *menu)
MenuType node_group_operator_assets_menu_unassigned()
{
MenuType type{};
STRNCPY_UTF8(type.label, "Unassigned Node Tools");
STRNCPY_UTF8(type.label, N_("Unassigned Node Tools"));
STRNCPY_UTF8(type.idname, "GEO_MT_node_operator_unassigned");
type.poll = asset_menu_poll;
type.draw = catalog_assets_draw_unassigned;