feat: finish i18n extract work

- masically finish u18n extract work (most fields are extracted)
This commit is contained in:
yyc12345 committed 2025-01-12 15:15:29 +08:00
1 parent 4ffe29654b
commit 04aa879c22
22 files changed
+255 -172

No files matched your search

+6 -3
View File
@@ -82,11 +82,14 @@ def _rename_core(
reporter.leave_object(obj)
# report data
tr_text_1: str = bpy.app.translations.pgettext_rpt('View console to get more detail', 'BBP/OP_OBJECT_naming_convention._rename_core()')
tr_text_2: str = bpy.app.translations.pgettext_rpt('All: {0}', 'BBP/OP_OBJECT_naming_convention._rename_core()')
tr_text_3: str = bpy.app.translations.pgettext_rpt('Failed: {0}', 'BBP/OP_OBJECT_naming_convention._rename_core()')
UTIL_functions.message_box(
(
'View console to get more detail',
f'All: {reporter.get_all_objs_count()}',
f'Failed: {reporter.get_failed_objs_count()}'
tr_text_1,
tr_text_2.format(reporter.get_all_objs_count()),
tr_text_3.format(reporter.get_failed_objs_count())
),
'Rename System Report',
UTIL_icons_manager.BlenderPresetIcons.Info.value