From 39f9f470c786e975a1447173da308fa735a6464d Mon Sep 17 00:00:00 2001 From: grey-cat-1908 Date: Sun, 24 Mar 2024 17:19:13 +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 770dbb4..8eabfab 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 2b8b69c..ebec808 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"), + locale: sessionStorage.getItem("locale") | 'ru', fallbackLocale: 'ru', messages })