refactor i18n

This commit is contained in:
Alex Holliday committed 2025-05-30 15:03:32 -07:00
1 parent 4f678827f3
commit 70055c712b
12 files changed
+38 -27

No files matched your search

+2 -2
View File
@@ -24,7 +24,7 @@ const initialState = {
greeting: { index: 0, lastUpdate: null },
timezone: "America/Toronto",
distributedUptimeEnabled: false,
language: "gb",
language: "en",
starPromptOpen: true,
};
@@ -57,7 +57,7 @@ const uiSlice = createSlice({
setTimezone(state, action) {
state.timezone = action.payload.timezone;
},
setLanguage(state, action) {
setLanguage: (state, action) => {
state.language = action.payload;
},
setStarPromptOpen: (state, action) => {