Skip to content

Commit fd7e094

Browse files
author
alenkadev
committed
fix: this change to close the build-time pull gap
1 parent ba1cc09 commit fd7e094

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

openedx/core/djangoapps/plugins/i18n_api.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,17 @@ def get_installed_plugins_module_names():
160160
root_modules = defaultdict(set)
161161

162162
for entry_point in entry_points():
163+
print("entry point: ", entry_point)
163164
module_name = entry_point.value
164165
root_module = module_name.split('.')[0] # e.g. `edx_sga` from `edx_sga.core.xblock`
165166
root_modules[entry_point.group].add(root_module)
166167

167168
return (
168-
# Return all lms.djangopapp and cms.djangoapp plugins
169-
(root_modules['lms.djangoapp'] | root_modules['cms.djangoapp'])
169+
# Return all lms.djangopapp, cms.djangoapp and openedx.proctoring plugins.
170+
# The openedx.proctoring group covers proctoring backends (e.g.
171+
# edx-proctoring-proctortrack), which are not registered as edx-platform
172+
# django app plugins but still ship their own conf/locale translations.
173+
(root_modules['lms.djangoapp'] | root_modules['cms.djangoapp'] | root_modules['openedx.proctoring'])
170174
# excluding the edx-platform built-in plugins which don't need atlas
171175
- {'lms', 'cms', 'common', 'openedx', 'xmodule'}
172176
# excluding XBlocks, which is handled by `pull_xblock_translations` command

0 commit comments

Comments
 (0)