diff --git a/composables/push-notifications/usePushManager.ts b/composables/push-notifications/usePushManager.ts index 72e1e480..30d70241 100644 --- a/composables/push-notifications/usePushManager.ts +++ b/composables/push-notifications/usePushManager.ts @@ -120,6 +120,7 @@ export const usePushManager = () => { return false await removePushNotifications(currentUser.value) + await removePushNotificationData(currentUser.value) } const saveSettings = async (policy?: SubscriptionPolicy) => { diff --git a/locales/en-US.json b/locales/en-US.json index 17f03fdd..6d89c2ea 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -165,7 +165,7 @@ "reblog": "Reblog your post", "title": "What notifications to receive?" }, - "close_btn": "Close desktop notification settings", + "close_btn": "Close push notifications settings", "policy": { "all": "From anyone", "followed": "Of people I follow", @@ -174,17 +174,17 @@ "title": "Who can I receive notifications from?" }, "save_settings": "Save settings changes", - "show_btn": "Show desktop notification settings", - "title": "Desktop notification settings", + "show_btn": "Show push notifications settings", + "title": "Push notifications settings", "undo_settings": "Undo settings changes", - "unsubscribe": "Disable desktop notifications", + "unsubscribe": "Disable push notifications", "unsubscribed_with_warning": "Enable notifications to receive notifications from this account by clicking \"@:notification.settings.warning.enable_desktop{'\"'} button.", - "unsupported": "Your browser does not support desktop notifications.", + "unsupported": "Your browser does not support push notifications.", "warning": { "enable_close": "Close", - "enable_description": "To receive notifications when Elk is not open, enable desktop notifications. You can control precisely what types of interactions generate desktop notifications via the \"Show Settings\" button above once enabled.", - "enable_description_short": "To change desktop notification settings when Elk is not open, you must first enable desktop notifications.", - "enable_desktop": "Enable desktop notifications", + "enable_description": "To receive notifications when Elk is not open, enable push notifications. You can control precisely what types of interactions generate push notifications via the \"@:notification.settings.show_btn{'\"'} button above once enabled.", + "enable_description_short": "To change push notifications settings when Elk is not open, you must first enable push notifications.", + "enable_desktop": "Enable push notifications", "enable_title": "Never miss anything" } }, diff --git a/locales/es-ES.json b/locales/es-ES.json index ccab84fc..c6fddd42 100644 --- a/locales/es-ES.json +++ b/locales/es-ES.json @@ -165,7 +165,7 @@ "reblog": "Retooteo de tus publicaciones", "title": "¿Qué notificaciones recibir?" }, - "close_btn": "Cerrar ajuste de las notificaciones de escritorio", + "close_btn": "Cerrar ajustes de las notificaciones push", "policy": { "all": "De cualquier persona", "followed": "De personas que sigo", @@ -173,18 +173,18 @@ "none": "De nadie", "title": "¿De quién puedo recibir notificaciones?" }, - "save_settings": "Guardar cambios en los ajustes", - "show_btn": "Mostrar ajustes de las notificaciones de escritorio", - "title": "Ajustes de notificaciones de escritorio", - "undo_settings": "Deshacer cambios en los ajustes", - "unsubscribe": "Cancelar notificaciones de escritorio", - "unsubscribed_with_warning": "Habilite las notificaciones para recibir notificaciones de esta cuenta haciendo clic en el botón \"@:notification.settings.warning.enable_desktop{'\"'}.", - "unsupported": "Tu navegador no soporta notificaciones de escritorio.", + "save_settings": "Guardar cambios", + "show_btn": "Mostrar ajustes de las notificaciones push", + "title": "Ajustes de notificaciones push", + "undo_settings": "Deshacer cambios", + "unsubscribe": "Cancelar notificaciones push", + "unsubscribed_with_warning": "Habilite las notificaciones push para recibir notificaciones de esta cuenta haciendo clic en el botón \"@:notification.settings.warning.enable_desktop{'\"'}.", + "unsupported": "Tu navegador no soporta notificaciones push.", "warning": { "enable_close": "Cerrar", - "enable_description": "Para recibir notificaciones cuando Elk no esté abierto, habilite las notificaciones de escritorio. Puedes controlar con precisión qué tipos de interacciones generan notificaciones de escritorio a través del botón \"Mostrar ajustes\" de arriba una vez que estén habilitadas.", - "enable_description_short": "Para cambiar los ajustes de las notificaciones de escritorio cuando Elk no esté abierto, debe habilitar antes las notificaciones de escritorio.", - "enable_desktop": "Habilitar notificaciones de escritorio", + "enable_description": "Para recibir notificaciones cuando Elk no esté abierto, habilite las notificaciones push. Puedes controlar con precisión qué tipos de interacciones generan notificaciones push a través del botón \"@:notification.settings.show_btn{'\"'} de arriba una vez que estén habilitadas.", + "enable_description_short": "Para cambiar los ajustes de las notificaciones push cuando Elk no esté abierto, debe habilitar antes las notificaciones push.", + "enable_desktop": "Habilitar notificaciones push", "enable_title": "Nunca te pierdas nada" } },