fix(push): name the real button in the Home Screen hint

The hint for iPhone and iPad Safari ended with "turn on push here", but
the button reads "Enable push"; it now names the button in every
language. The hint is two sentences of steps, so it is shown as content
rather than muted, and the French one uses the typographic apostrophe
like its neighbours.
This commit is contained in:
Marc-André Bombeck committed 2026-11-12 14:05:37 +01:00
1 parent fd92e9fd23
commit 7c3988865d
11 files changed
+15 -14

No files matched your search

+5 -4
View File
@@ -211,11 +211,12 @@ export function WebPushCard() {
{(!loading && unsupported) || (!loading && isDenied) || msg ? (
<div className="space-y-4">
{!loading && unsupported ? (
{!loading && unsupported === "install" ? (
// Steps to follow: content, not meta.
<p className="text-sm">{t("settings.webPushInstallFirst")}</p>
) : !loading && unsupported ? (
<p className="text-muted-foreground text-sm">
{unsupported === "install"
? t("settings.webPushInstallFirst")
: t("settings.webPushNotSupported")}
{t("settings.webPushNotSupported")}
</p>
) : !loading && isDenied ? (
<p className="text-destructive text-sm">