mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-05-13 05:51:29 +00:00
fix(i18n): correct Irish locale flag and language label
- Fix locale key in lang-list.json from "locale-ie-GA" to "locale-ga-IE" to match the actual locale code used in IntlProvider - Add ga -> ie mapping in getFlagCodeForLocale() so the Ireland flag is shown instead of the Gabon flag - Add missing ["ga", "ga-IE"] entry to check-locales.cjs validation list Fixes NginxProxyManager/nginx-proxy-manager#5354
This commit is contained in:
parent
c1d09eaceb
commit
278b1c92b3
3 changed files with 3 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ const allLocales = [
|
|||
["es", "es-ES"],
|
||||
["et", "et-EE"],
|
||||
["fr", "fr-FR"],
|
||||
["ga", "ga-IE"],
|
||||
["it", "it-IT"],
|
||||
["ja", "ja-JP"],
|
||||
["nl", "nl-NL"],
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ const getFlagCodeForLocale = (locale?: string) => {
|
|||
vi: "vn", // Vietnam
|
||||
ko: "kr", // Korea
|
||||
cs: "cz", // Czechia
|
||||
ga: "ie", // Ireland (Irish)
|
||||
};
|
||||
|
||||
if (specialCases[thisLocale]) {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"locale-et-EE": {
|
||||
"defaultMessage": "Eesti"
|
||||
},
|
||||
"locale-ie-GA": {
|
||||
"locale-ga-IE": {
|
||||
"defaultMessage": "Gaeilge"
|
||||
},
|
||||
"locale-de-DE": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue