Update transifex config and move it to a proper place

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-04-23 15:28:07 +02:00
parent 75609c1b2c
commit 3a763f4d9c
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
2 changed files with 16 additions and 53 deletions

16
.tx/config Normal file
View File

@ -0,0 +1,16 @@
[main]
host = https://www.transifex.com
lang_map = bg_BG: bg, cs_CZ: cs, de_DE: de, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja, pt_PT: pt, et_EE: et
[nextcloud.client]
host = https://www.transifex.com
source_lang = en
source_file = translations/client_en.ts
file_filter = translations/client_<lang>.ts
type = QT
[nextcloud.client-desktop]
host = https://www.transifex.com
source_file = mirall.desktop.in
source_lang = en
type = DESKTOP

View File

@ -1,53 +0,0 @@
[main]
host = https://www.transifex.com
[owncloud.client]
host = https://www.transifex.com
source_file = client_en.ts
source_lang = en
# simple one-to-one language mappings
trans.ca = client_ca.ts
trans.el = client_el.ts
trans.es = client_es.ts
trans.es_AR = client_es_AR.ts
trans.eu = client_eu.ts
trans.fa = client_fa.ts
trans.fr = client_fr.ts
trans.gl = client_gl.ts
trans.it = client_it.ts
trans.nb_NO = client_nb_NO.ts
trans.nl = client_nl.ts
trans.pl = client_pl.ts
trans.pt_BR = client_pt_BR.ts
trans.ru = client_ru.ts
trans.sl = client_sl.ts
trans.sv = client_sv.ts
trans.sr = client_sr.ts
trans.tr = client_tr.ts
trans.uk = client_uk.ts
trans.zh_TW = client_zh_TW.ts
trans.zh_CN = client_zh_CN.ts
# special handling below
# de_DE holds the formal translation which we want as default
trans.de_DE = client_de.ts
# choose one of the given translations on transifex as default
trans.pt_PT = client_pt.ts
# choose a special language as more generic default
trans.cs_CZ = client_cs.ts
trans.et_EE = client_et.ts
trans.fi_FI = client_fi.ts
trans.ja_JP = client_ja.ts
trans.hu_HU = client_hu.ts
trans.sk_SK = client_sk.ts
trans.th_TH = client_th.ts
[owncloud.client-desktop]
host = https://www.transifex.com
source_file = ../mirall.desktop.in
source_lang = en
type = DESKTOP