Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 05da464

Browse files
author
Bastien Montagne
committed
I18N: Disable checks on original messages during extraction.
This has become way too much of a burden for the I18N team to deal with.
1 parent d2b8757 commit 05da464

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ui_translate/update_addon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def execute(self, context):
138138

139139
# Generate addon-specific messages (no need for another blender instance here, this should not have any
140140
# influence over the final result).
141-
pot = bl_extract_messages.dump_addon_messages(module_name, True, self.settings)
141+
pot = bl_extract_messages.dump_addon_messages(module_name, False, self.settings)
142142

143143
# Now (try to) get current i18n data from the addon...
144144
path = mod.__file__

ui_translate/update_repo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def execute(self, context):
7272
"--python",
7373
os.path.join(os.path.dirname(utils_i18n.__file__), "bl_extract_messages.py"),
7474
"--",
75+
"--no_checks",
7576
"--settings",
7677
self.settings.to_json(),
7778
)

0 commit comments

Comments
 (0)