Commit 2825ae76 by Zia Fazal

added translation files and transifex config

updated read me

update version

updated read me and version after rebase

updated dist version
parent 292c2baf
......@@ -12,7 +12,7 @@ install:
- "pip install selenium==2.53.0"
- "pip uninstall -y xblock-drag-and-drop-v2"
- "python setup.py sdist"
- "pip install dist/xblock-drag-and-drop-v2-2.0.12.tar.gz"
- "pip install dist/xblock-drag-and-drop-v2-2.0.13.tar.gz"
script:
- pep8 drag_and_drop_v2 tests --max-line-length=120
- pylint drag_and_drop_v2
......
[main]
host = https://www.transifex.com
[xblocks.drag-and-drop-v2]
file_filter = drag_and_drop_v2/translations/<lang>/LC_MESSAGES/text.po
source_file = drag_and_drop_v2/translations/en/LC_MESSAGES/text.po
source_lang = en
type = PO
......@@ -547,3 +547,14 @@ Then start python interpreter, import `Dummy` translator and follow instructions
>>> print conv.convert("String to translate")
Then copy output and paste it into `translations/eo/LC_MESSAGES/text.po`.
Downloading translations from Transifex
-------------------------------------
If you want to download translations from Transifex install [Transifex client][transifex-client] and run this command while inside project root directory
```bash
$ tx pull -f --mode=reviewed -l en,ar,es_419,fr,he,hi,ko_KR,pt_BR,ru,zh_CN
```
[transifex-client]: https://docs.transifex.com/client/installing-the-client
......@@ -23,7 +23,7 @@ def package_data(pkg, root_list):
setup(
name='xblock-drag-and-drop-v2',
version='2.0.12',
version='2.0.13',
description='XBlock - Drag-and-Drop v2',
packages=['drag_and_drop_v2'],
install_requires=[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment