File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ git ls-tree --full-tree -r HEAD --name-only |while read f; do sed -i '1s/^\xEF\x
52
52
## Get latest translations from Transifex
53
53
54
54
``` bash
55
- python setup.py get_po_files && git diff --quiet || git commit -m ' Update .po files' -- po/
55
+ python setup.py pull_translations && git diff --quiet || git commit -m ' Update .po files' -- po/
56
56
```
57
57
58
58
## Synchronize generated consts
Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ To fetch latest translations from Transifex
45
45
Use the following command:
46
46
47
47
``` bash
48
- $ python setup.py get_po_files
48
+ $ python setup.py pull_translations
49
49
```
50
50
51
51
It will fetch all po files from Transifex, but the most incomplete ones.
52
52
53
53
The minimum acceptable percentage of a translation in order to download it can be seen using:
54
54
``` bash
55
- $ python setup.py get_po_files --help
55
+ $ python setup.py pull_translations --help
56
56
```
57
57
The percentage value is passed to the ` tx pull ` command.
Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ def run(self):
472
472
])
473
473
474
474
475
- class picard_get_po_files (Command ):
475
+ class picard_pull_translations (Command ):
476
476
description = "Retrieve po files from transifex"
477
477
minimum_perc_default = 5
478
478
user_options = [
@@ -767,7 +767,7 @@ def _picard_packages():
767
767
'install' : picard_install ,
768
768
'install_locales' : picard_install_locales ,
769
769
'update_constants' : picard_update_constants ,
770
- 'get_po_files ' : picard_get_po_files ,
770
+ 'pull_translations ' : picard_pull_translations ,
771
771
'regen_pot_file' : picard_regen_pot_file ,
772
772
'patch_version' : picard_patch_version ,
773
773
},
You can’t perform that action at this time.
0 commit comments