diff --git a/web/public/static/langs/en.json b/web/public/static/langs/en.json index 38e8e527..296124de 100644 --- a/web/public/static/langs/en.json +++ b/web/public/static/langs/en.json @@ -335,7 +335,7 @@ "prefs_notifications_web_push_title": "Background notifications", "prefs_notifications_web_push_enabled_description": "Notifications are received even when web app is not running (via Web Push)", "prefs_notifications_web_push_disabled_description": "Notification are received when web app is running (via WebSocket)", - "prefs_notifications_web_push_enabled": "Enabled", + "prefs_notifications_web_push_enabled": "Enabled for {{server}}", "prefs_notifications_web_push_disabled": "Disabled", "prefs_users_title": "Manage users", "prefs_users_description": "Add/remove users for your protected topics here. Please note that username and password are stored in the browser's local storage.", diff --git a/web/src/components/Preferences.jsx b/web/src/components/Preferences.jsx index 6a5d2387..6de67d7c 100644 --- a/web/src/components/Preferences.jsx +++ b/web/src/components/Preferences.jsx @@ -36,7 +36,7 @@ import { Info } from "@mui/icons-material"; import { useOutletContext } from "react-router-dom"; import theme from "./theme"; import userManager from "../app/UserManager"; -import { playSound, shuffle, sounds, validUrl } from "../app/utils"; +import { playSound, shortUrl, shuffle, sounds, validUrl } from "../app/utils"; import session from "../app/Session"; import routes from "./routes"; import accountApi, { Permission, Role } from "../app/AccountApi"; @@ -253,7 +253,7 @@ const WebPushEnabled = () => { >