diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index d90b8f8f..6d62118f 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -231,5 +231,6 @@ "pattern": "نمط", "enable": "تفعيل", "order": "ترتيب", - "text": "نص" + "text": "نص", + "filtered_threads": "المواضيع المفلترة" } \ No newline at end of file diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index 1838abbb..db3b5750 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -231,5 +231,6 @@ "pattern": "প্যাটার্ন", "enable": "সক্রিয় করুন", "order": "অর্ডার", - "text": "টেক্সট" + "text": "টেক্সট", + "filtered_threads": "ফিল্টার করা থ্রেড" } \ No newline at end of file diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index e3fff362..845cde9f 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -231,5 +231,6 @@ "pattern": "Vzor", "enable": "Povolit", "order": "Pořadí", - "text": "Text" + "text": "Text", + "filtered_threads": "Filtr threads" } \ No newline at end of file diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 52db8104..a84f4637 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -231,5 +231,6 @@ "pattern": "Mønster", "enable": "Aktiver", "order": "Rækkefølge", - "text": "Tekst" + "text": "Tekst", + "filtered_threads": "Filtrerede tråde" } \ No newline at end of file diff --git a/public/translations/de/default.json b/public/translations/de/default.json index 8789fe4c..112c6fa8 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -231,5 +231,6 @@ "pattern": "Muster", "enable": "Aktivieren", "order": "Reihenfolge", - "text": "Text" + "text": "Text", + "filtered_threads": "Gefilterte Threads" } \ No newline at end of file diff --git a/public/translations/el/default.json b/public/translations/el/default.json index 6bb0ec2c..311fd2be 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -231,5 +231,6 @@ "pattern": "Μοτίβο", "enable": "Ενεργοποιήστε", "order": "Σειρά", - "text": "Κείμενο" + "text": "Κείμενο", + "filtered_threads": "Φιλτραρισμένα θέματα" } \ No newline at end of file diff --git a/public/translations/en/default.json b/public/translations/en/default.json index 774022eb..e75f74a3 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -231,5 +231,6 @@ "pattern": "Pattern", "enable": "Enable", "order": "Order", - "text": "Text" + "text": "Text", + "filtered_threads": "Filtered threads" } \ No newline at end of file diff --git a/public/translations/es/default.json b/public/translations/es/default.json index 925c8a00..dc97a8ef 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -231,5 +231,6 @@ "pattern": "Patrón", "enable": "Habilitar", "order": "Orden", - "text": "Texto" + "text": "Texto", + "filtered_threads": "Hilos filtrados" } \ No newline at end of file diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index 6f4737b1..c4985757 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -231,5 +231,6 @@ "pattern": "الگو", "enable": "فعال کردن", "order": "ترتیب", - "text": "متن" + "text": "متن", + "filtered_threads": "رشته‌های فیلتر شده" } \ No newline at end of file diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index c79041be..ed89eb7f 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -231,5 +231,6 @@ "pattern": "Malli", "enable": "Ota käyttöön", "order": "Järjestys", - "text": "Teksti" + "text": "Teksti", + "filtered_threads": "Suodatetut ketjut" } \ No newline at end of file diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index 92d72bae..236265de 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -231,5 +231,6 @@ "pattern": "Pattern", "enable": "I-enable", "order": "Kaayusan", - "text": "Teksto" + "text": "Teksto", + "filtered_threads": "Na-filter na mga thread" } \ No newline at end of file diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index eb1696c8..9cda61cc 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -231,5 +231,6 @@ "pattern": "Modèle", "enable": "Activer", "order": "Ordre", - "text": "Texte" + "text": "Texte", + "filtered_threads": "Threads filtrés" } \ No newline at end of file diff --git a/public/translations/he/default.json b/public/translations/he/default.json index 8192f3af..69017065 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -231,5 +231,6 @@ "pattern": "תבנית", "enable": "הפעל", "order": "סדר", - "text": "טקסט" + "text": "טקסט", + "filtered_threads": "אשכולות ממוינים" } \ No newline at end of file diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index 65126a05..f79e6d21 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -231,5 +231,6 @@ "pattern": "पैटर्न", "enable": "सक्षम करें", "order": "क्रम", - "text": "पाठ" + "text": "पाठ", + "filtered_threads": "फ़िल्टर किए गए थ्रेड्स" } \ No newline at end of file diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index b4ba5efa..6cff3556 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -231,5 +231,6 @@ "pattern": "Minta", "enable": "Engedélyez", "order": "Rendelés", - "text": "Szöveg" + "text": "Szöveg", + "filtered_threads": "Szűrt szálak" } \ No newline at end of file diff --git a/public/translations/id/default.json b/public/translations/id/default.json index e6ebd4d9..8ac959ec 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -231,5 +231,6 @@ "pattern": "Pola", "enable": "Aktifkan", "order": "Urutan", - "text": "Teks" + "text": "Teks", + "filtered_threads": "Thread yang difilter" } \ No newline at end of file diff --git a/public/translations/it/default.json b/public/translations/it/default.json index e7002042..07424503 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -231,5 +231,6 @@ "pattern": "Modello", "enable": "Abilita", "order": "Ordine", - "text": "Testo" + "text": "Testo", + "filtered_threads": "Thread filtrati" } \ No newline at end of file diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index 90594a77..f343c653 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -231,5 +231,6 @@ "pattern": "パターン", "enable": "有効にする", "order": "順序", - "text": "テキスト" + "text": "テキスト", + "filtered_threads": "フィルタリングされたスレッド" } \ No newline at end of file diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index d26698e8..232f3c3c 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -231,5 +231,6 @@ "pattern": "패턴", "enable": "사용", "order": "순서", - "text": "텍스트" + "text": "텍스트", + "filtered_threads": "필터링된 스레드" } \ No newline at end of file diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index 966c6a06..9c652d20 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -231,5 +231,6 @@ "pattern": "पॅटर्न", "enable": "सक्षम करा", "order": "आदेश", - "text": "पाठ" + "text": "पाठ", + "filtered_threads": "फिल्टर केलेले ध糹रे" } \ No newline at end of file diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index b9f5337a..996ac291 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -231,5 +231,6 @@ "pattern": "Patroon", "enable": "Inschakelen", "order": "Volgorde", - "text": "Tekst" + "text": "Tekst", + "filtered_threads": "Gefilterde threads" } \ No newline at end of file diff --git a/public/translations/no/default.json b/public/translations/no/default.json index a7974ec4..39c41233 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -231,5 +231,6 @@ "pattern": "Mønster", "enable": "Aktiver", "order": "Rekkefølge", - "text": "Tekst" + "text": "Tekst", + "filtered_threads": "Filtrerte tråder" } \ No newline at end of file diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 0c5cddc2..9dac3e8a 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -231,5 +231,6 @@ "pattern": "Wzór", "enable": "Włącz", "order": "Kolejność", - "text": "Tekst" + "text": "Tekst", + "filtered_threads": "Filtrowane wątki" } \ No newline at end of file diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index b2f2b35d..62882f0d 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -231,5 +231,6 @@ "pattern": "Padrão", "enable": "Ativar", "order": "Ordem", - "text": "Texto" + "text": "Texto", + "filtered_threads": "Threads filtrados" } \ No newline at end of file diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index 65037c55..d605b60f 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -231,5 +231,6 @@ "pattern": "Model", "enable": "Activare", "order": "Ordine", - "text": "Text" + "text": "Text", + "filtered_threads": "Fire filtrate" } \ No newline at end of file diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index 34062f79..163bfceb 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -231,5 +231,6 @@ "pattern": "Шаблон", "enable": "Включить", "order": "Порядок", - "text": "Текст" + "text": "Текст", + "filtered_threads": "Отфильтрованные темы" } \ No newline at end of file diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index fa3beff2..178fd403 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -231,5 +231,6 @@ "pattern": "Model", "enable": "Aktivizo", "order": "Rendit", - "text": "Tekst" + "text": "Tekst", + "filtered_threads": "Tema të filtruar" } \ No newline at end of file diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index 4aaaa577..dddabc73 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -231,5 +231,6 @@ "pattern": "Mönster", "enable": "Aktivera", "order": "Ordning", - "text": "Text" + "text": "Text", + "filtered_threads": "Filtrerade trådar" } \ No newline at end of file diff --git a/public/translations/te/default.json b/public/translations/te/default.json index 1578d263..0ec40ee5 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -231,5 +231,6 @@ "pattern": "ప్యాటర్న్", "enable": "చేర్చు", "order": "ఆర్డర్", - "text": "పాఠం" + "text": "పాఠం", + "filtered_threads": "ఫిల్టర్ చేయబడిన థ్రెడ్లు" } \ No newline at end of file diff --git a/public/translations/th/default.json b/public/translations/th/default.json index 233c6408..bd6871a2 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -231,5 +231,6 @@ "pattern": "รูปแบบ", "enable": "เปิดใช้งาน", "order": "ลำดับ", - "text": "ข้อความ" + "text": "ข้อความ", + "filtered_threads": "กระทู้ที่กรองแล้ว" } \ No newline at end of file diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index 3a1939be..9cd9cf29 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -231,5 +231,6 @@ "pattern": "Desen", "enable": "Etkinleştir", "order": "Sıra", - "text": "Metin" + "text": "Metin", + "filtered_threads": "Filtrelenmiş başlıklar" } \ No newline at end of file diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index 2cf13783..88fbe0c6 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -231,5 +231,6 @@ "pattern": "Шаблон", "enable": "Увімкнути", "order": "Порядок", - "text": "Текст" + "text": "Текст", + "filtered_threads": "Відфільтровані треди" } \ No newline at end of file diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index 162a3311..1aba0d29 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -231,5 +231,6 @@ "pattern": "نمونہ", "enable": "فعال کریں", "order": "ترتیب", - "text": "متن" + "text": "متن", + "filtered_threads": "فلٹر کیے گئے تھریڈز" } \ No newline at end of file diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index eba3ff84..2a06a18f 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -231,5 +231,6 @@ "pattern": "Mẫu", "enable": "Kích hoạt", "order": "Thứ tự", - "text": "Văn bản" + "text": "Văn bản", + "filtered_threads": "Các chủ đề đã lọc" } \ No newline at end of file diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index 660b8320..8532e16d 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -231,5 +231,6 @@ "pattern": "模式", "enable": "启用", "order": "顺序", - "text": "文本" + "text": "文本", + "filtered_threads": "已过滤的帖子" } \ No newline at end of file diff --git a/src/components/board-buttons/board-buttons.module.css b/src/components/board-buttons/board-buttons.module.css index ee4bbc79..00c1e533 100644 --- a/src/components/board-buttons/board-buttons.module.css +++ b/src/components/board-buttons/board-buttons.module.css @@ -83,6 +83,10 @@ text-transform: none !important; } +.mobileBoardButtons { + text-transform: capitalize; +} + .mobileBoardButtons .filteredThreadsCount { display: block; margin-top: 3px; diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index c9deccc4..b95cae18 100644 --- a/src/components/board-buttons/board-buttons.tsx +++ b/src/components/board-buttons/board-buttons.tsx @@ -222,6 +222,7 @@ export const TimeFilter = ({ isInAllView, isInCatalogView, isInSubscriptionsView }; export const MobileBoardButtons = () => { + const { t } = useTranslation(); const params = useParams(); const location = useLocation(); const isInAllView = isAllView(location.pathname, params); @@ -265,7 +266,7 @@ export const MobileBoardButtons = () => { {isInCatalogView && filteredCount > 0 && ( {' '} - — Filtered threads: {filteredCount} + — {t('filtered_threads')}: {filteredCount} )} {isInCatalogView && ( @@ -311,6 +312,7 @@ const PostPageStats = () => { }; export const DesktopBoardButtons = () => { + const { t } = useTranslation(); const params = useParams(); const location = useLocation(); const accountComment = useAccountComment({ commentIndex: params?.accountCommentIndex as any }); @@ -363,7 +365,7 @@ export const DesktopBoardButtons = () => { {isInCatalogView && filteredCount > 0 && ( {' '} - — Filtered threads: {filteredCount} + — {t('filtered_threads')}: {filteredCount} )}