From 527455add9c96db268cd0cb2e43066ec09918c6e Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 25 Sep 2024 22:43:18 +0200 Subject: [PATCH] fix(l10n): Add proper config to align languages with Nextcloud language tags Signed-off-by: Ferdinand Thiessen --- l10n/{bg_BG.pot => bg.pot} | 0 l10n/{cs_CZ.pot => cs.pot} | 0 l10n/{fi_FI.pot => fi.pot} | 0 l10n/{hu_HU.pot => hu.pot} | 0 l10n/{ja_JP.pot => ja.pot} | 0 l10n/{nb_NO.pot => nb.pot} | 0 l10n/{sk_SK.pot => sk.pot} | 0 l10n/{th_TH.pot => th.pot} | 0 transifex.yml | 17 +++++++++++++++-- 9 files changed, 15 insertions(+), 2 deletions(-) rename l10n/{bg_BG.pot => bg.pot} (100%) rename l10n/{cs_CZ.pot => cs.pot} (100%) rename l10n/{fi_FI.pot => fi.pot} (100%) rename l10n/{hu_HU.pot => hu.pot} (100%) rename l10n/{ja_JP.pot => ja.pot} (100%) rename l10n/{nb_NO.pot => nb.pot} (100%) rename l10n/{sk_SK.pot => sk.pot} (100%) rename l10n/{th_TH.pot => th.pot} (100%) diff --git a/l10n/bg_BG.pot b/l10n/bg.pot similarity index 100% rename from l10n/bg_BG.pot rename to l10n/bg.pot diff --git a/l10n/cs_CZ.pot b/l10n/cs.pot similarity index 100% rename from l10n/cs_CZ.pot rename to l10n/cs.pot diff --git a/l10n/fi_FI.pot b/l10n/fi.pot similarity index 100% rename from l10n/fi_FI.pot rename to l10n/fi.pot diff --git a/l10n/hu_HU.pot b/l10n/hu.pot similarity index 100% rename from l10n/hu_HU.pot rename to l10n/hu.pot diff --git a/l10n/ja_JP.pot b/l10n/ja.pot similarity index 100% rename from l10n/ja_JP.pot rename to l10n/ja.pot diff --git a/l10n/nb_NO.pot b/l10n/nb.pot similarity index 100% rename from l10n/nb_NO.pot rename to l10n/nb.pot diff --git a/l10n/sk_SK.pot b/l10n/sk.pot similarity index 100% rename from l10n/sk_SK.pot rename to l10n/sk.pot diff --git a/l10n/th_TH.pot b/l10n/th.pot similarity index 100% rename from l10n/th_TH.pot rename to l10n/th.pot diff --git a/transifex.yml b/transifex.yml index bb835182..168caacc 100644 --- a/transifex.yml +++ b/transifex.yml @@ -1,5 +1,6 @@ -# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors -# SPDX-License-Identifier: AGPL-3.0-or-later +# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: CC0-1.0 + git: filters: - filter_type: file @@ -7,3 +8,15 @@ git: source_language: en source_file: l10n/messages.pot translation_files_expression: l10n/.pot + + settings: + # Nextcloud uses different language tags than the translations on Transifex + language_mapping: + fi_FI: fi + hu_HU: hu + nb_NO: nb + sk_SK: sk + th_TH: th + ja_JP: ja + bg_BG: bg + cs_CZ: cs