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]
|
[main]
|
||||||
host = https://www.transifex.com
|
host = https://www.transifex.com
|
||||||
|
|
||||||
[qubes.qubes_manager]
|
[qubes.qubesmanager]
|
||||||
file_filter = i18n/qubesmanager_<lang>.ts
|
file_filter = qubesmanager/i18n/qubesmanager_<lang>.ts
|
||||||
|
minimum_perc = 0
|
||||||
|
source_file = qubesmanager/i18n/qubesmanager_en.ts
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = QT
|
type = QT
|
||||||
|
|
||||||
|
@ -20,6 +20,15 @@ This will keep translated strings, but will add new ones.
|
|||||||
|
|
||||||
Commit updated `.ts` files into `i18n` directory.
|
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
|
Tests
|
||||||
----------------------
|
----------------------
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE TS><TS version="2.0">
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="en">
|
||||||
<context>
|
<context>
|
||||||
<name>AboutDialog</name>
|
<name>AboutDialog</name>
|
||||||
<message>
|
<message>
|
||||||
@ -236,8 +237,9 @@ p, li { white-space: pre-wrap; }
|
|||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../clipboard.py" line="90"/>
|
<location filename="../clipboard.py" line="90"/>
|
||||||
<source>%n byte(s)</source>
|
<source>%n byte(s)</source>
|
||||||
<translation type="unfinished">
|
<translation>
|
||||||
<numerusform></numerusform>
|
<numerusform>byte</numerusform>
|
||||||
|
<numerusform>bytes</numerusform>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
@ -1568,9 +1570,6 @@ The qube must be running to disable seamless mode; this setting is not persisten
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>StatusItem</name>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>TemplateManager</name>
|
<name>TemplateManager</name>
|
||||||
<message>
|
<message>
|
||||||
@ -2577,9 +2576,6 @@ Template</source>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>exception</name>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>template-manager</name>
|
<name>template-manager</name>
|
||||||
<message>
|
<message>
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user