Skip to content

Commit

Permalink
Update JS translation strings for Ginkgo
Browse files Browse the repository at this point in the history
  • Loading branch information
kluo committed Sep 25, 2018
1 parent 4d59deb commit 8dfb41e
Show file tree
Hide file tree
Showing 9 changed files with 450 additions and 1,707 deletions.
13 changes: 1 addition & 12 deletions conf/locale/stanford_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,10 @@ ignore_dirs:
- '*/terrain'
- '*/spec'
- '*/tests'
- '*/features'
- '*/djangoapps/*/features'
# Directories full of auto-generated JS
- lms/static/js/i18n
- cms/static/js/i18n
# Features not used by Stanford
- 'cms'
- 'common/djangoapps/course_mode'
- '*/management/commands'
- 'common/djangoapps/xblock_django'
- 'lms/djangoapps/dashboard'
- 'lms/djangoapps/instructor*'
- 'lms/djangoapps/teams'
- 'lms/templates/wiki'
- '*/word_cloud'
- 'openedx/stanford/lms/djangoapps/instructor'

# Third-party installed apps that we also extract strings from. When adding a
# file here, also add it to the django.po merge files below, and to the
Expand Down
16 changes: 0 additions & 16 deletions conf/locale/stanford_underscore.cfg

This file was deleted.

101 changes: 8 additions & 93 deletions lms/static/js/i18n/ar/djangojs.js

Large diffs are not rendered by default.

578 changes: 10 additions & 568 deletions lms/static/js/i18n/es-419/djangojs.js

Large diffs are not rendered by default.

99 changes: 37 additions & 62 deletions lms/static/js/i18n/mn/djangojs.js

Large diffs are not rendered by default.

683 changes: 121 additions & 562 deletions lms/static/js/i18n/ru/djangojs.js

Large diffs are not rendered by default.

191 changes: 34 additions & 157 deletions lms/static/js/i18n/vi/djangojs.js

Large diffs are not rendered by default.

474 changes: 238 additions & 236 deletions lms/static/js/i18n/zh-cn/djangojs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openedx/stanford/pavelib/utils/i18n_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def extract_platform_mako():


def extract_platform_underscore():
underscore_config = CONFIG.locale_dir / 'stanford_underscore.cfg'
underscore_config = CONFIG.locale_dir / 'babel_underscore.cfg'
underscore_file = CONFIG.source_messages_dir / 'stanford_underscore.po'
output = _extract_babel(underscore_config, underscore_file)
return output
Expand Down

0 comments on commit 8dfb41e

Please sign in to comment.