1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +02:00

feat: Delete all notifications (#3529)

* Add delete all notifications option
* chore: `DELETE /api/notifications` as per conventions
* test: can delete all notifications

Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com>
This commit is contained in:
Ian Morland
2022-08-08 20:26:16 +02:00
committed by GitHub
parent b28606b8ef
commit d02bf0faa1
11 changed files with 291 additions and 6 deletions

View File

@@ -394,6 +394,8 @@ core:
# These translations are used by the Notifications dropdown, a.k.a. "the bell".
notifications:
delete_all_confirm: Are you sure you want to delete all notifications? This action is not reversable
delete_all_tooltip: Delete all notifications
discussion_renamed_text: "{username} changed the title"
empty_text: No Notifications
mark_all_as_read_tooltip: => core.ref.mark_all_as_read