Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
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
OpenEdx
edx-proctoring
Commits
77fc7024
Commit
77fc7024
authored
Jan 13, 2017
by
Andy Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support Django app directory structures
parent
f286bccc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
32 deletions
+25
-32
Makefile
+25
-21
edx_proctoring/locale/config.yaml
+0
-11
No files found.
Makefile
View file @
77fc7024
...
@@ -57,27 +57,6 @@ docs: ## generate Sphinx HTML documentation, including API docs
...
@@ -57,27 +57,6 @@ docs: ## generate Sphinx HTML documentation, including API docs
tox
-e
docs
tox
-e
docs
$(BROWSER)
docs/_build/html/index.html
$(BROWSER)
docs/_build/html/index.html
compile_translations
:
##
compile translation files
,
outputting .po files for each supported language
./manage.py compilemessages
dummy_translations
:
##
generate dummy translation (.po) files
i18n_tool dummy
--config
./edx_proctoring/locale/config.yaml
extract_translations
:
##
extract strings to be translated
,
outputting .mo files
rm
-rf
docs/_build
./manage.py makemessages
-l
en
-v1
-d
django
--ignore
=
"edx-proctoring/*"
./manage.py makemessages
-l
en
-v1
-d
djangojs
--ignore
=
"edx-proctoring/*"
fake_translations
:
extract_translations dummy_translations compile_translations
##
generate and compile dummy translation files
pull_translations
:
##
pull translations from Transifex
tx pull
-a
push_translations
:
##
push source translation files (.po) from Transifex
tx push
-s
validate_translations
:
fake_translations detect_changed_source_translations
quality
:
##
check coding style with pycodestyle and pylint
quality
:
##
check coding style with pycodestyle and pylint
tox
-e
quality
tox
-e
quality
...
@@ -93,3 +72,28 @@ test-all: ## run tests on every supported Python/Django combination
...
@@ -93,3 +72,28 @@ test-all: ## run tests on every supported Python/Django combination
diff_cover
:
test
diff_cover
:
test
diff-cover coverage.xml
diff-cover coverage.xml
## Localization targets
extract_translations
:
##
extract strings to be translated
,
outputting .mo files
cd
edx_proctoring
&&
../manage.py makemessages
-l
en
-v1
-d
django
cd
edx_proctoring
&&
../manage.py makemessages
-l
en
-v1
-d
djangojs
compile_translations
:
##
compile translation files
,
outputting .po files for each supported language
cd
edx_proctoring
&&
../manage.py compilemessages
detect_changed_source_translations
:
cd
edx_proctoring
&&
i18n_tool changed
pull_translations
:
##
pull translations from Transifex
tx pull
-af
push_translations
:
##
push source translation files (.po) from Transifex
tx push
-s
dummy_translations
:
##
generate dummy translation (.po) files
cd
edx_proctoring
&&
i18n_tool dummy
build_dummy_translations
:
extract_translations dummy_translations compile_translations
##
generate and compile dummy translation files
validate_translations
:
build_dummy_translations detect_changed_source_translations
##
validate translations
edx_proctoring/locale/config.yaml
View file @
77fc7024
...
@@ -71,14 +71,3 @@ locales:
...
@@ -71,14 +71,3 @@ locales:
# The locales used for fake-accented English, for testing.
# The locales used for fake-accented English, for testing.
dummy_locales
:
dummy_locales
:
-
eo
-
eo
# Directories we don't search for strings.
ignore_dirs
:
-
docs
-
edx-proctoring
-
logs
-
node_modules
-
performance
-
requirements
-
scripts
-
settings
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