From 2c420cadae68d67e23ed91cd728010d1c513509a Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Tue, 30 Apr 2024 21:11:09 +0300 Subject: [PATCH] Adding fallbacks for some languages These were added recently to MediaWiki core: * aae * apc * gcf * kge * rut ttj and nyo were also added recently, but skipping them for now, because their fallback configuratin may change in core. --- src/jquery.i18n.fallbacks.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jquery.i18n.fallbacks.js b/src/jquery.i18n.fallbacks.js index aaabd4b..a668247 100644 --- a/src/jquery.i18n.fallbacks.js +++ b/src/jquery.i18n.fallbacks.js @@ -16,6 +16,7 @@ $.i18n = $.i18n || {}; $.extend( $.i18n.fallbacks, { + aae: [ 'it' ], ab: [ 'ru' ], abs: [ 'id' ], ace: [ 'id' ], @@ -32,6 +33,7 @@ ami: [ 'zh-tw', 'zh-hant', 'zh', 'zh-hans' ], an: [ 'es' ], anp: [ 'hi' ], + apc: [ 'ar' ], arn: [ 'es' ], arq: [ 'ar' ], ary: [ 'ar' ], @@ -101,6 +103,7 @@ gan: [ 'gan-hant', 'gan-hans', 'zh-hant', 'zh', 'zh-hans' ], 'gan-hans': [ 'gan', 'gan-hant', 'zh-hans', 'zh', 'zh-hant' ], 'gan-hant': [ 'gan', 'gan-hans', 'zh-hant', 'zh', 'zh-hans' ], + gcf: [ 'fr' ], gcr: [ 'fr' ], gl: [ 'pt' ], gld: [ 'ru' ], @@ -132,6 +135,7 @@ kbd: [ 'kbd-cyrl' ], kbp: [ 'fr' ], kea: [ 'pt' ], + kge: [ 'id' ], khw: [ 'ur' ], kiu: [ 'tr' ], kjh: [ 'ru' ], @@ -223,6 +227,7 @@ ruq: [ 'ruq-latn', 'ro' ], 'ruq-cyrl': [ 'mk' ], 'ruq-latn': [ 'ro' ], + rut: [ 'ru' ], sa: [ 'hi' ], sah: [ 'ru' ], scn: [ 'it' ],