Skip to content

Commit

Permalink
Segregate learner account settings strings.
Browse files Browse the repository at this point in the history
This would let the team order translations for the beta language message
to ensure that it remains translated for a wide set of partially supported
languages.

LEARNER-4304
  • Loading branch information
waheedahmed committed Feb 26, 2019
1 parent 0857a1c commit 375f1c0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ source_file = conf/locale/en/LC_MESSAGES/djangojs-studio.po
source_lang = en
type = PO

[edx-platform.djangojs-account-settings-view]
file_filter = conf/locale/<lang>/LC_MESSAGES/djangojs-account-settings-view.po
source_file = conf/locale/en/LC_MESSAGES/djangojs-account-settings-view.po
source_lang = en
type = PO

[edx-platform.mako]
file_filter = conf/locale/<lang>/LC_MESSAGES/mako.po
source_file = conf/locale/en/LC_MESSAGES/mako.po
Expand Down
5 changes: 5 additions & 0 deletions conf/locale/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ segment:
djangojs-partial.po:
djangojs-studio.po:
- cms/*
djangojs-account-settings-view.po:
- lms/static/js/student_account/views/account_settings_view.js
# Segregating student account settings view strings, so that beta language message
# can be translated for wide set of partially supported languages.
mako.po:
mako-studio.po:
- cms/*
Expand All @@ -176,5 +180,6 @@ generate_merge:
djangojs.po:
- djangojs-partial.po
- djangojs-studio.po
- djangojs-account-settings-view.po
- underscore.po
- underscore-studio.po

0 comments on commit 375f1c0

Please sign in to comment.