mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
refactor: globalized current locale, translation improvements
This commit is contained in:
@@ -32,7 +32,8 @@ export const useMainStore = defineStore('mainStore', {
|
||||
|
||||
chosenModalTrainId: undefined,
|
||||
|
||||
modalLastClickedTarget: null
|
||||
modalLastClickedTarget: null,
|
||||
currentLocale: 'pl'
|
||||
}) as MainStoreState,
|
||||
|
||||
getters: {
|
||||
|
||||
@@ -12,6 +12,7 @@ export interface MainStoreState {
|
||||
driverStatsStatus: Status.Data;
|
||||
chosenModalTrainId?: string;
|
||||
modalLastClickedTarget: EventTarget | null;
|
||||
currentLocale: string;
|
||||
}
|
||||
|
||||
export interface StationJSONData {
|
||||
|
||||
Reference in New Issue
Block a user