From 6388afadcecdec59928e3f8c67ed57b69d7fdf5b Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Wed, 13 Apr 2022 11:44:06 +0200 Subject: [PATCH] chore(linux): Fix l10n language mappings Also rename the .po files to match the new mappings: - `bwr_NT.po` -> `brw_NG.po`: the language shows up as `bwr-ng` in Crowdin, and there's no `NT` country code. - `ha_HG.po` -> `ha.po`: the language shows up as `ha` in Crowdin and there's no `HG` country code. - `shu_latn.po` -> `shu@latin.po`: the convention seems to be to put the script after `@` sign. --- crowdin.yml | 4 ++++ linux/keyman-config/locale/{bwr_NT.po => bwr_NG.po} | 0 linux/keyman-config/locale/{ha_HG.po => ha.po} | 0 linux/keyman-config/locale/{shu_latn.po => shu@latin.po} | 0 4 files changed, 4 insertions(+) rename linux/keyman-config/locale/{bwr_NT.po => bwr_NG.po} (100%) rename linux/keyman-config/locale/{ha_HG.po => ha.po} (100%) rename linux/keyman-config/locale/{shu_latn.po => shu@latin.po} (100%) diff --git a/crowdin.yml b/crowdin.yml index fcfdbc77bc..e921a8fc8d 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -94,6 +94,10 @@ files: translation: /linux/keyman-config/locale/%locale_with_underscore%.po type: gettext update_option: update_as_unapproved + languages_mapping: + locale_with_underscore: + shu-latn-n: shu@latin + ha: ha # macOS files diff --git a/linux/keyman-config/locale/bwr_NT.po b/linux/keyman-config/locale/bwr_NG.po similarity index 100% rename from linux/keyman-config/locale/bwr_NT.po rename to linux/keyman-config/locale/bwr_NG.po diff --git a/linux/keyman-config/locale/ha_HG.po b/linux/keyman-config/locale/ha.po similarity index 100% rename from linux/keyman-config/locale/ha_HG.po rename to linux/keyman-config/locale/ha.po diff --git a/linux/keyman-config/locale/shu_latn.po b/linux/keyman-config/locale/shu@latin.po similarity index 100% rename from linux/keyman-config/locale/shu_latn.po rename to linux/keyman-config/locale/shu@latin.po