source notification text changed

This commit is contained in:
Воробьев Данил Сергеевич 2024-05-27 17:05:34 +03:00
parent 0cac134a1c
commit 6a8fbbf7a4

View File

@ -49,12 +49,12 @@ export const notificationPermissionService = {
await browser.Notification.requestPermission()
);
if (state.permission === "denied") {
notification.add(_t("Talisman will not send notifications on this device."), {
notification.add(_t("Talisman не будет отправлять уведомления на этом устройстве."), {
type: "warning",
title: _t("Notifications blocked"),
});
} else if (state.permission === "granted") {
notification.add(_t("Talisman will send notifications on this device!"), {
notification.add(_t("Talisman будет отправлять уведомления на это устройство!"), {
type: "success",
title: _t("Notifications allowed"),
});