mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Merge pull request #3639 from rhld16/unused-languages
Add missing languages
(cherry picked from commit ff95eba35f
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
parent
69fb418beb
commit
34051a677d
@ -1,5 +1,5 @@
|
|||||||
import { af, arDZ, be, bg, bn, ca, cs, da, de, el, enGB, enUS, eo, es, faIR, fi, fr, frCA, he, hi, hr, hu, gl, id, is, it, ja, kk, ko, lt, ms, nb,
|
import { af, arDZ, be, bg, bn, ca, cs, cy, da, de, el, enGB, enUS, eo, es, et, faIR, fi, fr, frCA, gl, he, hi, hr, hu, id, is, it, ja, kk, ko, lt, lv, ms, nb,
|
||||||
nl, pl, ptBR, pt, ro, ru, sk, sl, sv, ta, th, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale';
|
nl, nn, pl, ptBR, pt, ro, ru, sk, sl, sv, ta, th, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale';
|
||||||
import globalize from './globalize';
|
import globalize from './globalize';
|
||||||
|
|
||||||
const dateLocales = (locale) => ({
|
const dateLocales = (locale) => ({
|
||||||
@ -10,6 +10,7 @@ const dateLocales = (locale) => ({
|
|||||||
'bn': bn,
|
'bn': bn,
|
||||||
'ca': ca,
|
'ca': ca,
|
||||||
'cs': cs,
|
'cs': cs,
|
||||||
|
'cy': cy,
|
||||||
'da': da,
|
'da': da,
|
||||||
'de': de,
|
'de': de,
|
||||||
'el': el,
|
'el': el,
|
||||||
@ -20,6 +21,7 @@ const dateLocales = (locale) => ({
|
|||||||
'es-ar': es,
|
'es-ar': es,
|
||||||
'es-do': es,
|
'es-do': es,
|
||||||
'es-mx': es,
|
'es-mx': es,
|
||||||
|
'et': et,
|
||||||
'fa': faIR,
|
'fa': faIR,
|
||||||
'fi': fi,
|
'fi': fi,
|
||||||
'fr': fr,
|
'fr': fr,
|
||||||
@ -37,9 +39,11 @@ const dateLocales = (locale) => ({
|
|||||||
'kk': kk,
|
'kk': kk,
|
||||||
'ko': ko,
|
'ko': ko,
|
||||||
'lt-lt': lt,
|
'lt-lt': lt,
|
||||||
|
'lv': lv,
|
||||||
'ms': ms,
|
'ms': ms,
|
||||||
'nb': nb,
|
'nb': nb,
|
||||||
'nl': nl,
|
'nl': nl,
|
||||||
|
'nn': nn,
|
||||||
'pl': pl,
|
'pl': pl,
|
||||||
'pt': pt,
|
'pt': pt,
|
||||||
'pt-br': ptBR,
|
'pt-br': ptBR,
|
||||||
|
@ -42,7 +42,7 @@ import { currentSettings } from './settings/userSettings';
|
|||||||
import taskButton from './taskbutton';
|
import taskButton from './taskbutton';
|
||||||
|
|
||||||
function loadCoreDictionary() {
|
function loadCoreDictionary() {
|
||||||
const languages = ['af', 'ar', 'be-by', 'bg-bg', 'bn_bd', 'ca', 'cs', 'da', 'de', 'el', 'en-gb', 'en-us', 'eo', 'es', 'es-419', 'es-ar', 'es_do', 'es-mx', 'fa', 'fi', 'fil', 'fr', 'fr-ca', 'gl', 'gsw', 'he', 'hi-in', 'hr', 'hu', 'id', 'it', 'ja', 'kk', 'ko', 'lt-lt', 'mr', 'ms', 'nb', 'nl', 'pl', 'pr', 'pt', 'pt-br', 'pt-pt', 'ro', 'ru', 'sk', 'sl-si', 'sq', 'sv', 'ta', 'th', 'tr', 'uk', 'ur_pk', 'vi', 'zh-cn', 'zh-hk', 'zh-tw'];
|
const languages = ['af', 'ar', 'be-by', 'bg-bg', 'bn_bd', 'ca', 'cs', 'cy', 'da', 'de', 'el', 'en-gb', 'en-us', 'eo', 'es', 'es-419', 'es-ar', 'es_do', 'es-mx', 'et', 'fa', 'fi', 'fil', 'fr', 'fr-ca', 'gl', 'gsw', 'he', 'hi-in', 'hr', 'hu', 'id', 'it', 'ja', 'kk', 'ko', 'lt-lt', 'lv', 'mr', 'ms', 'nb', 'nl', 'nn', 'pl', 'pr', 'pt', 'pt-br', 'pt-pt', 'ro', 'ru', 'sk', 'sl-si', 'sq', 'sv', 'ta', 'th', 'tr', 'uk', 'ur_pk', 'vi', 'zh-cn', 'zh-hk', 'zh-tw'];
|
||||||
const translations = languages.map(function (language) {
|
const translations = languages.map(function (language) {
|
||||||
return {
|
return {
|
||||||
lang: language,
|
lang: language,
|
||||||
|
Loading…
Reference in New Issue
Block a user