Notifications d'abonnement (et rien d'autre)

- Cloche sur l'accueil (avec le nombre non lu) : qui s'abonne, demande à s'abonner,
  se désabonne, ou accepte ma demande ; accepter/refuser une demande directement depuis la liste
- Serveur (migration 20261127120000, déjà appliquée) : déclencheur sur follows, une ligne par
  personne et par sens, 200 max par compte ; rien entre comptes bloqués ou suspendus ;
  retirer un abonné, bloquer ou supprimer un compte ne notifie pas
- Fonctions get_notifications / unread_notifications / mark_notifications_read (comptes connectés seulement)
- Textes dans les 18 langues

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-11-27 16:09:55 +00:00
1 parent 62e04bd67a
commit c66f0f62a6
23 files changed
+444 -3

No files matched your search

+9
View File
@@ -754,6 +754,15 @@ const dict: Translations = {
'social.requestsTab_other': 'Запросы ({count})',
'social.noFollowing': 'Ты пока ни на кого не подписан.',
'social.noFollowers': 'Подписчиков пока нет.',
'notif.title': 'Уведомления',
'notif.empty': 'Когда кто-то подпишется или отпишется, ты увидишь это здесь.',
'notif.error': 'Не удалось загрузить уведомления.',
'notif.newFollower': '{name} подписался(-ась) на тебя',
'notif.followRequest': '{name} хочет подписаться на тебя',
'notif.unfollow': '{name} отписался(-ась) от тебя',
'notif.followAccepted': '{name} принял(а) твой запрос',
'notif.unread_one': '{count} новое уведомление',
'notif.unread_other': 'Новых уведомлений: {count}',
'social.accept': 'Принять',
'social.decline': 'Отклонить',
'social.removeFollower': 'Удалить',