i18n: basically finish translation

This commit is contained in:
2025-01-20 22:38:29 +08:00
parent 5afbf679ed
commit 84f6baae6a
8 changed files with 341 additions and 503 deletions

View File

@ -246,9 +246,9 @@ class BBP_OT_add_component(bpy.types.Operator, ComponentSectorParam):
item_name: str = PROP_ballance_element.get_ballance_element_name(item)
cop = layout.operator(
BBP_OT_add_component.bl_idname, text = item_name,
BBP_OT_add_component.bl_idname,
text = item_name, text_ctxt = 'BBP_OT_add_component/property',
icon_value = UTIL_icons_manager.get_component_icon(item_name),
translate = False
)
cop.component_type = _g_EnumHelper_Component.to_selection(item)