From 68a2d301f1048314d675208f426f117cb28ab66f Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Thu, 20 Feb 2025 13:54:55 +0100 Subject: [PATCH] update loading strings --- public/translations/ar/default.json | 4 ++-- public/translations/bn/default.json | 4 ++-- public/translations/cs/default.json | 4 ++-- public/translations/da/default.json | 4 ++-- public/translations/de/default.json | 4 ++-- public/translations/el/default.json | 4 ++-- public/translations/en/default.json | 4 ++-- public/translations/es/default.json | 4 ++-- public/translations/fa/default.json | 4 ++-- public/translations/fi/default.json | 4 ++-- public/translations/fil/default.json | 4 ++-- public/translations/fr/default.json | 4 ++-- public/translations/he/default.json | 4 ++-- public/translations/hi/default.json | 4 ++-- public/translations/hu/default.json | 4 ++-- public/translations/id/default.json | 4 ++-- public/translations/it/default.json | 4 ++-- public/translations/ja/default.json | 4 ++-- public/translations/ko/default.json | 4 ++-- public/translations/mr/default.json | 4 ++-- public/translations/nl/default.json | 4 ++-- public/translations/no/default.json | 4 ++-- public/translations/pl/default.json | 4 ++-- public/translations/pt/default.json | 4 ++-- public/translations/ro/default.json | 4 ++-- public/translations/ru/default.json | 4 ++-- public/translations/sq/default.json | 4 ++-- public/translations/sv/default.json | 4 ++-- public/translations/te/default.json | 4 ++-- public/translations/th/default.json | 4 ++-- public/translations/tr/default.json | 4 ++-- public/translations/uk/default.json | 4 ++-- public/translations/ur/default.json | 4 ++-- public/translations/vi/default.json | 4 ++-- public/translations/zh/default.json | 4 ++-- src/components/post-desktop/post-desktop.tsx | 2 +- src/components/post-mobile/post-mobile.tsx | 2 +- src/views/board/board.tsx | 12 +++++++++--- src/views/catalog/catalog.tsx | 12 +++++++++--- 39 files changed, 90 insertions(+), 78 deletions(-) diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index 7d55722d..b4dc8d20 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "يرجى تحديد لوحة قبل النشر.", "invalid_url_alert": "الرابط المقدم ليس عنوان URL صالحًا.", "empty_comment_alert": "لا يمكن نشر تعليق فارغ.", - "more_threads_last_week": "عرض المواضيع منذ {{currentTimeFilterName}} — [<1>عرض المزيد من المواضيع من الأسبوع الماضي]", - "more_threads_last_month": "عرض المواضيع منذ {{currentTimeFilterName}} — [<1>عرض المزيد من المواضيع من الشهر الماضي]", + "more_threads_last_week": "{{count}} مواضيع منذ {{currentTimeFilterName}} — [<1>عرض المزيد من المواضيع من الأسبوع الماضي]", + "more_threads_last_month": "{{count}} مواضيع منذ {{currentTimeFilterName}} — [<1>عرض المزيد من المواضيع من الشهر الماضي]", "newer_threads_available": "مواضيع أحدث متاحة — [<1>تحديث]", "stored_locally": "مخزنة محليًا ({{location}})، ليست متزامنة عبر الأجهزة", "choose_one": "اختر واحدة:", diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index c3d4e177..cad066c3 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "পোস্ট করার আগে একটি বোর্ড নির্বাচন করুন।", "invalid_url_alert": "দেওয়া লিঙ্কটি একটি বৈধ URL নয়।", "empty_comment_alert": "খালি মন্তব্য পোস্ট করা যাবে না।", - "more_threads_last_week": "{{currentTimeFilterName}} থেকে থ্রেডগুলি দেখাচ্ছে — [<1>গত সপ্তাহের আরও থ্রেড দেখান]", - "more_threads_last_month": "{{currentTimeFilterName}} থেকে থ্রেডগুলি দেখাচ্ছে — [<1>গত মাসের আরও থ্রেড দেখান]", + "more_threads_last_week": "{{count}} থ্রেড {{currentTimeFilterName}} থেকে — [<1>গত সপ্তাহের আরও থ্রেড দেখান]", + "more_threads_last_month": "{{count}} থ্রেড {{currentTimeFilterName}} থেকে — [<1>গত মাসের আরও থ্রেড দেখান]", "newer_threads_available": "নতুন থ্রেড উপলব্ধ — [<1>রিফ্রেশ করুন]", "stored_locally": "স্থানীয়ভাবে সংরক্ষিত ({{location}}), ডিভাইসের মধ্যে সিঙ্ক করা হয়নি", "choose_one": "একটি নির্বাচন করুন:", diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index ef0d8a2e..0b624c12 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Vyberte desku před odesláním.", "invalid_url_alert": "Poskytnutý odkaz není platná adresa URL.", "empty_comment_alert": "Nelze publikovat prázdný komentář.", - "more_threads_last_week": "Zobrazuji vlákna od {{currentTimeFilterName}} — [<1>Zobrazit více vláken z minulého týdne]", - "more_threads_last_month": "Zobrazuji vlákna od {{currentTimeFilterName}} — [<1>Zobrazit více vláken z minulého měsíce]", + "more_threads_last_week": "{{count}} vláken od {{currentTimeFilterName}} — [<1>Ukázat více vláken z minulého týdne]", + "more_threads_last_month": "{{count}} příspěvků od {{currentTimeFilterName}} — [<1>Zobrazit více příspěvků z minulého měsíce]", "newer_threads_available": "Novější vlákna k dispozici — [<1>Obnovit]", "stored_locally": "Uloženo lokálně ({{location}}), není synchronizováno mezi zařízeními", "choose_one": "Vyberte jednu:", diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 9c8e9186..a8a20ceb 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Vælg en tavle, før du poster.", "invalid_url_alert": "Det angivne link er ikke en gyldig URL.", "empty_comment_alert": "Kan ikke poste en tom kommentar.", - "more_threads_last_week": "Viser tråde siden {{currentTimeFilterName}} — [<1>Vis flere tråde fra sidste uge]", - "more_threads_last_month": "Viser tråde siden {{currentTimeFilterName}} — [<1>Vis flere tråde fra sidste måned]", + "more_threads_last_week": "{{count}} tråde siden {{currentTimeFilterName}} — [<1>Vis flere tråde fra sidste uge]", + "more_threads_last_month": "{{count}} tråde siden {{currentTimeFilterName}} — [<1>Vis flere tråde fra sidste måned]", "newer_threads_available": "Nyere tråde tilgængelige — [<1>Opdater]", "stored_locally": "Lager lokalt ({{location}}), ikke synkroniseret på tværs af enheder", "choose_one": "Vælg en:", diff --git a/public/translations/de/default.json b/public/translations/de/default.json index c739b43a..06dd6e13 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Bitte wählen Sie ein Board, bevor Sie posten.", "invalid_url_alert": "Der bereitgestellte Link ist keine gültige URL.", "empty_comment_alert": "Kann keinen leeren Kommentar posten.", - "more_threads_last_week": "Zeige Threads seit {{currentTimeFilterName}} — [<1>Zeige mehr Threads aus der letzten Woche]", - "more_threads_last_month": "Zeige Threads seit {{currentTimeFilterName}} — [<1>Zeige mehr Threads aus dem letzten Monat]", + "more_threads_last_week": "{{count}} Threads seit {{currentTimeFilterName}} — [<1>Mehr Threads aus der letzten Woche anzeigen]", + "more_threads_last_month": "{{count}} Threads seit {{currentTimeFilterName}} — [<1>Mehr Threads vom letzten Monat anzeigen]", "newer_threads_available": "Neuere Threads verfügbar — [<1>Aktualisieren]", "stored_locally": "Lokal gespeichert ({{location}}), nicht geräteübergreifend synchronisiert", "choose_one": "Wählen Sie eine:", diff --git a/public/translations/el/default.json b/public/translations/el/default.json index 6006eb88..61a2fc03 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Παρακαλώ επιλέξτε μια κατηγορία πριν δημοσιεύσετε.", "invalid_url_alert": "Ο παρεχόμενος σύνδεσμος δεν είναι έγκυρη διεύθυνση URL.", "empty_comment_alert": "Δεν μπορεί να δημοσιευτεί κενό σχόλιο.", - "more_threads_last_week": "Εμφάνιση θεμάτων από {{currentTimeFilterName}} — [<1>Δείτε περισσότερα θέματα από την περασμένη εβδομάδα]", - "more_threads_last_month": "Εμφάνιση θεμάτων από {{currentTimeFilterName}} — [<1>Δείτε περισσότερα θέματα από τον προηγούμενο μήνα]", + "more_threads_last_week": "{{count}} θέματα από {{currentTimeFilterName}} — [<1>Εμφάνιση περισσότερων θεμάτων από την περασμένη εβδομάδα]", + "more_threads_last_month": "{{count}} νήματα από {{currentTimeFilterName}} — [<1>Προβολή περισσότερων νημάτων από τον τελευταίο μήνα]", "newer_threads_available": "Διαθέσιμα νεότερα θέματα — [<1>Ανανέωση]", "stored_locally": "Αποθηκευμένο τοπικά ({{location}}), δεν συγχρονίζεται σε όλες τις συσκευές", "choose_one": "Επιλέξτε μία:", diff --git a/public/translations/en/default.json b/public/translations/en/default.json index 4e1ca975..b46440aa 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Please select a board before posting.", "invalid_url_alert": "The provided link is not a valid URL.", "empty_comment_alert": "Cannot post empty comment.", - "more_threads_last_week": "Showing threads since {{currentTimeFilterName}} — [<1>Show more threads from last week]", - "more_threads_last_month": "Showing threads since {{currentTimeFilterName}} — [<1>Show more threads from last month]", + "more_threads_last_week": "{{count}} threads since {{currentTimeFilterName}} — [<1>Show more threads from last week]", + "more_threads_last_month": "{{count}} threads since {{currentTimeFilterName}} — [<1>Show more threads from last month]", "newer_threads_available": "Newer threads available — [<1>Refresh]", "stored_locally": "Stored locally ({{location}}), not synced across devices", "choose_one": "Choose one:", diff --git a/public/translations/es/default.json b/public/translations/es/default.json index 406b2fcc..f9e1882f 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Por favor, selecciona una tabla antes de publicar.", "invalid_url_alert": "El enlace proporcionado no es una URL válida.", "empty_comment_alert": "No se puede publicar un comentario vacío.", - "more_threads_last_week": "Mostrando hilos desde {{currentTimeFilterName}} — [<1>Mostrar más hilos de la semana pasada]", - "more_threads_last_month": "Mostrando hilos desde {{currentTimeFilterName}} — [<1>Mostrar más hilos del mes pasado]", + "more_threads_last_week": "{{count}} hilos desde {{currentTimeFilterName}} — [<1>Mostrar más hilos de la semana pasada]", + "more_threads_last_month": "{{count}} hilos desde {{currentTimeFilterName}} — [<1>Ver más hilos del mes pasado]", "newer_threads_available": "Nuevos hilos disponibles — [<1>Actualizar]", "stored_locally": "Almacenado localmente ({{location}}), no sincronizado entre dispositivos", "choose_one": "Elige uno:", diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index dfe813e7..bc711dcc 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "لطفاً قبل از ارسال یک تابلو انتخاب کنید.", "invalid_url_alert": "لینک ارائه شده یک URL معتبر نیست.", "empty_comment_alert": "نمی‌توان نظر خالی ارسال کرد.", - "more_threads_last_week": "نمایش موضوعات از {{currentTimeFilterName}} — [<1>نمایش موضوعات بیشتر از هفته گذشته]", - "more_threads_last_month": "نمایش موضوعات از {{currentTimeFilterName}} — [<1>نمایش موضوعات بیشتر از ماه گذشته]", + "more_threads_last_week": "{{count}} موضوع از {{currentTimeFilterName}} — [<1>نمایش موضوعات بیشتر از هفته گذشته]", + "more_threads_last_month": "{{count}} پست از {{currentTimeFilterName}} — [<1>نمایش بیشتر پست‌های ماه گذشته]", "newer_threads_available": "موضوعات جدیدتر در دسترس است — [<1>بروزرسانی]", "stored_locally": "محلی ذخیره شده ({{location}})، با دستگاه‌ها همگام‌سازی نشده است", "choose_one": "یکی را انتخاب کنید:", diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index 1cd00e43..851df2e8 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Valitse taulu ennen julkaisemista.", "invalid_url_alert": "Annettu linkki ei ole voimassa oleva URL.", "empty_comment_alert": "Ei voi julkaista tyhjää kommenttia.", - "more_threads_last_week": "Näytetään ketjut {{currentTimeFilterName}} lähtien — [<1>Näytä lisää ketjuja viime viikolta]", - "more_threads_last_month": "Näytetään ketjut {{currentTimeFilterName}} lähtien — [<1>Näytä lisää ketjuja viime kuukaudelta]", + "more_threads_last_week": "{{count}} ketjua sitten {{currentTimeFilterName}} — [<1>Näytä lisää ketjuja viime viikolta]", + "more_threads_last_month": "{{count}} ketjua sitten {{currentTimeFilterName}} — [<1>Näytä lisää viime kuun ketjuja]", "newer_threads_available": "Uudemmat ketjut saatavilla — [<1>Virkistää]", "stored_locally": "Tallennettu paikallisesti ({{location}}), ei synkronoitu laitteiden välillä", "choose_one": "Valitse yksi:", diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index 691e3c5f..c7016d79 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Mangyaring pumili ng board bago mag-post.", "invalid_url_alert": "Ang ibinigay na link ay hindi isang wastong URL.", "empty_comment_alert": "Hindi makapag-post ng walang laman na komento.", - "more_threads_last_week": "Ipinapakita ang mga thread mula {{currentTimeFilterName}} — [<1>Ipakita ang higit pang mga thread mula sa nakaraang linggo]", - "more_threads_last_month": "Ipinapakita ang mga thread mula {{currentTimeFilterName}} — [<1>Ipakita ang higit pang mga thread mula sa nakaraang buwan]", + "more_threads_last_week": "{{count}} mga thread mula sa {{currentTimeFilterName}} — [<1>Ipakita ang higit pang mga thread mula sa nakaraang linggo]", + "more_threads_last_month": "{{count}} mga thread mula {{currentTimeFilterName}} — [<1>Ipakita ang higit pang mga thread mula noong nakaraang buwan]", "newer_threads_available": "Bagong mga thread na magagamit — [<1>I-refresh]", "stored_locally": "Nakaimbak nang lokal ({{location}}), hindi naka-sync sa iba pang device", "choose_one": "Pumili ng isa:", diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index 4369dc4e..35dbbef8 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Veuillez sélectionner un tableau avant de publier.", "invalid_url_alert": "Le lien fourni n'est pas une URL valide.", "empty_comment_alert": "Impossible de publier un commentaire vide.", - "more_threads_last_week": "Affichage des fils depuis {{currentTimeFilterName}} — [<1>Afficher plus de fils de la semaine dernière]", - "more_threads_last_month": "Affichage des fils depuis {{currentTimeFilterName}} — [<1>Afficher plus de fils du mois dernier]", + "more_threads_last_week": "{{count}} fils depuis {{currentTimeFilterName}} — [<1>Afficher plus de fils de la semaine dernière]", + "more_threads_last_month": "{{count}} fils depuis {{currentTimeFilterName}} — [<1>Afficher plus de fils du mois dernier]", "newer_threads_available": "Nouveaux fils disponibles — [<1>Rafraîchir]", "stored_locally": "Stocké localement ({{location}}), non synchronisé entre les appareils", "choose_one": "Choisissez-en un :", diff --git a/public/translations/he/default.json b/public/translations/he/default.json index 2b066170..63136d28 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "אנא בחר לוח לפני פרסום.", "invalid_url_alert": "הלינק שסופק אינו כתובת URL חוקית.", "empty_comment_alert": "לא ניתן לפרסם תגובה ריקה.", - "more_threads_last_week": "הצגת שרשורים מאז {{currentTimeFilterName}} — [<1>הצג עוד שרשורים מהשבוע שעבר]", - "more_threads_last_month": "הצגת שרשורים מאז {{currentTimeFilterName}} — [<1>הצג עוד שרשורים מהחודש שעבר]", + "more_threads_last_week": "{{count}} אשכולות מאז {{currentTimeFilterName}} — [<1>הצג עוד אשכולות מהשבוע שעבר]", + "more_threads_last_month": "{{count}} חוטים מאז {{currentTimeFilterName}} — [<1>הצג עוד חוטים מהחודש שעבר]", "newer_threads_available": "נושאים חדשים זמינים — [<1>רענן]", "stored_locally": "מאוחסן מקומית ({{location}}), לא מסונכרן בין מכשירים", "choose_one": "בחר אחת:", diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index 0b3ed2d4..ab36d162 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "पोस्ट करने से पहले कृपया एक बोर्ड चुनें।", "invalid_url_alert": "प्रदत्त लिंक एक वैध URL नहीं है।", "empty_comment_alert": "खाली टिप्पणी पोस्ट नहीं कर सकते।", - "more_threads_last_week": "{{currentTimeFilterName}} से थ्रेड्स दिखा रहे हैं — [<1>पिछले सप्ताह के और थ्रेड्स दिखाएँ]", - "more_threads_last_month": "{{currentTimeFilterName}} से थ्रेड्स दिखा रहे हैं — [<1>पिछले महीने के और थ्रेड्स दिखाएँ]", + "more_threads_last_week": "{{count}} थ्रेड {{currentTimeFilterName}} से — [<1>पिछले सप्ताह के और थ्रेड दिखाएं]", + "more_threads_last_month": "{{count}} थ्रेड्स {{currentTimeFilterName}} से — [<1>अगले महीने के अधिक थ्रेड्स दिखाएं]", "newer_threads_available": "नए थ्रेड्स उपलब्ध हैं — [<1>रिफ्रेश करें]", "stored_locally": "स्थानीय रूप से संग्रहीत ({{location}}), उपकरणों के बीच समन्वयित नहीं", "choose_one": "एक चुनें:", diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index 626bc82a..c6d7d70e 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Kérlek, válassz egy táblát a közzététel előtt.", "invalid_url_alert": "A megadott hivatkozás nem érvényes URL.", "empty_comment_alert": "Üres hozzászólást nem lehet közzétenni.", - "more_threads_last_week": "Szálak megjelenítése innen: {{currentTimeFilterName}} — [<1>További szálak a múlt hétből]", - "more_threads_last_month": "Szálak megjelenítése innen: {{currentTimeFilterName}} — [<1>További szálak a múlt hónapból]", + "more_threads_last_week": "{{count}} szál a {{currentTimeFilterName}} óta — [<1>Mutass több szálat a múlt héten]", + "more_threads_last_month": "{{count}} szál {{currentTimeFilterName}} óta — [<1>Több szál megjelenítése a múlt hónapból]", "newer_threads_available": "Újabb szálak elérhetők — [<1>Frissíteni]", "stored_locally": "Helyben tárolva ({{location}}), nem szinkronizálva eszközök között", "choose_one": "Válasszon egyet:", diff --git a/public/translations/id/default.json b/public/translations/id/default.json index 9abbaed2..cf1e1041 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Silakan pilih papan sebelum memposting.", "invalid_url_alert": "Tautan yang diberikan bukan URL yang valid.", "empty_comment_alert": "Tidak dapat memposting komentar kosong.", - "more_threads_last_week": "Menampilkan thread sejak {{currentTimeFilterName}} — [<1>Tampilkan lebih banyak thread dari minggu lalu]", - "more_threads_last_month": "Menampilkan thread sejak {{currentTimeFilterName}} — [<1>Tampilkan lebih banyak thread dari bulan lalu]", + "more_threads_last_week": "{{count}} thread sejak {{currentTimeFilterName}} — [<1>Show lebih banyak thread dari minggu lalu]", + "more_threads_last_month": "{{count}} thread sejak {{currentTimeFilterName}} — [<1>Tampilkan lebih banyak thread dari bulan lalu]", "newer_threads_available": "Thread terbaru tersedia — [<1>Segarkan]", "stored_locally": "Disimpan secara lokal ({{location}}), tidak disinkronkan antar perangkat", "choose_one": "Pilih satu:", diff --git a/public/translations/it/default.json b/public/translations/it/default.json index 44ffb2ac..727aa60b 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Per favore, seleziona una board prima di pubblicare.", "invalid_url_alert": "Il link fornito non è un URL valido.", "empty_comment_alert": "Impossibile pubblicare un commento vuoto.", - "more_threads_last_week": "Visualizzazione dei thread da {{currentTimeFilterName}} — [<1>Mostra più thread dalla scorsa settimana]", - "more_threads_last_month": "Visualizzazione dei thread da {{currentTimeFilterName}} — [<1>Mostra più thread dal mese scorso]", + "more_threads_last_week": "{{count}} thread da {{currentTimeFilterName}} — [<1>Mostra più thread dalla scorsa settimana]", + "more_threads_last_month": "{{count}} thread da {{currentTimeFilterName}} — [<1>Mostra altri thread del mese scorso]", "newer_threads_available": "Nuovi thread disponibili — [<1>Aggiorna]", "stored_locally": "Memorizzato localmente ({{location}}), non sincronizzato tra i dispositivi", "choose_one": "Scegline una:", diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index 091f8c10..cb162542 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "投稿する前にボードを選択してください。", "invalid_url_alert": "提供されたリンクは有効なURLではありません。", "empty_comment_alert": "空のコメントは投稿できません。", - "more_threads_last_week": "{{currentTimeFilterName}} 以降のスレッドを表示中 — [<1>先週のスレッドをもっと表示する]", - "more_threads_last_month": "{{currentTimeFilterName}} 以降のスレッドを表示中 — [<1>先月のスレッドをもっと表示する]", + "more_threads_last_week": "{{count}} スレッド {{currentTimeFilterName}} から — [<1>先週のスレッドをさらに表示]", + "more_threads_last_month": "{{count}} スレッド {{currentTimeFilterName}} から — [<1>先月のスレッドをさらに表示]", "newer_threads_available": "新しいスレッドが利用可能 — [<1>更新]", "stored_locally": "ローカルに保存されています ({{location}})、デバイス間で同期されていません", "choose_one": "いずれかを選択してください:", diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index 0eaafa28..04b97fa2 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "게시하기 전에 보드를 선택하십시오.", "invalid_url_alert": "제공된 링크는 유효한 URL이 아닙니다.", "empty_comment_alert": "빈 댓글을 게시할 수 없습니다.", - "more_threads_last_week": "{{currentTimeFilterName}} 이후 스레드 표시 — [<1>지난주 스레드 더 보기]", - "more_threads_last_month": "{{currentTimeFilterName}} 이후 스레드 표시 — [<1>지난달 스레드 더 보기]", + "more_threads_last_week": "{{count}} 스레드 {{currentTimeFilterName}} 이후 — [<1>지난 주의 더 많은 스레드 보기]", + "more_threads_last_month": "{{count}} 스레드 {{currentTimeFilterName}} 이후 — [<1>지난 달의 스레드 더 보기]", "newer_threads_available": "새로운 스레드 사용 가능 — [<1>새로 고침]", "stored_locally": "로컬에 저장됨 ({{location}}), 장치 간에 동기화되지 않음", "choose_one": "하나를 선택하세요:", diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index 39a76555..270bf7a8 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "पोस्ट करण्यापूर्वी कृपया एक बोर्ड निवडा.", "invalid_url_alert": "दिलेला लिंक वैध URL नाही.", "empty_comment_alert": "रिक्त टिप्पणी पोस्ट करू शकत नाही.", - "more_threads_last_week": "{{currentTimeFilterName}} पासून थ्रेड्स दाखवत आहे — [<1>मागील आठवड्याचे अधिक थ्रेड्स दर्शवा]", - "more_threads_last_month": "{{currentTimeFilterName}} पासून थ्रेड्स दाखवत आहे — [<1>मागील महिन्याचे अधिक थ्रेड्स दर्शवा]", + "more_threads_last_week": "{{count}} थ्रेड {{currentTimeFilterName}} पासून — [<1>गेल्या आठवड्यातील अधिक थ्रेड्स पहा]", + "more_threads_last_month": "{{count}} ध糀ं {{currentTimeFilterName}} पासून — [<1>गेल्या महिन्यातील आणखी थ्रेड्स दाखवा]", "newer_threads_available": "नवीन थ्रेड्स उपलब्ध आहेत — [<1>रिफ्रेश करा]", "stored_locally": "स्थानिकपणे संग्रहित ({{location}}), उपकरणांमध्ये समन्वयित केलेले नाही", "choose_one": "एक निवडा:", diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index 020c5cf9..9b3a6932 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Selecteer een bord voordat je plaatst.", "invalid_url_alert": "De opgegeven link is geen geldige URL.", "empty_comment_alert": "Kan geen lege opmerking plaatsen.", - "more_threads_last_week": "Threads weergegeven sinds {{currentTimeFilterName}} — [<1>Toon meer threads van vorige week]", - "more_threads_last_month": "Threads weergegeven sinds {{currentTimeFilterName}} — [<1>Toon meer threads van vorige maand]", + "more_threads_last_week": "{{count}} threads sinds {{currentTimeFilterName}} — [<1>Toon meer threads van vorige week]", + "more_threads_last_month": "{{count}} threads sinds {{currentTimeFilterName}} — [<1>Meer threads van afgelopen maand tonen]", "newer_threads_available": "Nieuwere threads beschikbaar — [<1>Vernieuwen]", "stored_locally": "Lokaal opgeslagen ({{location}}), niet gesynchroniseerd tussen apparaten", "choose_one": "Kies er een:", diff --git a/public/translations/no/default.json b/public/translations/no/default.json index d22ca521..d16c1b0f 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Vennligst velg et brett før du poster.", "invalid_url_alert": "Den angitte lenken er ikke en gyldig URL.", "empty_comment_alert": "Kan ikke poste tom kommentar.", - "more_threads_last_week": "Viser tråder siden {{currentTimeFilterName}} — [<1>Vis flere tråder fra forrige uke]", - "more_threads_last_month": "Viser tråder siden {{currentTimeFilterName}} — [<1>Vis flere tråder fra forrige måned]", + "more_threads_last_week": "{{count}} tråder siden {{currentTimeFilterName}} — [<1>Vis flere tråder fra forrige uke]", + "more_threads_last_month": "{{count}} tråder siden {{currentTimeFilterName}} — [<1>Vis flere tråder fra forrige måned]", "newer_threads_available": "Nyere tråder tilgjengelig — [<1>Oppdater]", "stored_locally": "Lagring lokalt ({{location}}), ikke synkronisert på tvers av enheter", "choose_one": "Velg en:", diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 1c0bdf58..b85dc493 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Proszę wybrać tablicę przed opublikowaniem.", "invalid_url_alert": "Podany link nie jest poprawnym adresem URL.", "empty_comment_alert": "Nie można opublikować pustego komentarza.", - "more_threads_last_week": "Pokazuję wątki od {{currentTimeFilterName}} — [<1>Pokaż więcej wątków z zeszłego tygodnia]", - "more_threads_last_month": "Pokazuję wątki od {{currentTimeFilterName}} — [<1>Pokaż więcej wątków z zeszłego miesiąca]", + "more_threads_last_week": "{{count}} wątki od {{currentTimeFilterName}} — [<1>Pokaż więcej wątków z zeszłego tygodnia]", + "more_threads_last_month": "{{count}} wątki od {{currentTimeFilterName}} — [<1>Pokaż więcej wątków z zeszłego miesiąca]", "newer_threads_available": "Nowsze wątki dostępne — [<1>Odśwież]", "stored_locally": "Przechowywane lokalnie ({{location}}), nie synchronizowane między urządzeniami", "choose_one": "Wybierz jeden:", diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index bb44a55c..f2051565 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Por favor, selecione um quadro antes de postar.", "invalid_url_alert": "O link fornecido não é uma URL válida.", "empty_comment_alert": "Não é possível postar um comentário vazio.", - "more_threads_last_week": "Mostrando tópicos desde {{currentTimeFilterName}} — [<1>Mostrar mais tópicos da semana passada]", - "more_threads_last_month": "Mostrando tópicos desde {{currentTimeFilterName}} — [<1>Mostrar mais tópicos do mês passado]", + "more_threads_last_week": "{{count}} tópicos desde {{currentTimeFilterName}} — [<1>Mostrar mais tópicos da semana passada]", + "more_threads_last_month": "{{count}} tópicos desde {{currentTimeFilterName}} — [<1>Mostrar mais tópicos do mês passado]", "newer_threads_available": "Novos tópicos disponíveis — [<1>Atualizar]", "stored_locally": "Armazenado localmente ({{location}}), não sincronizado entre dispositivos", "choose_one": "Escolha um:", diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index 16935f41..5cbd046a 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Vă rugăm să selectați un tablou înainte de a publica.", "invalid_url_alert": "Linkul furnizat nu este un URL valid.", "empty_comment_alert": "Nu se poate publica un comentariu gol.", - "more_threads_last_week": "Afișarea discuțiilor de la {{currentTimeFilterName}} — [<1>Arată mai multe discuții din săptămâna trecută]", - "more_threads_last_month": "Afișarea discuțiilor de la {{currentTimeFilterName}} — [<1>Arată mai multe discuții din luna trecută]", + "more_threads_last_week": "{{count}} fire de discuție de la {{currentTimeFilterName}} — [<1>Arată mai multe fire din săptămâna trecută]", + "more_threads_last_month": "{{count}} subiecte din {{currentTimeFilterName}} — [<1>Afișați mai multe subiecte de luna trecută]", "newer_threads_available": "Subiecte mai noi disponibile — [<1>Actualizaţi]", "stored_locally": "Stocat local ({{location}}), nu este sincronizat între dispozitive", "choose_one": "Alege una:", diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index d3171080..4726d5b8 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Пожалуйста, выберите доску перед публикацией.", "invalid_url_alert": "Предоставленная ссылка не является действительным URL.", "empty_comment_alert": "Невозможно опубликовать пустой комментарий.", - "more_threads_last_week": "Показано обсуждения с {{currentTimeFilterName}} — [<1>Показать больше обсуждений за прошлую неделю]", - "more_threads_last_month": "Показано обсуждения с {{currentTimeFilterName}} — [<1>Показать больше обсуждений за прошлый месяц]", + "more_threads_last_week": "{{count}} тредов с {{currentTimeFilterName}} — [<1>Показать больше тредов за прошлую неделю]", + "more_threads_last_month": "{{count}} темы с {{currentTimeFilterName}} — [<1>Показать больше тем с прошлого месяца]", "newer_threads_available": "Доступны новые темы — [<1>Обновить]", "stored_locally": "Сохранено локально ({{location}}), не синхронизировано между устройствами", "choose_one": "Выберите один:", diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index 82d66201..cb0cfc18 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Ju lutemi zgjidhni një bord para se të postoni.", "invalid_url_alert": "Lidhja e ofruar nuk është një URL e vlefshme.", "empty_comment_alert": "Nuk mund të postoni një koment bosh.", - "more_threads_last_week": "Duke shfaqur temat që nga {{currentTimeFilterName}} — [<1>Shfaqni më shumë tema nga java e kaluar]", - "more_threads_last_month": "Duke shfaqur temat që nga {{currentTimeFilterName}} — [<1>Shfaqni më shumë tema nga muaji i kaluar]", + "more_threads_last_week": "{{count}} tema nga {{currentTimeFilterName}} — [<1>Shfaq më shumë tema nga java e kaluar]", + "more_threads_last_month": "{{count}} tema nga {{currentTimeFilterName}} — [<1>Shfaq më shumë tema nga muaji i kaluar]", "newer_threads_available": "Temat më të reja të disponueshme — [<1>Rifresko]", "stored_locally": "Ruajtur lokalmente ({{location}}), nuk është sinkronizuar ndërmjet pajisjeve", "choose_one": "Zgjidhni një:", diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index a5902e5d..d8709914 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Vänligen välj en tavla innan du postar.", "invalid_url_alert": "Den angivna länken är inte en giltig URL.", "empty_comment_alert": "Kan inte posta tom kommentar.", - "more_threads_last_week": "Visar trådar sedan {{currentTimeFilterName}} — [<1>Visa fler trådar från förra veckan]", - "more_threads_last_month": "Visar trådar sedan {{currentTimeFilterName}} — [<1>Visa fler trådar från förra månaden]", + "more_threads_last_week": "{{count}} trådar sedan {{currentTimeFilterName}} — [<1>Visa fler trådar från förra veckan]", + "more_threads_last_month": "{{count}} trådar sedan {{currentTimeFilterName}} — [<1>Visa fler trådar från förra månaden]", "newer_threads_available": "Nyare trådar tillgängliga — [<1>Uppdatera]", "stored_locally": "Lagrad lokalt ({{location}}), inte synkroniserad mellan enheter", "choose_one": "Välj en:", diff --git a/public/translations/te/default.json b/public/translations/te/default.json index f87f17a8..0c482e85 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "పోస్ట్ చేయడానికి ముందు దయచేసి ఒక బోర్డు ఎంచుకోండి.", "invalid_url_alert": "నివేదిక ఇవ్వబడిన లింక్ చెల్లుబాటులో లేని URL.", "empty_comment_alert": "ఖాళీ వ్యాఖ్యను పోస్ట్ చేయలేరు.", - "more_threads_last_week": "{{currentTimeFilterName}} నుండి థ్రెడ్‌లను చూపిస్తున్నారు — [<1>గత వారం నుండి మరిన్ని థ్రెడ్‌లను చూపించండి]", - "more_threads_last_month": "{{currentTimeFilterName}} నుండి థ్రెడ్‌లను చూపిస్తున్నారు — [<1>గత నెల నుండి మరిన్ని థ్రెడ్‌లను చూపించండి]", + "more_threads_last_week": "{{count}} థ్రెడ్‌లు {{currentTimeFilterName}} నుండి — [<1>గత వారానికి మరిన్ని థ్రెడ్‌లు చూపించు]", + "more_threads_last_month": "{{count}} థ్రెడ్‌లు {{currentTimeFilterName}} నుండి — [<1>గత నెల నుండి మరిన్ని థ్రెడ్‌లను చూపించండి]", "newer_threads_available": "కొత్త థ్రెడ్‌లు అందుబాటులో ఉన్నాయి — [<1>రిఫ్రెష్]", "stored_locally": "స్థానికంగా నిల్వ ({{location}}), పరికరాల మధ్య సమన్వయించడం లేదు", "choose_one": "ఒకటి ఎంపిక చేసుకోండి:", diff --git a/public/translations/th/default.json b/public/translations/th/default.json index 94d99632..19218c33 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "กรุณาเลือกกระดานก่อนที่จะโพสต์.", "invalid_url_alert": "ลิงก์ที่ให้ไม่ใช่ URL ที่ถูกต้อง", "empty_comment_alert": "ไม่สามารถโพสต์ความคิดเห็นว่างเปล่าได้", - "more_threads_last_week": "แสดงกระทู้ตั้งแต่ {{currentTimeFilterName}} — [<1>แสดงกระทู้เพิ่มเติมจากสัปดาห์ที่แล้ว]", - "more_threads_last_month": "แสดงกระทู้ตั้งแต่ {{currentTimeFilterName}} — [<1>แสดงกระทู้เพิ่มเติมจากเดือนที่แล้ว]", + "more_threads_last_week": "{{count}} กระทู้ตั้งแต่ {{currentTimeFilterName}} — [<1>แสดงกระทู้เพิ่มเติมจากสัปดาห์ที่แล้ว]", + "more_threads_last_month": "{{count}} กระทู้ตั้งแต่ {{currentTimeFilterName}} — [<1>แสดงกระทู้จากเดือนที่แล้วเพิ่มเติม]", "newer_threads_available": "มีกระทู้ใหม่ที่พร้อมใช้งาน — [<1>รีเฟรช]", "stored_locally": "จัดเก็บในเครื่อง ({{location}}) ไม่ได้ซิงค์ข้ามอุปกรณ์", "choose_one": "เลือกหนึ่ง:", diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index 2801a42f..297b08e6 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Lütfen gönderimden önce bir pano seçin.", "invalid_url_alert": "Verilen bağlantı geçerli bir URL değildir.", "empty_comment_alert": "Boş yorum gönderilemez.", - "more_threads_last_week": "{{currentTimeFilterName}} tarihinden itibaren gönderiler gösteriliyor — [<1>Geçen haftadan daha fazla gönderi göster]", - "more_threads_last_month": "{{currentTimeFilterName}} tarihinden itibaren gönderiler gösteriliyor — [<1>Geçen aydan daha fazla gönderi göster]", + "more_threads_last_week": "{{count}} başlık {{currentTimeFilterName}}’den itibaren — [<1>Geçen haftadan daha fazla başlık göster]", + "more_threads_last_month": "{{count}} konu {{currentTimeFilterName}} itibariyle — [<1>Geçen aydan daha fazla konu göster]", "newer_threads_available": "Yeni gönderiler mevcut — [<1>Yenile]", "stored_locally": "Yerel olarak saklanıyor ({{location}}), cihazlar arasında senkronize edilmedi", "choose_one": "Birini seç:", diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index 732f0b91..2d6f72ec 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Будь ласка, виберіть дошку перед публікацією.", "invalid_url_alert": "Надане посилання не є дійсною URL-адресою.", "empty_comment_alert": "Не можна опублікувати порожній коментар.", - "more_threads_last_week": "Показано теми з {{currentTimeFilterName}} — [<1>Показати більше тем з минулого тижня]", - "more_threads_last_month": "Показано теми з {{currentTimeFilterName}} — [<1>Показати більше тем з минулого місяця]", + "more_threads_last_week": "{{count}} тем з {{currentTimeFilterName}} — [<1>Показати більше тем з минулого тижня]", + "more_threads_last_month": "{{count}} тем з {{currentTimeFilterName}} — [<1>Показати більше тем з минулого місяця]", "newer_threads_available": "Доступні нові теми — [<1>Оновити]", "stored_locally": "Збережено локально ({{location}}), не синхронізується між пристроями", "choose_one": "Виберіть один:", diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index 064a3b5a..3189e45d 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "براہ کرم پوسٹ کرنے سے پہلے ایک بورڈ منتخب کریں۔", "invalid_url_alert": "فراہم کردہ لنک درست URL نہیں ہے۔", "empty_comment_alert": "خالی تبصرہ پوسٹ نہیں کیا جا سکتا۔", - "more_threads_last_week": "{{currentTimeFilterName}} سے تھریڈز دکھا رہے ہیں — [<1>پچھلے ہفتے کے مزید تھریڈز دکھائیں]", - "more_threads_last_month": "{{currentTimeFilterName}} سے تھریڈز دکھا رہے ہیں — [<1>پچھلے مہینے کے مزید تھریڈز دکھائیں]", + "more_threads_last_week": "{{count}} تھریڈ {{currentTimeFilterName}} سے — [<1>گزشتہ ہفتے کے مزید تھریڈ دیکھیں]", + "more_threads_last_month": "{{count}} تھریڈز {{currentTimeFilterName}} سے — [<1>پچھلے ماہ کے مزید تھریڈز دکھائیں]", "newer_threads_available": "نئے تھریڈ دستیاب ہیں — [<1>ریف्रش کریں]", "stored_locally": "مقامی طور پر محفوظ ({{location}})، آلات کے درمیان ہم وقت سازی نہیں کی گئی", "choose_one": "ایک کا انتخاب کریں:", diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index 5f864bc4..60e98e05 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "Vui lòng chọn một bảng trước khi đăng.", "invalid_url_alert": "Liên kết được cung cấp không phải là một URL hợp lệ.", "empty_comment_alert": "Không thể đăng bình luận trống.", - "more_threads_last_week": "Đang hiển thị các chủ đề từ {{currentTimeFilterName}} — [<1>Hiển thị thêm chủ đề từ tuần trước]", - "more_threads_last_month": "Đang hiển thị các chủ đề từ {{currentTimeFilterName}} — [<1>Hiển thị thêm chủ đề từ tháng trước]", + "more_threads_last_week": "{{count}} chủ đề từ {{currentTimeFilterName}} — [<1>Xem thêm chủ đề từ tuần trước]", + "more_threads_last_month": "{{count}} chủ đề từ {{currentTimeFilterName}} — [<1>Hiển thị thêm các chủ đề từ tháng trước]", "newer_threads_available": "Có các chủ đề mới — [<1>Làm mới]", "stored_locally": "Lưu trữ cục bộ ({{location}}), không được đồng bộ qua các thiết bị", "choose_one": "Chọn một:", diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index bd0334c4..6db089bc 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -237,8 +237,8 @@ "no_board_selected_warning": "请在发布之前选择一个板块。", "invalid_url_alert": "提供的链接不是有效的 URL。", "empty_comment_alert": "无法发布空评论。", - "more_threads_last_week": "显示自 {{currentTimeFilterName}} 以来的帖子 — [<1>显示更多来自上周的帖子]", - "more_threads_last_month": "显示自 {{currentTimeFilterName}} 以来的帖子 — [<1>显示更多来自上个月的帖子]", + "more_threads_last_week": "{{count}} 主题自 {{currentTimeFilterName}} — [<1>显示更多来自上周的主题]", + "more_threads_last_month": "{{count}} 主题自 {{currentTimeFilterName}} — [<1>显示更多上个月的主题]", "newer_threads_available": "有新的帖子可用 — [<1>刷新]", "stored_locally": "本地存储 ({{location}}),未在设备之间同步", "choose_one": "选择一个:", diff --git a/src/components/post-desktop/post-desktop.tsx b/src/components/post-desktop/post-desktop.tsx index d76fed36..4f136294 100644 --- a/src/components/post-desktop/post-desktop.tsx +++ b/src/components/post-desktop/post-desktop.tsx @@ -524,7 +524,7 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies, showReplies {!isInPendingPostView && !isDescription && !isRules && - (stateString && stateString !== 'Failed' && state !== 'succeeded' ? ( + (stateString && stateString !== 'Failed' && state !== 'succeeded' && isInPostPageView ? (

diff --git a/src/components/post-mobile/post-mobile.tsx b/src/components/post-mobile/post-mobile.tsx index 486266a2..d15e1d10 100644 --- a/src/components/post-mobile/post-mobile.tsx +++ b/src/components/post-mobile/post-mobile.tsx @@ -450,7 +450,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies, showReplies = {!isInPendingPostView && !isDescription && !isRules && - (stateString && stateString !== 'Failed' && state !== 'succeeded' ? ( + (stateString && stateString !== 'Failed' && state !== 'succeeded' && isInPostPageView ? (
diff --git a/src/views/board/board.tsx b/src/views/board/board.tsx index 888eb358..9f353f5a 100644 --- a/src/views/board/board.tsx +++ b/src/views/board/board.tsx @@ -121,7 +121,6 @@ const Board = () => { const { activeCid, threadCid, closeModal, openReplyModal, showReplyModal, scrollY, subplebbitAddress: postSubplebbitAddress } = useReplyModal(); const { blocked, unblock } = useBlock({ address: subplebbitAddress }); - const loadingStateString = useFeedStateString(subplebbitAddresses) || t('loading_board'); const handleNewerPostsButtonClick = () => { window.scrollTo({ top: 0, left: 0 }); @@ -144,6 +143,13 @@ const Board = () => { filter: hideThreadsWithoutImages ? threadsWithoutImagesFilter : undefined, }); + const feedLength = feed.length; + const weeklyFeedLength = weeklyFeed.length; + const monthlyFeedLength = monthlyFeed.length; + const hasFeedLoaded = !!feed; + const loadingStateString = + !hasFeedLoaded || (feedLength === 0 && !(weeklyFeedLength > feedLength || monthlyFeedLength > feedLength)) ? t('loading_feed') : t('looking_for_more_posts'); + const [showMorePostsSuggestion, setShowMorePostsSuggestion] = useState(false); useEffect(() => { const timer = setTimeout(() => { @@ -181,7 +187,7 @@ const Board = () => {
, }} @@ -191,7 +197,7 @@ const Board = () => {
, }} diff --git a/src/views/catalog/catalog.tsx b/src/views/catalog/catalog.tsx index 7aee2cf5..cc612419 100644 --- a/src/views/catalog/catalog.tsx +++ b/src/views/catalog/catalog.tsx @@ -129,7 +129,13 @@ const Catalog = () => { const subplebbit = useSubplebbit({ subplebbitAddress }); const { error, shortAddress, state, title } = subplebbit || {}; const { blocked, unblock } = useBlock({ address: subplebbitAddress }); - const loadingStateString = useFeedStateString(subplebbitAddresses) || t('loading'); + + const feedLength = feed.length; + const weeklyFeedLength = weeklyFeed.length; + const monthlyFeedLength = monthlyFeed.length; + const hasFeedLoaded = !!feed; + const loadingStateString = + !hasFeedLoaded || (feedLength === 0 && !(weeklyFeedLength > feedLength || monthlyFeedLength > feedLength)) ? t('loading_feed') : t('looking_for_more_posts'); const loadingString = (
@@ -185,7 +191,7 @@ const Catalog = () => {
, }} @@ -195,7 +201,7 @@ const Catalog = () => {
, }}