Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a2f5e260
Commit
a2f5e260
authored
Nov 19, 2013
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1699 from edx/sarina/fix-i18n-rake
Declare PYTHONPATH in i18n:test rake task
parents
0b98f3c6
878097d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletions
+10
-1
cms/envs/dev.py
+4
-0
lms/envs/dev.py
+4
-0
rakelib/i18n.rake
+2
-1
No files found.
cms/envs/dev.py
View file @
a2f5e260
...
...
@@ -10,6 +10,10 @@ from logsettings import get_logger_config
DEBUG
=
True
USE_I18N
=
True
# For displaying the dummy text, we need to provide a language mapping.
LANGUAGES
=
(
(
'fr'
,
'Francais'
),
)
TEMPLATE_DEBUG
=
DEBUG
LOGGING
=
get_logger_config
(
ENV_ROOT
/
"log"
,
logging_env
=
"dev"
,
...
...
lms/envs/dev.py
View file @
a2f5e260
...
...
@@ -17,6 +17,10 @@ from logsettings import get_logger_config
DEBUG
=
True
USE_I18N
=
True
# For displaying the dummy text, we need to provide a language mapping.
LANGUAGES
=
(
(
'fr'
,
'Francais'
),
)
TEMPLATE_DEBUG
=
True
...
...
rakelib/i18n.rake
View file @
a2f5e260
...
...
@@ -67,7 +67,8 @@ namespace :i18n do
desc
"Run tests for the internationalization library"
task
:test
=>
"i18n:validate:gettext"
do
test
=
File
.
join
(
REPO_ROOT
,
"i18n"
,
"tests"
)
sh
(
"nosetests
#{
test
}
"
)
pythonpath_prefix
=
"PYTHONPATH=
#{
REPO_ROOT
}
/i18n:$PYTHONPATH"
sh
(
"
#{
pythonpath_prefix
}
nosetests
#{
test
}
"
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment