diff --git a/package.json b/package.json index ce63eda..22957a2 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@vueuse/core": "^10.9.0", "pinia": "^2.1.7", "vue": "^3.3.11", + "vue-i18n": "^9.10.2", "vuetify": "^3.5.9" }, "devDependencies": { diff --git a/src/App.vue b/src/App.vue index ee5e343..770dbb4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -145,29 +145,32 @@ store.$subscribe((mutation, state) => { -

Основные настройки

+

{{ $t("app.main_settings") }}


-

Станции

+

{{ $t("app.stations") }}



-

Управление

+

{{ $t("app.configure") }}


- Экспорт (svg) - Сохранить (json) - Импорт (json) + {{ $t("app.export_file") }} (svg) + {{ $t("app.save_file") }} (json) + {{ $t("app.import_file") }} (json)

-

Курсор: ({{ xcord }}; {{ ycord }}) | Подробнее

+

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

diff --git a/src/components/BaseSettings.vue b/src/components/BaseSettings.vue index 0bd82dc..0912401 100644 --- a/src/components/BaseSettings.vue +++ b/src/components/BaseSettings.vue @@ -9,15 +9,15 @@ const store = useStore()