source notification text changed
This commit is contained in:
parent
0cac134a1c
commit
6a8fbbf7a4
|
@ -49,12 +49,12 @@ export const notificationPermissionService = {
|
||||||
await browser.Notification.requestPermission()
|
await browser.Notification.requestPermission()
|
||||||
);
|
);
|
||||||
if (state.permission === "denied") {
|
if (state.permission === "denied") {
|
||||||
notification.add(_t("Talisman will not send notifications on this device."), {
|
notification.add(_t("Talisman не будет отправлять уведомления на этом устройстве."), {
|
||||||
type: "warning",
|
type: "warning",
|
||||||
title: _t("Notifications blocked"),
|
title: _t("Notifications blocked"),
|
||||||
});
|
});
|
||||||
} else if (state.permission === "granted") {
|
} else if (state.permission === "granted") {
|
||||||
notification.add(_t("Talisman will send notifications on this device!"), {
|
notification.add(_t("Talisman будет отправлять уведомления на это устройство!"), {
|
||||||
type: "success",
|
type: "success",
|
||||||
title: _t("Notifications allowed"),
|
title: _t("Notifications allowed"),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user