Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
117bc4a9
Commit
117bc4a9
authored
9 years ago
by
Ned Batchelder
Browse files
Options
Downloads
Plain Diff
Merge pull request #9216 from edx/ned/speed-i18n-extract
Ignore more directories to speed up extracting i18n strings.
parents
1a251a49
2300f382
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conf/locale/config.yaml
+20
-4
20 additions, 4 deletions
conf/locale/config.yaml
lms/djangoapps/courseware/features/video.py
+1
-2
1 addition, 2 deletions
lms/djangoapps/courseware/features/video.py
with
21 additions
and
6 deletions
conf/locale/config.yaml
+
20
−
4
View file @
117bc4a9
...
...
@@ -90,12 +90,28 @@ dummy_locales:
# Directories we don't search for strings.
ignore_dirs
:
-
docs
-
src
-
i18n
-
test_root
-
common/static/xmodule/modules
-
common/static/xmodule/descriptors
# Directories with no user-facing code.
-
'
*/migrations'
# Directories that are not our code.
-
common/static/js/vendor/mathjax-MathJax-c9db6ac
-
node_modules
# Directories containing files that can't have strings in them.
-
conf
-
docs
-
'
*/fonts'
-
'
*/img'
-
'
*/images'
-
'
*/sass'
-
'
*/css'
# Directories that only contain tests.
-
common/test
-
test_root
-
'
*/terrain'
-
'
*/spec'
-
'
*/tests'
-
'
*/features'
# Third-party installed apps that we also extract strings from. When adding a
...
...
This diff is collapsed.
Click to expand it.
lms/djangoapps/courseware/features/video.py
+
1
−
2
View file @
117bc4a9
...
...
@@ -8,7 +8,6 @@ import time
import
requests
from
nose.tools
import
assert_equal
,
assert_true
,
assert_false
from
common
import
i_am_registered_for_the_course
,
visit_scenario_item
from
django.utils.translation
import
ugettext
as
_
from
django.conf
import
settings
from
cache_toolbox.core
import
del_cached_content
from
xmodule.contentstore.content
import
StaticContent
...
...
@@ -432,7 +431,7 @@ def error_message_is_shown(_step):
@step
(
'
error message has correct text$
'
)
def
error_message_has_correct_text
(
_step
):
selector
=
'
.video .video-player h3
'
text
=
_
(
'
ERROR: No playable video sources found!
'
)
text
=
'
ERROR: No playable video sources found!
'
assert
world
.
css_has_text
(
selector
,
text
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment