mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
parent
6e8527e66d
commit
01bca39138
33 changed files with 38 additions and 38 deletions
|
@ -1,7 +1,7 @@
|
|||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[owncloud.mirall-wininstaller]
|
||||
[owncloud.client-nsis]
|
||||
host = https://www.transifex.com
|
||||
source_file = pofiles/messages.pot
|
||||
source_lang = en
|
||||
|
|
|
@ -519,7 +519,7 @@ void Application::setupTranslations()
|
|||
lang.replace(QLatin1Char('-'), QLatin1Char('_')); // work around QTBUG-25973
|
||||
lang = substLang(lang);
|
||||
const QString trPath = applicationTrPath();
|
||||
const QString trFile = QLatin1String("mirall_") + lang;
|
||||
const QString trFile = QLatin1String("client_") + lang;
|
||||
if (translator->load(trFile, trPath) ||
|
||||
lang.startsWith(QLatin1String("en"))) {
|
||||
// Permissive approach: Qt and keychain translations
|
||||
|
|
|
@ -1,46 +1,46 @@
|
|||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[owncloud.mirall]
|
||||
[owncloud.client]
|
||||
host = https://www.transifex.com
|
||||
source_file = mirall_en.ts
|
||||
source_file = client_en.ts
|
||||
source_lang = en
|
||||
|
||||
# simple one-to-one language mappings
|
||||
trans.ca = mirall_ca.ts
|
||||
trans.el = mirall_el.ts
|
||||
trans.es = mirall_es.ts
|
||||
trans.es_AR = mirall_es_AR.ts
|
||||
trans.eu = mirall_eu.ts
|
||||
trans.fa = mirall_fa.ts
|
||||
trans.fr = mirall_fr.ts
|
||||
trans.gl = mirall_gl.ts
|
||||
trans.it = mirall_it.ts
|
||||
trans.nl = mirall_nl.ts
|
||||
trans.pl = mirall_pl.ts
|
||||
trans.pt_BR = mirall_pt_BR.ts
|
||||
trans.ru = mirall_ru.ts
|
||||
trans.sl = mirall_sl.ts
|
||||
trans.sv = mirall_sv.ts
|
||||
trans.tr = mirall_tr.ts
|
||||
trans.uk = mirall_uk.ts
|
||||
trans.zh_TW = mirall_zh_TW.ts
|
||||
trans.zh_CN = mirall_zh_CN.ts
|
||||
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.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.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 = mirall_de.ts
|
||||
trans.de_DE = client_de.ts
|
||||
|
||||
# choose one of the given translations on transifex as default
|
||||
trans.pt_PT = mirall_pt.ts
|
||||
trans.pt_PT = client_pt.ts
|
||||
|
||||
# choose a special language as more generic default
|
||||
trans.cs_CZ = mirall_cs.ts
|
||||
trans.et_EE = mirall_et.ts
|
||||
trans.fi_FI = mirall_fi.ts
|
||||
trans.ja_JP = mirall_ja.ts
|
||||
trans.hu_HU = mirall_hu.ts
|
||||
trans.sk_SK = mirall_sk.ts
|
||||
trans.th_TH = mirall_th.ts
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue