mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 23:33:29 +00:00
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:
1 parent
fd92e9fd23
commit
7c3988865d
11 files changed
+15
-14
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user