Fixed transifex integration
Corrected .tx/config file and added instructions on pulling/pushing translations to transifex. references QubesOS/qubes-issues#5410 references QubesOS/qubes-issues#3548
This commit is contained in:
parent
99ab388597
commit
0329383453
@ -1,7 +1,10 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[qubes.qubes_manager]
|
||||
file_filter = i18n/qubesmanager_<lang>.ts
|
||||
[qubes.qubesmanager]
|
||||
file_filter = qubesmanager/i18n/qubesmanager_<lang>.ts
|
||||
minimum_perc = 0
|
||||
source_file = qubesmanager/i18n/qubesmanager_en.ts
|
||||
source_lang = en
|
||||
type = QT
|
||||
|
||||
|
@ -20,6 +20,15 @@ This will keep translated strings, but will add new ones.
|
||||
|
||||
Commit updated `.ts` files into `i18n` directory.
|
||||
|
||||
### Pushing translations to transifex
|
||||
You'll need a token (for your own transifex acount, to configure it just run
|
||||
tx config once).
|
||||
|
||||
tx push -s
|
||||
|
||||
### Getting translation from transifex
|
||||
tx pull
|
||||
|
||||
|
||||
Tests
|
||||
----------------------
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS><TS version="2.0">
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en">
|
||||
<context>
|
||||
<name>AboutDialog</name>
|
||||
<message>
|
||||
@ -236,8 +237,9 @@ p, li { white-space: pre-wrap; }
|
||||
<message numerus="yes">
|
||||
<location filename="../clipboard.py" line="90"/>
|
||||
<source>%n byte(s)</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<translation>
|
||||
<numerusform>byte</numerusform>
|
||||
<numerusform>bytes</numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
@ -1568,9 +1570,6 @@ The qube must be running to disable seamless mode; this setting is not persisten
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>StatusItem</name>
|
||||
</context>
|
||||
<context>
|
||||
<name>TemplateManager</name>
|
||||
<message>
|
||||
@ -2577,9 +2576,6 @@ Template</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>exception</name>
|
||||
</context>
|
||||
<context>
|
||||
<name>template-manager</name>
|
||||
<message>
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user