fix: disable push notifications & update push notifications texts (#518)
parent
2124e8046a
commit
6b7a8baa8e
|
@ -120,6 +120,7 @@ export const usePushManager = () => {
|
||||||
return false
|
return false
|
||||||
|
|
||||||
await removePushNotifications(currentUser.value)
|
await removePushNotifications(currentUser.value)
|
||||||
|
await removePushNotificationData(currentUser.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
const saveSettings = async (policy?: SubscriptionPolicy) => {
|
const saveSettings = async (policy?: SubscriptionPolicy) => {
|
||||||
|
|
|
@ -165,7 +165,7 @@
|
||||||
"reblog": "Reblog your post",
|
"reblog": "Reblog your post",
|
||||||
"title": "What notifications to receive?"
|
"title": "What notifications to receive?"
|
||||||
},
|
},
|
||||||
"close_btn": "Close desktop notification settings",
|
"close_btn": "Close push notifications settings",
|
||||||
"policy": {
|
"policy": {
|
||||||
"all": "From anyone",
|
"all": "From anyone",
|
||||||
"followed": "Of people I follow",
|
"followed": "Of people I follow",
|
||||||
|
@ -174,17 +174,17 @@
|
||||||
"title": "Who can I receive notifications from?"
|
"title": "Who can I receive notifications from?"
|
||||||
},
|
},
|
||||||
"save_settings": "Save settings changes",
|
"save_settings": "Save settings changes",
|
||||||
"show_btn": "Show desktop notification settings",
|
"show_btn": "Show push notifications settings",
|
||||||
"title": "Desktop notification settings",
|
"title": "Push notifications settings",
|
||||||
"undo_settings": "Undo settings changes",
|
"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.",
|
"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": {
|
"warning": {
|
||||||
"enable_close": "Close",
|
"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": "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 desktop notification settings when Elk is not open, you must first enable desktop notifications.",
|
"enable_description_short": "To change push notifications settings when Elk is not open, you must first enable push notifications.",
|
||||||
"enable_desktop": "Enable desktop notifications",
|
"enable_desktop": "Enable push notifications",
|
||||||
"enable_title": "Never miss anything"
|
"enable_title": "Never miss anything"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -165,7 +165,7 @@
|
||||||
"reblog": "Retooteo de tus publicaciones",
|
"reblog": "Retooteo de tus publicaciones",
|
||||||
"title": "¿Qué notificaciones recibir?"
|
"title": "¿Qué notificaciones recibir?"
|
||||||
},
|
},
|
||||||
"close_btn": "Cerrar ajuste de las notificaciones de escritorio",
|
"close_btn": "Cerrar ajustes de las notificaciones push",
|
||||||
"policy": {
|
"policy": {
|
||||||
"all": "De cualquier persona",
|
"all": "De cualquier persona",
|
||||||
"followed": "De personas que sigo",
|
"followed": "De personas que sigo",
|
||||||
|
@ -173,18 +173,18 @@
|
||||||
"none": "De nadie",
|
"none": "De nadie",
|
||||||
"title": "¿De quién puedo recibir notificaciones?"
|
"title": "¿De quién puedo recibir notificaciones?"
|
||||||
},
|
},
|
||||||
"save_settings": "Guardar cambios en los ajustes",
|
"save_settings": "Guardar cambios",
|
||||||
"show_btn": "Mostrar ajustes de las notificaciones de escritorio",
|
"show_btn": "Mostrar ajustes de las notificaciones push",
|
||||||
"title": "Ajustes de notificaciones de escritorio",
|
"title": "Ajustes de notificaciones push",
|
||||||
"undo_settings": "Deshacer cambios en los ajustes",
|
"undo_settings": "Deshacer cambios",
|
||||||
"unsubscribe": "Cancelar notificaciones de escritorio",
|
"unsubscribe": "Cancelar notificaciones push",
|
||||||
"unsubscribed_with_warning": "Habilite las notificaciones para recibir notificaciones de esta cuenta haciendo clic en el botón \"@:notification.settings.warning.enable_desktop{'\"'}.",
|
"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 de escritorio.",
|
"unsupported": "Tu navegador no soporta notificaciones push.",
|
||||||
"warning": {
|
"warning": {
|
||||||
"enable_close": "Cerrar",
|
"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": "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 de escritorio cuando Elk no esté abierto, debe habilitar antes las notificaciones de escritorio.",
|
"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 de escritorio",
|
"enable_desktop": "Habilitar notificaciones push",
|
||||||
"enable_title": "Nunca te pierdas nada"
|
"enable_title": "Nunca te pierdas nada"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue