mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 18:00:17 +01:00
Rename en to en-US.
This commit is contained in:
parent
29049842de
commit
3ed366ba6d
@ -1,6 +1,6 @@
|
|||||||
import { format } from 'date-fns';
|
import { format } from 'date-fns';
|
||||||
import { enUS, nl, zhCN, tr, ru, de, ja } from 'date-fns/locale';
|
import { enUS, nl, zhCN, tr, ru, de, ja } from 'date-fns/locale';
|
||||||
import enMessages from 'lang-compiled/en.json';
|
import enMessages from 'lang-compiled/en-US.json';
|
||||||
import nlMessages from 'lang-compiled/nl-NL.json';
|
import nlMessages from 'lang-compiled/nl-NL.json';
|
||||||
import zhCNMessages from 'lang-compiled/zh-CN.json';
|
import zhCNMessages from 'lang-compiled/zh-CN.json';
|
||||||
import trTRMessages from 'lang-compiled/tr-TR.json';
|
import trTRMessages from 'lang-compiled/tr-TR.json';
|
||||||
|
@ -2,7 +2,7 @@ import { createSlice } from '@reduxjs/toolkit';
|
|||||||
|
|
||||||
const app = createSlice({
|
const app = createSlice({
|
||||||
name: 'app',
|
name: 'app',
|
||||||
initialState: { locale: 'en' },
|
initialState: { locale: 'en-US' },
|
||||||
reducers: {
|
reducers: {
|
||||||
updateApp(state, action) {
|
updateApp(state, action) {
|
||||||
state = action.payload;
|
state = action.payload;
|
||||||
|
Loading…
Reference in New Issue
Block a user