diff --git a/apps/client/src/features/i18n/locales/en.json b/apps/client/src/features/i18n/locales/en.json index 9c4be7e..4a964ef 100644 --- a/apps/client/src/features/i18n/locales/en.json +++ b/apps/client/src/features/i18n/locales/en.json @@ -72,7 +72,12 @@ "available": "Update v{version} available", "install": "Update", "installing": "Updating…", - "error": "Update failed. Grab the new exe manually: GitHub → Releases." + "error": "Update failed. Grab the new exe manually: GitHub → Releases.", + "checkButton": "Check for updates", + "upToDate": "Up to date", + "checkFailed": "Check failed", + "updateTo": "Update to v{version}", + "autoCheckLabel": "Check for updates on startup" }, "overlay": { "heading": "Overlay", diff --git a/apps/client/src/features/i18n/locales/ru.json b/apps/client/src/features/i18n/locales/ru.json index 1a1df13..3883814 100644 --- a/apps/client/src/features/i18n/locales/ru.json +++ b/apps/client/src/features/i18n/locales/ru.json @@ -72,7 +72,12 @@ "available": "Доступно обновление v{version}", "install": "Обновить", "installing": "Обновляем…", - "error": "Не получилось обновиться. Скачай новый exe вручную: GitHub → Releases." + "error": "Не получилось обновиться. Скачай новый exe вручную: GitHub → Releases.", + "checkButton": "Проверить обновления", + "upToDate": "Актуальная версия", + "checkFailed": "Не удалось проверить", + "updateTo": "Обновить до v{version}", + "autoCheckLabel": "Проверять обновления при запуске" }, "overlay": { "heading": "Оверлей", diff --git a/apps/client/src/features/settings/SettingsPanel.vue b/apps/client/src/features/settings/SettingsPanel.vue index 4f3f065..ecb86a7 100644 --- a/apps/client/src/features/settings/SettingsPanel.vue +++ b/apps/client/src/features/settings/SettingsPanel.vue @@ -2,6 +2,7 @@ import { z } from 'zod'; import { useSettingsSections } from './registry'; import { persistedRef } from '@/shared/persisted-store'; +import AboutFooter from '@/features/updater/components/AboutFooter.vue'; const { t } = useI18n(); const systemSections = useSettingsSections(); @@ -67,5 +68,8 @@ const openSections = persistedRef( + + diff --git a/apps/client/src/features/updater/components/AboutFooter.vue b/apps/client/src/features/updater/components/AboutFooter.vue new file mode 100644 index 0000000..b71c17d --- /dev/null +++ b/apps/client/src/features/updater/components/AboutFooter.vue @@ -0,0 +1,87 @@ + + + diff --git a/apps/client/src/features/updater/components/UpdateBanner.vue b/apps/client/src/features/updater/components/UpdateBanner.vue index f35b2b4..b12d3c9 100644 --- a/apps/client/src/features/updater/components/UpdateBanner.vue +++ b/apps/client/src/features/updater/components/UpdateBanner.vue @@ -1,49 +1,19 @@