Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-05-31 16:43:16 +0300
committerHannah von Reth <vonreth@kde.org>2021-06-02 18:33:45 +0300
commit63aed4bc27d38ae48bf032588b9d209bd8147803 (patch)
tree756c23467d36dd529a945914cbbc53038a0f7885 /translations
parent18e27b70060252686d489b615add9eb86a56277b (diff)
Ci: Automatically sync all translations from transifex
Diffstat (limited to 'translations')
-rw-r--r--translations/.tx/config43
-rw-r--r--translations/Makefile2
2 files changed, 4 insertions, 41 deletions
diff --git a/translations/.tx/config b/translations/.tx/config
index d7d5e80c8..3531a19bd 100644
--- a/translations/.tx/config
+++ b/translations/.tx/config
@@ -2,52 +2,15 @@
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
+file_filter = client_<lang>.ts
+type = TS
# 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
+lang_map = de_DE: de, pt_PT: pt, cs_CZ: cs, et_EE: et, fi_FI: fi, ja_JP: ja, hu_HU: hu, sk_SK: client_sk, th_TH: th
[owncloud.client-desktop]
-host = https://www.transifex.com
source_file = ../mirall.desktop.in
source_lang = en
type = DESKTOP
diff --git a/translations/Makefile b/translations/Makefile
index 9668b1771..7c6168216 100644
--- a/translations/Makefile
+++ b/translations/Makefile
@@ -8,7 +8,7 @@ l10n-push:
.PHONY: l10n-pull
l10n-pull:
- tx -d pull --force --skip --minimum-perc=75
+ tx -d pull --force --skip --all --minimum-perc=75
.PHONY: l10n-clean
l10n-clean: