feat(i18n): add translations for subscriptions subtitle

Replace hardcoded subscriptions subtitle string with i18next translation supporting pluralization across all 35 languages
This commit is contained in:
plebeius
2025-12-15 16:53:36 +01:00
parent fd3c7b11ca
commit bb596bff0d
36 changed files with 106 additions and 36 deletions
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "نسخ معرف المحتوى", "copy_content_id": "نسخ معرف المحتوى",
"delete_avatar": "حذف الصورة الرمزية", "delete_avatar": "حذف الصورة الرمزية",
"updates": "التحديثات", "updates": "التحديثات",
"downloading_board": "جارٍ تنزيل المنتدى" "downloading_board": "جارٍ تنزيل المنتدى",
"subscriptions_subtitle": "لقد اشتركت في {{count}} لوحة",
"subscriptions_subtitle_one": "لقد اشتركت في لوحة واحدة"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "কনটেন্ট আইডি কপি করুন", "copy_content_id": "কনটেন্ট আইডি কপি করুন",
"delete_avatar": "অবতার মুছুন", "delete_avatar": "অবতার মুছুন",
"updates": "আপডেট", "updates": "আপডেট",
"downloading_board": "বোর্ড ডাউনলোড করা হচ্ছে" "downloading_board": "বোর্ড ডাউনলোড করা হচ্ছে",
"subscriptions_subtitle": "আপনি {{count}}টি board-এ সাবস্ক্রাইব করেছেন",
"subscriptions_subtitle_one": "আপনি ১টি board-এ সাবস্ক্রাইব করেছেন"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "kopírovat ID obsahu", "copy_content_id": "kopírovat ID obsahu",
"delete_avatar": "Smazat avatar", "delete_avatar": "Smazat avatar",
"updates": "Aktualizace", "updates": "Aktualizace",
"downloading_board": "stahování fóra" "downloading_board": "stahování fóra",
"subscriptions_subtitle": "Přihlásili jste se k {{count}} boardu",
"subscriptions_subtitle_one": "Přihlásili jste se k {{count}} boardu"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "kopier indhold-ID", "copy_content_id": "kopier indhold-ID",
"delete_avatar": "Slet avatar", "delete_avatar": "Slet avatar",
"updates": "Opdateringer", "updates": "Opdateringer",
"downloading_board": "downloader forum" "downloading_board": "downloader forum",
"subscriptions_subtitle": "Du har abonneret på {{count}} board",
"subscriptions_subtitle_one": "Du har abonneret på {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "Inhalts-ID kopieren", "copy_content_id": "Inhalts-ID kopieren",
"delete_avatar": "Avatar löschen", "delete_avatar": "Avatar löschen",
"updates": "Aktualisierungen", "updates": "Aktualisierungen",
"downloading_board": "Forum wird heruntergeladen" "downloading_board": "Forum wird heruntergeladen",
"subscriptions_subtitle": "Sie haben {{count}} Board abonniert",
"subscriptions_subtitle_one": "Sie haben {{count}} Board abonniert"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "αντιγραφή ID περιεχομένου", "copy_content_id": "αντιγραφή ID περιεχομένου",
"delete_avatar": "Διαγραφή avatar", "delete_avatar": "Διαγραφή avatar",
"updates": "Ενημερώσεις", "updates": "Ενημερώσεις",
"downloading_board": "λήψη φόρουμ" "downloading_board": "λήψη φόρουμ",
"subscriptions_subtitle": "Έχετε εγγραφεί σε {{count}} board",
"subscriptions_subtitle_one": "Έχετε εγγραφεί σε {{count}} board"
} }
+3 -1
View File
@@ -298,5 +298,7 @@
"more_threads_last_year": "{{count}} threads since {{currentTimeFilterName}} — [<1>Show More Threads from Last Year</1>]", "more_threads_last_year": "{{count}} threads since {{currentTimeFilterName}} — [<1>Show More Threads from Last Year</1>]",
"moderator_of_this_board": "This user is a moderator of this board", "moderator_of_this_board": "This user is a moderator of this board",
"administrator_of_this_board": "This user is an administrator of this board", "administrator_of_this_board": "This user is an administrator of this board",
"copy_content_id": "Copy content ID" "copy_content_id": "Copy content ID",
"subscriptions_subtitle": "You have subscribed to {{count}} boards",
"subscriptions_subtitle_one": "You have subscribed to {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "Copiar ID de contenido", "copy_content_id": "Copiar ID de contenido",
"delete_avatar": "Eliminar avatar", "delete_avatar": "Eliminar avatar",
"updates": "Actualizaciones", "updates": "Actualizaciones",
"downloading_board": "descargando foro" "downloading_board": "descargando foro",
"subscriptions_subtitle": "Te has suscrito a {{count}} board",
"subscriptions_subtitle_one": "Te has suscrito a {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "کپی شناسه محتوا", "copy_content_id": "کپی شناسه محتوا",
"delete_avatar": "حذف آواتار", "delete_avatar": "حذف آواتار",
"updates": "به‌روزرسانی‌ها", "updates": "به‌روزرسانی‌ها",
"downloading_board": "در حال دانلود تالار" "downloading_board": "در حال دانلود تالار",
"subscriptions_subtitle": "شما به {{count}} board مشترک شده‌اید",
"subscriptions_subtitle_one": "شما به {{count}} board مشترک شده‌اید"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "kopioi sisältö-ID", "copy_content_id": "kopioi sisältö-ID",
"delete_avatar": "Poista avatar", "delete_avatar": "Poista avatar",
"updates": "Päivitykset", "updates": "Päivitykset",
"downloading_board": "ladataan foorumia" "downloading_board": "ladataan foorumia",
"subscriptions_subtitle": "Olet tilannut {{count}} boardia",
"subscriptions_subtitle_one": "Olet tilannut {{count}} boardin"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "kopyahin ang content ID", "copy_content_id": "kopyahin ang content ID",
"delete_avatar": "Tanggalin ang avatar", "delete_avatar": "Tanggalin ang avatar",
"updates": "Mga Update", "updates": "Mga Update",
"downloading_board": "nagda-download ng board" "downloading_board": "nagda-download ng board",
"subscriptions_subtitle": "Nag-subscribe ka sa {{count}} na board",
"subscriptions_subtitle_one": "Nag-subscribe ka sa {{count}} na board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "Copier l'ID du contenu", "copy_content_id": "Copier l'ID du contenu",
"delete_avatar": "Supprimer l'avatar", "delete_avatar": "Supprimer l'avatar",
"updates": "Mises à jour", "updates": "Mises à jour",
"downloading_board": "téléchargement du forum" "downloading_board": "téléchargement du forum",
"subscriptions_subtitle": "Vous vous êtes abonné à {{count}} board",
"subscriptions_subtitle_one": "Vous vous êtes abonné à {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "העתק מזהה תוכן", "copy_content_id": "העתק מזהה תוכן",
"delete_avatar": "מחק אווטר", "delete_avatar": "מחק אווטר",
"updates": "עדכונים", "updates": "עדכונים",
"downloading_board": "מוריד פורום" "downloading_board": "מוריד פורום",
"subscriptions_subtitle": "נרשמת ל-{{count}} board",
"subscriptions_subtitle_one": "נרשמת ל-board אחד"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "कंटेंट ID कॉपी करें", "copy_content_id": "कंटेंट ID कॉपी करें",
"delete_avatar": "अवतार हटाएं", "delete_avatar": "अवतार हटाएं",
"updates": "अपडेट", "updates": "अपडेट",
"downloading_board": "फोरम डाउनलोड हो रहा है" "downloading_board": "फोरम डाउनलोड हो रहा है",
"subscriptions_subtitle": "आपने {{count}} board की सदस्यता ली है",
"subscriptions_subtitle_one": "आपने {{count}} board की सदस्यता ली है"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "tartalom ID másolása", "copy_content_id": "tartalom ID másolása",
"delete_avatar": "Avatar törlése", "delete_avatar": "Avatar törlése",
"updates": "Frissítések", "updates": "Frissítések",
"downloading_board": "fórum letöltése" "downloading_board": "fórum letöltése",
"subscriptions_subtitle": "Feliratkoztál {{count}} boardra",
"subscriptions_subtitle_one": "Feliratkoztál {{count}} boardra"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "salin ID konten", "copy_content_id": "salin ID konten",
"delete_avatar": "Hapus avatar", "delete_avatar": "Hapus avatar",
"updates": "Pembaruan", "updates": "Pembaruan",
"downloading_board": "mengunduh forum" "downloading_board": "mengunduh forum",
"subscriptions_subtitle": "Anda telah berlangganan {{count}} board",
"subscriptions_subtitle_one": "Anda telah berlangganan {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "Copia ID contenuto", "copy_content_id": "Copia ID contenuto",
"delete_avatar": "Elimina avatar", "delete_avatar": "Elimina avatar",
"updates": "Aggiornamenti", "updates": "Aggiornamenti",
"downloading_board": "scaricando board" "downloading_board": "scaricando board",
"subscriptions_subtitle": "Ti sei iscritto a {{count}} board",
"subscriptions_subtitle_one": "Ti sei iscritto a {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "コンテンツIDをコピー", "copy_content_id": "コンテンツIDをコピー",
"delete_avatar": "アバターを削除", "delete_avatar": "アバターを削除",
"updates": "更新", "updates": "更新",
"downloading_board": "掲示板をダウンロード中" "downloading_board": "掲示板をダウンロード中",
"subscriptions_subtitle": "{{count}}個のboardを購読しています",
"subscriptions_subtitle_one": "{{count}}個のboardを購読しています"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "콘텐츠 ID 복사", "copy_content_id": "콘텐츠 ID 복사",
"delete_avatar": "아바타 삭제", "delete_avatar": "아바타 삭제",
"updates": "업데이트", "updates": "업데이트",
"downloading_board": "게시판 다운로드 중" "downloading_board": "게시판 다운로드 중",
"subscriptions_subtitle": "{{count}}개의 board를 구독했습니다",
"subscriptions_subtitle_one": "{{count}}개의 board를 구독했습니다"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "कंटेंट ID कॉपी करा", "copy_content_id": "कंटेंट ID कॉपी करा",
"delete_avatar": "अवतार हटवा", "delete_avatar": "अवतार हटवा",
"updates": "अपडेट्स", "updates": "अपडेट्स",
"downloading_board": "फोरम डाउनलोड करत आहे" "downloading_board": "फोरम डाउनलोड करत आहे",
"subscriptions_subtitle": "तुम्ही {{count}} board ला सदस्यता घेतली आहे",
"subscriptions_subtitle_one": "तुम्ही {{count}} board ला सदस्यता घेतली आहे"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "kopieer inhoud-ID", "copy_content_id": "kopieer inhoud-ID",
"delete_avatar": "Avatar verwijderen", "delete_avatar": "Avatar verwijderen",
"updates": "Updates", "updates": "Updates",
"downloading_board": "board downloaden" "downloading_board": "board downloaden",
"subscriptions_subtitle": "Je bent geabonneerd op {{count}} board",
"subscriptions_subtitle_one": "Je bent geabonneerd op {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "kopier innhold-ID", "copy_content_id": "kopier innhold-ID",
"delete_avatar": "Slett avatar", "delete_avatar": "Slett avatar",
"updates": "Oppdateringer", "updates": "Oppdateringer",
"downloading_board": "laster ned forum" "downloading_board": "laster ned forum",
"subscriptions_subtitle": "Du har abonnert på {{count}} board",
"subscriptions_subtitle_one": "Du har abonnert på {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "skopiuj ID treści", "copy_content_id": "skopiuj ID treści",
"delete_avatar": "Usuń avatar", "delete_avatar": "Usuń avatar",
"updates": "Aktualizacje", "updates": "Aktualizacje",
"downloading_board": "pobieranie forum" "downloading_board": "pobieranie forum",
"subscriptions_subtitle": "Subskrybujesz {{count}} board",
"subscriptions_subtitle_one": "Subskrybujesz {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "Copiar ID do conteúdo", "copy_content_id": "Copiar ID do conteúdo",
"delete_avatar": "Excluir avatar", "delete_avatar": "Excluir avatar",
"updates": "Atualizações", "updates": "Atualizações",
"downloading_board": "baixando fórum" "downloading_board": "baixando fórum",
"subscriptions_subtitle": "Você se inscreveu em {{count}} board",
"subscriptions_subtitle_one": "Você se inscreveu em {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "copiați ID-ul conținutului", "copy_content_id": "copiați ID-ul conținutului",
"delete_avatar": "Șterge avatar", "delete_avatar": "Șterge avatar",
"updates": "Actualizări", "updates": "Actualizări",
"downloading_board": "se descarcă forumul" "downloading_board": "se descarcă forumul",
"subscriptions_subtitle": "Te-ai abonat la {{count}} board",
"subscriptions_subtitle_one": "Te-ai abonat la {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "копировать ID контента", "copy_content_id": "копировать ID контента",
"delete_avatar": "Удалить аватар", "delete_avatar": "Удалить аватар",
"updates": "Обновления", "updates": "Обновления",
"downloading_board": "загрузка форума" "downloading_board": "загрузка форума",
"subscriptions_subtitle": "Вы подписались на {{count}} board",
"subscriptions_subtitle_one": "Вы подписались на {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "kopjo ID e përmbajtjes", "copy_content_id": "kopjo ID e përmbajtjes",
"delete_avatar": "Fshi avatarin", "delete_avatar": "Fshi avatarin",
"updates": "Përditësime", "updates": "Përditësime",
"downloading_board": "duke shkarkuar forum" "downloading_board": "duke shkarkuar forum",
"subscriptions_subtitle": "Jeni abonuar në {{count}} board",
"subscriptions_subtitle_one": "Jeni abonuar në {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "kopiera innehålls-ID", "copy_content_id": "kopiera innehålls-ID",
"delete_avatar": "Ta bort avatar", "delete_avatar": "Ta bort avatar",
"updates": "Uppdateringar", "updates": "Uppdateringar",
"downloading_board": "laddar ner forum" "downloading_board": "laddar ner forum",
"subscriptions_subtitle": "Du har prenumererat på {{count}} board",
"subscriptions_subtitle_one": "Du har prenumererat på {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "కంటెంట్ ID కాపీ చేయండి", "copy_content_id": "కంటెంట్ ID కాపీ చేయండి",
"delete_avatar": "అవతార్ను తొలగించు", "delete_avatar": "అవతార్ను తొలగించు",
"updates": "నవీకరణలు", "updates": "నవీకరణలు",
"downloading_board": "ఫోరం డౌన్‌లోడ్ చేయడం" "downloading_board": "ఫోరం డౌన్‌లోడ్ చేయడం",
"subscriptions_subtitle": "మీరు {{count}} boardకు సభ్యత్వం పొందారు",
"subscriptions_subtitle_one": "మీరు {{count}} boardకు సభ్యత్వం పొందారు"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "คัดลอก ID เนื้อหา", "copy_content_id": "คัดลอก ID เนื้อหา",
"delete_avatar": "ลบอวตาร", "delete_avatar": "ลบอวตาร",
"updates": "อัปเดต", "updates": "อัปเดต",
"downloading_board": "กำลังดาวน์โหลดกระดาน" "downloading_board": "กำลังดาวน์โหลดกระดาน",
"subscriptions_subtitle": "คุณได้สมัครสมาชิก {{count}} board แล้ว",
"subscriptions_subtitle_one": "คุณได้สมัครสมาชิก {{count}} board แล้ว"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "içerik ID'sini kopyala", "copy_content_id": "içerik ID'sini kopyala",
"delete_avatar": "Avatarı sil", "delete_avatar": "Avatarı sil",
"updates": "Güncellemeler", "updates": "Güncellemeler",
"downloading_board": "forum indiriliyor" "downloading_board": "forum indiriliyor",
"subscriptions_subtitle": "{{count}} board'a abone oldunuz",
"subscriptions_subtitle_one": "{{count}} board'a abone oldunuz"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "копіювати ID контенту", "copy_content_id": "копіювати ID контенту",
"delete_avatar": "Видалити аватар", "delete_avatar": "Видалити аватар",
"updates": "Оновлення", "updates": "Оновлення",
"downloading_board": "завантаження форуму" "downloading_board": "завантаження форуму",
"subscriptions_subtitle": "Ви підписались на {{count}} board",
"subscriptions_subtitle_one": "Ви підписались на {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "مواد کی شناخت کاپی کریں", "copy_content_id": "مواد کی شناخت کاپی کریں",
"delete_avatar": "اوتار حذف کریں", "delete_avatar": "اوتار حذف کریں",
"updates": "اپڈیٹس", "updates": "اپڈیٹس",
"downloading_board": "فورم ڈاؤن لوڈ ہو رہا ہے" "downloading_board": "فورم ڈاؤن لوڈ ہو رہا ہے",
"subscriptions_subtitle": "آپ نے {{count}} board کی سبسکرپشن لی ہے",
"subscriptions_subtitle_one": "آپ نے {{count}} board کی سبسکرپشن لی ہے"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "sao chép ID nội dung", "copy_content_id": "sao chép ID nội dung",
"delete_avatar": "Xóa avatar", "delete_avatar": "Xóa avatar",
"updates": "Cập nhật", "updates": "Cập nhật",
"downloading_board": "đang tải diễn đàn" "downloading_board": "đang tải diễn đàn",
"subscriptions_subtitle": "Bạn đã đăng ký {{count}} board",
"subscriptions_subtitle_one": "Bạn đã đăng ký {{count}} board"
} }
+3 -1
View File
@@ -299,5 +299,7 @@
"copy_content_id": "复制内容ID", "copy_content_id": "复制内容ID",
"delete_avatar": "删除头像", "delete_avatar": "删除头像",
"updates": "更新", "updates": "更新",
"downloading_board": "正在下载论坛" "downloading_board": "正在下载论坛",
"subscriptions_subtitle": "您已订阅 {{count}} 个 board",
"subscriptions_subtitle_one": "您已订阅 {{count}} 个 board"
} }
+1 -1
View File
@@ -45,7 +45,7 @@ const BoardHeader = () => {
const account = useAccount() || {}; const account = useAccount() || {};
const subscriptions = account?.subscriptions || []; const subscriptions = account?.subscriptions || [];
const subscriptionsSubtitle = subscriptions?.length === 1 ? `${subscriptions?.length} subscription` : `${subscriptions?.length} subscriptions`; const subscriptionsSubtitle = t('subscriptions_subtitle', { count: subscriptions?.length || 0 });
const title = isInAllView const title = isInAllView
? multisubMetadata?.title || '/all/ - 5chan Directories' ? multisubMetadata?.title || '/all/ - 5chan Directories'