Merge remote-tracking branch 'origin/pr/219'

* origin/pr/219:
  Fixed transifex integration
This commit is contained in:
Marek Marczykowski-Górecki 2019-12-09 19:29:02 +01:00
commit cca5d7d785
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
4 changed files with 620 additions and 1670 deletions

View File

@ -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

View File

@ -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
----------------------

View File

@ -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