From 59b5c3ac695d9c4e50ea76a7e9650586edfd5218 Mon Sep 17 00:00:00 2001 From: grey-cat-1908 Date: Sun, 24 Mar 2024 17:24:48 +0300 Subject: [PATCH] test --- src/App.vue | 4 ++-- src/utils/i18n.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index f1f5a4c..e055a94 100644 --- a/src/App.vue +++ b/src/App.vue @@ -168,8 +168,8 @@ store.$subscribe((mutation, state) => {

{{ $t("app.cursor") }}: ({{ xcord }}; {{ ycord }}) | {{ $t("app.about") }} | - English - Русский + English + Русский

diff --git a/src/utils/i18n.ts b/src/utils/i18n.ts index ebec808..a79a773 100644 --- a/src/utils/i18n.ts +++ b/src/utils/i18n.ts @@ -107,7 +107,7 @@ const messages = { // 2. Create i18n instance with options export const i18n = createI18n({ - locale: sessionStorage.getItem("locale") | 'ru', + locale: localStorage.getItem("locale") | 'ru', fallbackLocale: 'ru', messages })