Skip to content

A platform for community discussion. Free, open, simple.

UX: Remove unused strings about desktop notifications

Gerhard Schlagera40e9d9cb58e
diff --git a/app/assets/javascripts/discourse/templates/components/desktop-notification-config.hbs b/app/assets/javascripts/discourse/templates/components/desktop-notification-config.hbs
index b5dce6e3603..4b1ea0f1112 100644
--- a/app/assets/javascripts/discourse/templates/components/desktop-notification-config.hbs
+++ b/app/assets/javascripts/discourse/templates/components/desktop-notification-config.hbs
@@ -7,9 +7,7 @@
{{else}}
{{#if isEnabled}}
{{d-button icon="far-bell-slash" class="btn-default" label="user.desktop_notifications.disable" action=(action "turnoff")}}
- {{i18n "user.desktop_notifications.currently_enabled"}}
{{else}}
{{d-button icon="far-bell" class="btn-default" label="user.desktop_notifications.enable" action=(action "turnon")}}
- {{i18n "user.desktop_notifications.currently_disabled"}}
{{/if}}
{{/if}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index f8161e0ba2e..8053da1b205 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -806,9 +806,7 @@ en:
perm_denied_btn: "Permission Denied"
perm_denied_expl: "You denied permission for notifications. Allow notifications via your browser settings."
disable: "Disable Notifications"
- currently_enabled: ""
enable: "Enable Notifications"
- currently_disabled: ""
each_browser_note: "Note: You have to change this setting on every browser you use."
consent_prompt: "Do you want live notifications when people reply to your posts?"
dismiss: "Dismiss"