Update to add Corsican as new locale

This commit is contained in:
Patriccollu 2022-02-24 20:03:48 +01:00 committed by GitHub
parent d5d06caf40
commit 004e2dd75c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -601,7 +601,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
* @prop {string[]} * @prop {string[]}
* @readonly * @readonly
*/ */
const supportedLanguages = ['bg', 'ca', 'cs', 'de', 'es', 'et', 'fr', 'he', 'hu', 'id', 'it', 'jbo', 'lt', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sl', 'uk', 'zh']; const supportedLanguages = ['bg', 'ca', 'co', 'cs', 'de', 'es', 'et', 'fr', 'he', 'hu', 'id', 'it', 'jbo', 'lt', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sl', 'uk', 'zh'];
/** /**
* built in language * built in language
@ -778,6 +778,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
{ {
case 'cs': case 'cs':
return n === 1 ? 0 : (n >= 2 && n <=4 ? 1 : 2); return n === 1 ? 0 : (n >= 2 && n <=4 ? 1 : 2);
case 'co':
case 'fr': case 'fr':
case 'oc': case 'oc':
case 'zh': case 'zh':