mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-26 12:29:05 +01:00
Added Swedish language.
This commit is contained in:
parent
1ace5fb6d5
commit
9e33d5de77
@ -1,5 +1,5 @@
|
||||
import { format } from 'date-fns';
|
||||
import { enUS, nl, zhCN, tr, ru, de, ja, es, fr, da } from 'date-fns/locale';
|
||||
import { enUS, nl, zhCN, tr, ru, de, ja, es, fr, da, sv } from 'date-fns/locale';
|
||||
import enMessages from 'lang-compiled/en-US.json';
|
||||
import nlMessages from 'lang-compiled/nl-NL.json';
|
||||
import zhCNMessages from 'lang-compiled/zh-CN.json';
|
||||
@ -11,6 +11,7 @@ import esMXMessages from 'lang-compiled/es-MX.json';
|
||||
import frMessages from 'lang-compiled/fr-FR.json';
|
||||
import mnMNMessages from 'lang-compiled/mn-MN.json';
|
||||
import daMessages from 'lang-compiled/da-DK.json';
|
||||
import svMessages from 'lang-compiled/sv-SE.json';
|
||||
|
||||
export const messages = {
|
||||
'en-US': enMessages,
|
||||
@ -24,6 +25,7 @@ export const messages = {
|
||||
'fr-FR': frMessages,
|
||||
'mn-MN': mnMNMessages,
|
||||
'da-DK': daMessages,
|
||||
'sv-SE': svMessages,
|
||||
};
|
||||
|
||||
export const dateLocales = {
|
||||
@ -33,6 +35,7 @@ export const dateLocales = {
|
||||
'de-DE': de,
|
||||
'da-DK': da,
|
||||
'ru-RU': ru,
|
||||
'sv-SE': sv,
|
||||
'tr-TR': tr,
|
||||
'ja-JP': ja,
|
||||
'es-MX': es,
|
||||
@ -47,10 +50,11 @@ export const menuOptions = [
|
||||
{ label: 'Deutsch', value: 'de-DE', display: 'DE' },
|
||||
{ label: 'Español', value: 'es-MX', display: 'ES' },
|
||||
{ label: 'Français', value: 'fr-FR', display: 'FR' },
|
||||
{ label: '日本語', value: 'ja-JP', display: 'JP' },
|
||||
{ label: '日本語', value: 'ja-JP', display: 'JA' },
|
||||
{ label: 'Монгол', value: 'mn-MN', display: 'MN' },
|
||||
{ label: 'Nederlands', value: 'nl-NL', display: 'NL' },
|
||||
{ label: 'Русский', value: 'ru-RU', display: 'RU' },
|
||||
{ label: 'Svenska', value: 'sv-SE', display: 'SV' },
|
||||
{ label: 'Turkish', value: 'tr-TR', display: 'TR' },
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user