Fixed notifications VAPID
Build and Publish / Build and Publish Docker Image (push) Successful in 1m26s

This commit is contained in:
Ultradesu
2026-08-08 11:21:23 +01:00
parent 289b1e8d37
commit d6e6075469
6 changed files with 105 additions and 24 deletions
+9
View File
@@ -310,6 +310,9 @@ pub struct Translations {
pub portal_notifications_enable: &'static str,
pub portal_notifications_disable: &'static str,
pub portal_notifications_denied: &'static str,
pub portal_notifications_active: &'static str,
pub portal_notifications_error: &'static str,
pub portal_notifications_unsupported: &'static str,
pub portal_calendar: &'static str,
pub portal_future_visit: &'static str,
pub portal_previous: &'static str,
@@ -456,6 +459,9 @@ static RU: Translations = Translations {
portal_notifications_enable: "Включить уведомления",
portal_notifications_disable: "Отключить уведомления",
portal_notifications_denied: "Уведомления заблокированы в настройках браузера.",
portal_notifications_active: "Уведомления подключены на этом устройстве.",
portal_notifications_error: "Не удалось сохранить подписку. Обновите страницу и попробуйте ещё раз.",
portal_notifications_unsupported: "Этот браузер не поддерживает фоновые уведомления.",
portal_calendar: "Календарь визитов",
portal_future_visit: "Будущий визит",
portal_previous: "Назад",
@@ -703,6 +709,9 @@ static EN: Translations = Translations {
portal_notifications_enable: "Enable notifications",
portal_notifications_disable: "Disable notifications",
portal_notifications_denied: "Notifications are blocked in your browser settings.",
portal_notifications_active: "Notifications are enabled on this device.",
portal_notifications_error: "The subscription could not be saved. Reload the page and try again.",
portal_notifications_unsupported: "This browser does not support background notifications.",
portal_calendar: "Visit calendar",
portal_future_visit: "Future visit",
portal_previous: "Previous",