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
@@ -688,6 +688,15 @@ const dict: Translations = {
'social.requestsTab_other': 'Yêu cầu ({count})',
'social.noFollowing': 'Bạn chưa theo dõi ai.',
'social.noFollowers': 'Chưa có người theo dõi.',
'notif.title': 'Thông báo',
'notif.empty': 'Khi ai đó theo dõi hoặc bỏ theo dõi bạn, bạn sẽ thấy ở đây.',
'notif.error': 'Không tải được thông báo.',
'notif.newFollower': '{name} đã theo dõi bạn',
'notif.followRequest': '{name} muốn theo dõi bạn',
'notif.unfollow': '{name} đã bỏ theo dõi bạn',
'notif.followAccepted': '{name} đã chấp nhận yêu cầu của bạn',
'notif.unread_one': '{count} thông báo mới',
'notif.unread_other': '{count} thông báo mới',
'social.accept': 'Chấp nhận',
'social.decline': 'Từ chối',
'social.removeFollower': 'Gỡ',