FEAT: перевод всплывающего сообщения
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-09-08 23:28:53 +03:00
parent 9da38cad72
commit 22d4d0d6c1
+4 -4
View File
@@ -25,23 +25,23 @@ export function useUpdateApp() {
if (import.meta.env.DEV) console.log('NeedRefresh:', n)
if (n) {
toast.add({
title: 'Update',
title: 'Обновление',
description:
'A newer version of the app is available. Click the “Update” button to install.',
'Доступна более новая версия приложения. Нажмите кнопку “Обновить”, чтобы установить его.',
duration: 0,
icon: 'lucide:cloud-download',
close: false,
actions: [
{
icon: 'lucide:arrow-big-up-dash',
label: 'Update',
label: 'Обновить',
onClick: updateServiceWorker,
color: 'error',
},
{
icon: 'lucide:x',
label: 'Dismiss',
label: 'Отложить',
onClick: close,
variant: 'outline',
},