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': 'रिक्वेस्ट ({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': 'हटाएँ',