mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add missing loading states
This commit is contained in:
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} منشورات منذ {{currentTimeFilterName}}: <1>عرض {{moreCount}} منشورات إضافية من الشهر الماضي</1>",
|
"more_posts_last_month": "{{count}} منشورات منذ {{currentTimeFilterName}}: <1>عرض {{moreCount}} منشورات إضافية من الشهر الماضي</1>",
|
||||||
"loading_feed": "تحميل الخلاصة",
|
"loading_feed": "تحميل الخلاصة",
|
||||||
"loading_post": "جاري تحميل المنشور",
|
"loading_post": "جاري تحميل المنشور",
|
||||||
"node_stats": "إحصائيات العقدة"
|
"node_stats": "إحصائيات العقدة",
|
||||||
|
"loading_default_boards": "جار تحميل قائمة اللوحات الافتراضية",
|
||||||
|
"loading_subscriptions": "جارٍ تحميل الاشتراكات"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} পোস্ট {{currentTimeFilterName}} থেকে: <1>আরও {{moreCount}} পোস্ট দেখুন গত মাস থেকে</1>",
|
"more_posts_last_month": "{{count}} পোস্ট {{currentTimeFilterName}} থেকে: <1>আরও {{moreCount}} পোস্ট দেখুন গত মাস থেকে</1>",
|
||||||
"loading_feed": "লোডিং ফিড",
|
"loading_feed": "লোডিং ফিড",
|
||||||
"loading_post": "পোস্ট লোড হচ্ছে",
|
"loading_post": "পোস্ট লোড হচ্ছে",
|
||||||
"node_stats": "নোড পরিসংখ্যান"
|
"node_stats": "নোড পরিসংখ্যান",
|
||||||
|
"loading_default_boards": "ডিফল্ট বোর্ড তালিকা লোড হচ্ছে",
|
||||||
|
"loading_subscriptions": "সাবস্ক্রিপশন লোড হচ্ছে"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} příspěvků od {{currentTimeFilterName}}: <1>zobrazit {{moreCount}} více příspěvků z minulého měsíce</1>",
|
"more_posts_last_month": "{{count}} příspěvků od {{currentTimeFilterName}}: <1>zobrazit {{moreCount}} více příspěvků z minulého měsíce</1>",
|
||||||
"loading_feed": "Načítání kanálu",
|
"loading_feed": "Načítání kanálu",
|
||||||
"loading_post": "Načítání příspěvku",
|
"loading_post": "Načítání příspěvku",
|
||||||
"node_stats": "Statistiky uzlu"
|
"node_stats": "Statistiky uzlu",
|
||||||
|
"loading_default_boards": "Načítání seznamu výchozích tabulí",
|
||||||
|
"loading_subscriptions": "Načítání odběrů"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} indlæg siden {{currentTimeFilterName}}: <1>vis {{moreCount}} flere indlæg fra sidste måned</1>",
|
"more_posts_last_month": "{{count}} indlæg siden {{currentTimeFilterName}}: <1>vis {{moreCount}} flere indlæg fra sidste måned</1>",
|
||||||
"loading_feed": "Indlæser feed",
|
"loading_feed": "Indlæser feed",
|
||||||
"loading_post": "Indlæser indlæg",
|
"loading_post": "Indlæser indlæg",
|
||||||
"node_stats": "Node-statistik"
|
"node_stats": "Node-statistik",
|
||||||
|
"loading_default_boards": "Indlæser standard tavleliste",
|
||||||
|
"loading_subscriptions": "Indlæser abonnementer"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} Beiträge seit {{currentTimeFilterName}}: <1>mehr {{moreCount}} Beiträge aus dem letzten Monat anzeigen</1>",
|
"more_posts_last_month": "{{count}} Beiträge seit {{currentTimeFilterName}}: <1>mehr {{moreCount}} Beiträge aus dem letzten Monat anzeigen</1>",
|
||||||
"loading_feed": "Lädt Feed",
|
"loading_feed": "Lädt Feed",
|
||||||
"loading_post": "Beitrag wird geladen",
|
"loading_post": "Beitrag wird geladen",
|
||||||
"node_stats": "Knotenstatistiken"
|
"node_stats": "Knotenstatistiken",
|
||||||
|
"loading_default_boards": "Laden der Standard-Boards-Liste",
|
||||||
|
"loading_subscriptions": "Lade Abonnements"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} δημοσιεύσεις από {{currentTimeFilterName}}: <1>δειξτε {{moreCount}} περισσότερες δημοσιεύσεις από τον προηγούμενο μήνα</1>",
|
"more_posts_last_month": "{{count}} δημοσιεύσεις από {{currentTimeFilterName}}: <1>δειξτε {{moreCount}} περισσότερες δημοσιεύσεις από τον προηγούμενο μήνα</1>",
|
||||||
"loading_feed": "Φόρτωση ροής",
|
"loading_feed": "Φόρτωση ροής",
|
||||||
"loading_post": "Φόρτωση ανάρτησης",
|
"loading_post": "Φόρτωση ανάρτησης",
|
||||||
"node_stats": "Στατιστικά κόμβου"
|
"node_stats": "Στατιστικά κόμβου",
|
||||||
|
"loading_default_boards": "Φόρτωση της λίστας προεπιλεγμένων πάνελ",
|
||||||
|
"loading_subscriptions": "Φορτώνει συνδρομές"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} posts since {{currentTimeFilterName}}: <1>show {{moreCount}} more posts from last month</1>",
|
"more_posts_last_month": "{{count}} posts since {{currentTimeFilterName}}: <1>show {{moreCount}} more posts from last month</1>",
|
||||||
"loading_feed": "Loading feed",
|
"loading_feed": "Loading feed",
|
||||||
"loading_post": "Loading post",
|
"loading_post": "Loading post",
|
||||||
"node_stats": "Node stats"
|
"node_stats": "Node stats",
|
||||||
|
"loading_default_boards": "Loading default boards list",
|
||||||
|
"loading_subscriptions": "Loading subscriptions"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} publicaciones desde {{currentTimeFilterName}}: <1>ver {{moreCount}} más publicaciones del mes pasado</1>",
|
"more_posts_last_month": "{{count}} publicaciones desde {{currentTimeFilterName}}: <1>ver {{moreCount}} más publicaciones del mes pasado</1>",
|
||||||
"loading_feed": "Cargando feed",
|
"loading_feed": "Cargando feed",
|
||||||
"loading_post": "Cargando publicación",
|
"loading_post": "Cargando publicación",
|
||||||
"node_stats": "Estadísticas del nodo"
|
"node_stats": "Estadísticas del nodo",
|
||||||
|
"loading_default_boards": "Cargando lista de tableros predeterminados",
|
||||||
|
"loading_subscriptions": "Cargando suscripciones"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} پست از {{currentTimeFilterName}}: <1>نمایش {{moreCount}} پستهای بیشتر از ماه گذشته</1>",
|
"more_posts_last_month": "{{count}} پست از {{currentTimeFilterName}}: <1>نمایش {{moreCount}} پستهای بیشتر از ماه گذشته</1>",
|
||||||
"loading_feed": "در حال بارگذاری فید",
|
"loading_feed": "در حال بارگذاری فید",
|
||||||
"loading_post": "در حال بارگذاری پست",
|
"loading_post": "در حال بارگذاری پست",
|
||||||
"node_stats": "آمار گره"
|
"node_stats": "آمار گره",
|
||||||
|
"loading_default_boards": "در حال بارگذاری فهرست تختههای پیشفرض",
|
||||||
|
"loading_subscriptions": "در حال بارگذاری اشتراکها"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} julkaisua {{currentTimeFilterName}} jälkeen: <1>näytä {{moreCount}} lisää julkaisuja viime kuukaudesta</1>",
|
"more_posts_last_month": "{{count}} julkaisua {{currentTimeFilterName}} jälkeen: <1>näytä {{moreCount}} lisää julkaisuja viime kuukaudesta</1>",
|
||||||
"loading_feed": "Ladataan syöte",
|
"loading_feed": "Ladataan syöte",
|
||||||
"loading_post": "Ladataan viestiä",
|
"loading_post": "Ladataan viestiä",
|
||||||
"node_stats": "Solmun tilastot"
|
"node_stats": "Solmun tilastot",
|
||||||
|
"loading_default_boards": "Ladataan oletuslautalistaa",
|
||||||
|
"loading_subscriptions": "Ladataan tilauksia"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} mga post mula {{currentTimeFilterName}}: <1>ipakita ang {{moreCount}} higit pang mga post mula noong nakaraang buwan</1>",
|
"more_posts_last_month": "{{count}} mga post mula {{currentTimeFilterName}}: <1>ipakita ang {{moreCount}} higit pang mga post mula noong nakaraang buwan</1>",
|
||||||
"loading_feed": "Naglo-load ng feed",
|
"loading_feed": "Naglo-load ng feed",
|
||||||
"loading_post": "Naglo-load na post",
|
"loading_post": "Naglo-load na post",
|
||||||
"node_stats": "Istatistika ng node"
|
"node_stats": "Istatistika ng node",
|
||||||
|
"loading_default_boards": "Naglo-load ng default na listahan ng mga board",
|
||||||
|
"loading_subscriptions": "Naglo-load ng mga subscription"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} publications depuis {{currentTimeFilterName}}: <1>afficher {{moreCount}} publications de plus du mois dernier</1>",
|
"more_posts_last_month": "{{count}} publications depuis {{currentTimeFilterName}}: <1>afficher {{moreCount}} publications de plus du mois dernier</1>",
|
||||||
"loading_feed": "Chargement du flux",
|
"loading_feed": "Chargement du flux",
|
||||||
"loading_post": "Chargement du message",
|
"loading_post": "Chargement du message",
|
||||||
"node_stats": "Statistiques du nœud"
|
"node_stats": "Statistiques du nœud",
|
||||||
|
"loading_default_boards": "Chargement de la liste des panneaux par défaut",
|
||||||
|
"loading_subscriptions": "Chargement des abonnements"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} פוסטים מאז {{currentTimeFilterName}}: <1>הצג {{moreCount}} פוסטים נוספים מהחודש שעבר</1>",
|
"more_posts_last_month": "{{count}} פוסטים מאז {{currentTimeFilterName}}: <1>הצג {{moreCount}} פוסטים נוספים מהחודש שעבר</1>",
|
||||||
"loading_feed": "טוען פיד",
|
"loading_feed": "טוען פיד",
|
||||||
"loading_post": "טוען פוסט",
|
"loading_post": "טוען פוסט",
|
||||||
"node_stats": "סטטיסטיקות צומת"
|
"node_stats": "סטטיסטיקות צומת",
|
||||||
|
"loading_default_boards": "טוען את רשימת הלוחות ברירת המחדל",
|
||||||
|
"loading_subscriptions": "טוען מנויים"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} पोस्ट {{currentTimeFilterName}} से: <1>अधिक {{moreCount}} पोस्ट दिखाएं पिछले महीने से</1>",
|
"more_posts_last_month": "{{count}} पोस्ट {{currentTimeFilterName}} से: <1>अधिक {{moreCount}} पोस्ट दिखाएं पिछले महीने से</1>",
|
||||||
"loading_feed": "लोडिंग फीड",
|
"loading_feed": "लोडिंग फीड",
|
||||||
"loading_post": "पोस्ट लोड हो रहा है",
|
"loading_post": "पोस्ट लोड हो रहा है",
|
||||||
"node_stats": "नोड आँकड़े"
|
"node_stats": "नोड आँकड़े",
|
||||||
|
"loading_default_boards": "डिफ़ॉल्ट बोर्ड सूची लोड हो रही है",
|
||||||
|
"loading_subscriptions": "सब्सक्रिप्शन लोड हो रहे हैं"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} bejegyzés {{currentTimeFilterName}} óta: <1>több {{moreCount}} bejegyzés megjelenítése a múlt hónapból</1>",
|
"more_posts_last_month": "{{count}} bejegyzés {{currentTimeFilterName}} óta: <1>több {{moreCount}} bejegyzés megjelenítése a múlt hónapból</1>",
|
||||||
"loading_feed": "Betöltés a hírcsatornára",
|
"loading_feed": "Betöltés a hírcsatornára",
|
||||||
"loading_post": "Bejegyzés betöltése",
|
"loading_post": "Bejegyzés betöltése",
|
||||||
"node_stats": "Csomópont statisztikák"
|
"node_stats": "Csomópont statisztikák",
|
||||||
|
"loading_default_boards": "Alapértelmezett táblák listájának betöltése",
|
||||||
|
"loading_subscriptions": "Előfizetések betöltése"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} pos dari {{currentTimeFilterName}}: <1>tampilkan {{moreCount}} lebih banyak pos dari bulan lalu</1>",
|
"more_posts_last_month": "{{count}} pos dari {{currentTimeFilterName}}: <1>tampilkan {{moreCount}} lebih banyak pos dari bulan lalu</1>",
|
||||||
"loading_feed": "Memuat feed",
|
"loading_feed": "Memuat feed",
|
||||||
"loading_post": "Memuat pos",
|
"loading_post": "Memuat pos",
|
||||||
"node_stats": "Statistik node"
|
"node_stats": "Statistik node",
|
||||||
|
"loading_default_boards": "Memuat daftar papan default",
|
||||||
|
"loading_subscriptions": "Memuat langganan"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} post da {{currentTimeFilterName}}: <1>mostra {{moreCount}} più post dal mese scorso</1>",
|
"more_posts_last_month": "{{count}} post da {{currentTimeFilterName}}: <1>mostra {{moreCount}} più post dal mese scorso</1>",
|
||||||
"loading_feed": "Caricamento feed",
|
"loading_feed": "Caricamento feed",
|
||||||
"loading_post": "Caricamento del post",
|
"loading_post": "Caricamento del post",
|
||||||
"node_stats": "Statistiche del nodo"
|
"node_stats": "Statistiche del nodo",
|
||||||
|
"loading_default_boards": "Caricamento della lista delle board predefinite",
|
||||||
|
"loading_subscriptions": "Caricamento abbonamenti"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} 件の投稿 {{currentTimeFilterName}} 以降: <1>先月の投稿を{{moreCount}}件もっと見る</1>",
|
"more_posts_last_month": "{{count}} 件の投稿 {{currentTimeFilterName}} 以降: <1>先月の投稿を{{moreCount}}件もっと見る</1>",
|
||||||
"loading_feed": "フィードを読み込んでいます",
|
"loading_feed": "フィードを読み込んでいます",
|
||||||
"loading_post": "投稿を読み込み中",
|
"loading_post": "投稿を読み込み中",
|
||||||
"node_stats": "ノード統計"
|
"node_stats": "ノード統計",
|
||||||
|
"loading_default_boards": "デフォルトのボードリストを読み込み中",
|
||||||
|
"loading_subscriptions": "購読を読み込み中"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} 게시물 {{currentTimeFilterName}} 이후: <1>지난 달 게시물 {{moreCount}}개 더 보기</1>",
|
"more_posts_last_month": "{{count}} 게시물 {{currentTimeFilterName}} 이후: <1>지난 달 게시물 {{moreCount}}개 더 보기</1>",
|
||||||
"loading_feed": "피드를 로딩 중",
|
"loading_feed": "피드를 로딩 중",
|
||||||
"loading_post": "게시물 로딩 중",
|
"loading_post": "게시물 로딩 중",
|
||||||
"node_stats": "노드 통계"
|
"node_stats": "노드 통계",
|
||||||
|
"loading_default_boards": "기본 보드 목록을 로드 중",
|
||||||
|
"loading_subscriptions": "구독 로딩 중"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} पोस्ट {{currentTimeFilterName}} पासून: <1>पार्श्ववर्ती पोस्ट आणखी {{moreCount}} पहा गेल्या महिन्यातून</1>",
|
"more_posts_last_month": "{{count}} पोस्ट {{currentTimeFilterName}} पासून: <1>पार्श्ववर्ती पोस्ट आणखी {{moreCount}} पहा गेल्या महिन्यातून</1>",
|
||||||
"loading_feed": "फीड लोड करत आहे",
|
"loading_feed": "फीड लोड करत आहे",
|
||||||
"loading_post": "पोस्ट लोड होत आहे",
|
"loading_post": "पोस्ट लोड होत आहे",
|
||||||
"node_stats": "नोड आकडेवारी"
|
"node_stats": "नोड आकडेवारी",
|
||||||
|
"loading_default_boards": "डीफॉल्ट बोर्ड यादी लोड करत आहे",
|
||||||
|
"loading_subscriptions": "सदस्यता लोड होत आहे"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} berichten sinds {{currentTimeFilterName}}: <1>meer {{moreCount}} berichten van vorige maand tonen</1>",
|
"more_posts_last_month": "{{count}} berichten sinds {{currentTimeFilterName}}: <1>meer {{moreCount}} berichten van vorige maand tonen</1>",
|
||||||
"loading_feed": "Laad feed",
|
"loading_feed": "Laad feed",
|
||||||
"loading_post": "Bericht wordt geladen",
|
"loading_post": "Bericht wordt geladen",
|
||||||
"node_stats": "Node-statistieken"
|
"node_stats": "Node-statistieken",
|
||||||
|
"loading_default_boards": "Laden van de standaard boardlijst",
|
||||||
|
"loading_subscriptions": "Abonnementen laden"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} innlegg siden {{currentTimeFilterName}}: <1>vis {{moreCount}} flere innlegg fra forrige måned</1>",
|
"more_posts_last_month": "{{count}} innlegg siden {{currentTimeFilterName}}: <1>vis {{moreCount}} flere innlegg fra forrige måned</1>",
|
||||||
"loading_feed": "Laster feed",
|
"loading_feed": "Laster feed",
|
||||||
"loading_post": "Laster innlegg",
|
"loading_post": "Laster innlegg",
|
||||||
"node_stats": "Node-statistikk"
|
"node_stats": "Node-statistikk",
|
||||||
|
"loading_default_boards": "Laster standard tavleliste",
|
||||||
|
"loading_subscriptions": "Laster abonnementer"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} postów od {{currentTimeFilterName}}: <1>pokaż {{moreCount}} więcej postów z ubiegłego miesiąca</1>",
|
"more_posts_last_month": "{{count}} postów od {{currentTimeFilterName}}: <1>pokaż {{moreCount}} więcej postów z ubiegłego miesiąca</1>",
|
||||||
"loading_feed": "Ładowanie kanału",
|
"loading_feed": "Ładowanie kanału",
|
||||||
"loading_post": "Ładowanie posta",
|
"loading_post": "Ładowanie posta",
|
||||||
"node_stats": "Statystyki węzła"
|
"node_stats": "Statystyki węzła",
|
||||||
|
"loading_default_boards": "Ładowanie domyślnej listy tablic",
|
||||||
|
"loading_subscriptions": "Ładowanie subskrypcji"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} postagens desde {{currentTimeFilterName}}: <1>mostrar {{moreCount}} mais postagens do mês passado</1>",
|
"more_posts_last_month": "{{count}} postagens desde {{currentTimeFilterName}}: <1>mostrar {{moreCount}} mais postagens do mês passado</1>",
|
||||||
"loading_feed": "Carregando feed",
|
"loading_feed": "Carregando feed",
|
||||||
"loading_post": "Carregando post",
|
"loading_post": "Carregando post",
|
||||||
"node_stats": "Estatísticas do nó"
|
"node_stats": "Estatísticas do nó",
|
||||||
|
"loading_default_boards": "Carregando lista de quadros padrão",
|
||||||
|
"loading_subscriptions": "Carregando assinaturas"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} postări din {{currentTimeFilterName}}: <1>afișați {{moreCount}} mai multe postări din luna trecută</1>",
|
"more_posts_last_month": "{{count}} postări din {{currentTimeFilterName}}: <1>afișați {{moreCount}} mai multe postări din luna trecută</1>",
|
||||||
"loading_feed": "Încărcare feed",
|
"loading_feed": "Încărcare feed",
|
||||||
"loading_post": "Se încarcă postarea",
|
"loading_post": "Se încarcă postarea",
|
||||||
"node_stats": "Statistici nod"
|
"node_stats": "Statistici nod",
|
||||||
|
"loading_default_boards": "Se încarcă lista de panouri implicite",
|
||||||
|
"loading_subscriptions": "Încărcarea abonamentelor"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} постов с {{currentTimeFilterName}}: <1>показать {{moreCount}} больше постов с прошлого месяца</1>",
|
"more_posts_last_month": "{{count}} постов с {{currentTimeFilterName}}: <1>показать {{moreCount}} больше постов с прошлого месяца</1>",
|
||||||
"loading_feed": "Загрузка ленты",
|
"loading_feed": "Загрузка ленты",
|
||||||
"loading_post": "Загрузка сообщения",
|
"loading_post": "Загрузка сообщения",
|
||||||
"node_stats": "Статистика узла"
|
"node_stats": "Статистика узла",
|
||||||
|
"loading_default_boards": "Загрузка списка стандартных досок",
|
||||||
|
"loading_subscriptions": "Загрузка подписок"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} postime nga {{currentTimeFilterName}}: <1>shfaq {{moreCount}} më shumë postime nga muaji i kaluar</1>",
|
"more_posts_last_month": "{{count}} postime nga {{currentTimeFilterName}}: <1>shfaq {{moreCount}} më shumë postime nga muaji i kaluar</1>",
|
||||||
"loading_feed": "Po ngarkoni feed-in",
|
"loading_feed": "Po ngarkoni feed-in",
|
||||||
"loading_post": "Po ngarkohet postimi",
|
"loading_post": "Po ngarkohet postimi",
|
||||||
"node_stats": "Statistikat e nyjës"
|
"node_stats": "Statistikat e nyjës",
|
||||||
|
"loading_default_boards": "Po ngarkohen listat e bordit të parazgjedhur",
|
||||||
|
"loading_subscriptions": "Po ngarkohen abonimet"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} inlägg sedan {{currentTimeFilterName}}: <1>visa {{moreCount}} fler inlägg från förra månaden</1>",
|
"more_posts_last_month": "{{count}} inlägg sedan {{currentTimeFilterName}}: <1>visa {{moreCount}} fler inlägg från förra månaden</1>",
|
||||||
"loading_feed": "Laddar flöde",
|
"loading_feed": "Laddar flöde",
|
||||||
"loading_post": "Laddar inlägg",
|
"loading_post": "Laddar inlägg",
|
||||||
"node_stats": "Node-statistik"
|
"node_stats": "Node-statistik",
|
||||||
|
"loading_default_boards": "Laddar standardlistan för tavlor",
|
||||||
|
"loading_subscriptions": "Laddar prenumerationer"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} పోస్టులు {{currentTimeFilterName}} నుండి: <1>గత నెల నుండి {{moreCount}} మరిన్ని పోస్టులను చూపించు</1>",
|
"more_posts_last_month": "{{count}} పోస్టులు {{currentTimeFilterName}} నుండి: <1>గత నెల నుండి {{moreCount}} మరిన్ని పోస్టులను చూపించు</1>",
|
||||||
"loading_feed": "లోడింగ్ ఫీడ్",
|
"loading_feed": "లోడింగ్ ఫీడ్",
|
||||||
"loading_post": "పోస్ట్ లోడవుతోంది",
|
"loading_post": "పోస్ట్ లోడవుతోంది",
|
||||||
"node_stats": "నోడ్ గణాంకాలు"
|
"node_stats": "నోడ్ గణాంకాలు",
|
||||||
|
"loading_default_boards": "డిఫాల్ట్ బోర్డుల జాబితా లోడవుతోంది",
|
||||||
|
"loading_subscriptions": "సబ్స్క్రిప్షన్లు లోడ్ అవుతున్నాయి"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} โพสต์ตั้งแต่ {{currentTimeFilterName}}: <1>แสดง {{moreCount}} โพสต์เพิ่มเติมจากเดือนที่แล้ว</1>",
|
"more_posts_last_month": "{{count}} โพสต์ตั้งแต่ {{currentTimeFilterName}}: <1>แสดง {{moreCount}} โพสต์เพิ่มเติมจากเดือนที่แล้ว</1>",
|
||||||
"loading_feed": "กำลังโหลดฟีด",
|
"loading_feed": "กำลังโหลดฟีด",
|
||||||
"loading_post": "กำลังโหลดโพสต์",
|
"loading_post": "กำลังโหลดโพสต์",
|
||||||
"node_stats": "สถิติโหนด"
|
"node_stats": "สถิติโหนด",
|
||||||
|
"loading_default_boards": "กำลังโหลดรายการกระดานเริ่มต้น",
|
||||||
|
"loading_subscriptions": "กำลังโหลดการสมัครสมาชิก"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} gönderi {{currentTimeFilterName}}'dan itibaren: <1>geçen aydan {{moreCount}} daha fazla gönderi göster</1>",
|
"more_posts_last_month": "{{count}} gönderi {{currentTimeFilterName}}'dan itibaren: <1>geçen aydan {{moreCount}} daha fazla gönderi göster</1>",
|
||||||
"loading_feed": "Yükleniyor besleme",
|
"loading_feed": "Yükleniyor besleme",
|
||||||
"loading_post": "Gönderi yükleniyor",
|
"loading_post": "Gönderi yükleniyor",
|
||||||
"node_stats": "Düğüm istatistikleri"
|
"node_stats": "Düğüm istatistikleri",
|
||||||
|
"loading_default_boards": "Varsayılan panolar listesi yükleniyor",
|
||||||
|
"loading_subscriptions": "Abonelikler yükleniyor"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} дописів з {{currentTimeFilterName}}: <1>показати {{moreCount}} більше дописів з минулого місяця</1>",
|
"more_posts_last_month": "{{count}} дописів з {{currentTimeFilterName}}: <1>показати {{moreCount}} більше дописів з минулого місяця</1>",
|
||||||
"loading_feed": "Завантаження потоку",
|
"loading_feed": "Завантаження потоку",
|
||||||
"loading_post": "Завантаження поста",
|
"loading_post": "Завантаження поста",
|
||||||
"node_stats": "Статистика вузла"
|
"node_stats": "Статистика вузла",
|
||||||
|
"loading_default_boards": "Завантаження списку стандартних дошок",
|
||||||
|
"loading_subscriptions": "Завантаження підписок"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} پوسٹس {{currentTimeFilterName}} سے: <1>پچھلے مہینے کی مزید {{moreCount}} پوسٹس دکھائیں</1>",
|
"more_posts_last_month": "{{count}} پوسٹس {{currentTimeFilterName}} سے: <1>پچھلے مہینے کی مزید {{moreCount}} پوسٹس دکھائیں</1>",
|
||||||
"loading_feed": "لوڈ ہو رہا ہے فیڈ",
|
"loading_feed": "لوڈ ہو رہا ہے فیڈ",
|
||||||
"loading_post": "پوسٹ لوڈ ہو رہی ہے",
|
"loading_post": "پوسٹ لوڈ ہو رہی ہے",
|
||||||
"node_stats": "نوڈ کے اعدادوشمار"
|
"node_stats": "نوڈ کے اعدادوشمار",
|
||||||
|
"loading_default_boards": "ڈिफالٹ بورڈ کی فہرست لوڈ ہو رہی ہے",
|
||||||
|
"loading_subscriptions": "سبسکرپشن لوڈ ہو رہی ہے"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} bài đăng kể từ {{currentTimeFilterName}}: <1>hiển thị thêm {{moreCount}} bài đăng từ tháng trước</1>",
|
"more_posts_last_month": "{{count}} bài đăng kể từ {{currentTimeFilterName}}: <1>hiển thị thêm {{moreCount}} bài đăng từ tháng trước</1>",
|
||||||
"loading_feed": "Đang tải feed",
|
"loading_feed": "Đang tải feed",
|
||||||
"loading_post": "Đang tải bài viết",
|
"loading_post": "Đang tải bài viết",
|
||||||
"node_stats": "Thống kê nút"
|
"node_stats": "Thống kê nút",
|
||||||
|
"loading_default_boards": "Đang tải danh sách bảng mặc định",
|
||||||
|
"loading_subscriptions": "Đang tải đăng ký"
|
||||||
}
|
}
|
||||||
@@ -279,5 +279,7 @@
|
|||||||
"more_posts_last_month": "{{count}} 帖子自 {{currentTimeFilterName}} 起: <1>显示更多{{moreCount}}来自上个月的帖子</1>",
|
"more_posts_last_month": "{{count}} 帖子自 {{currentTimeFilterName}} 起: <1>显示更多{{moreCount}}来自上个月的帖子</1>",
|
||||||
"loading_feed": "加载中...",
|
"loading_feed": "加载中...",
|
||||||
"loading_post": "正在加载帖子",
|
"loading_post": "正在加载帖子",
|
||||||
"node_stats": "节点统计"
|
"node_stats": "节点统计",
|
||||||
|
"loading_default_boards": "正在加载默认板块列表",
|
||||||
|
"loading_subscriptions": "加载订阅"
|
||||||
}
|
}
|
||||||
@@ -5,6 +5,12 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.checkingSubscriptions {
|
||||||
|
font-size: var(--topbar-font-size);
|
||||||
|
color: var(--topbar-desktop-link-text-color);
|
||||||
|
text-transform: lowercase;
|
||||||
|
}
|
||||||
|
|
||||||
.boardNavDesktop a, .navTopRight span {
|
.boardNavDesktop a, .navTopRight span {
|
||||||
color: var(--topbar-desktop-link-text-color);
|
color: var(--topbar-desktop-link-text-color);
|
||||||
text-decoration: var(--topbar-desktop-link-text-decoration);
|
text-decoration: var(--topbar-desktop-link-text-decoration);
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import styles from './topbar.module.css';
|
|||||||
import { useDefaultSubplebbitAddresses } from '../../hooks/use-default-subplebbits';
|
import { useDefaultSubplebbitAddresses } from '../../hooks/use-default-subplebbits';
|
||||||
import _, { debounce } from 'lodash';
|
import _, { debounce } from 'lodash';
|
||||||
import { TimeFilter } from '../board-buttons';
|
import { TimeFilter } from '../board-buttons';
|
||||||
|
import { useAutoSubscribe } from '../../hooks/use-auto-subscribe';
|
||||||
|
|
||||||
const SearchBar = ({ setShowSearchBar }: { setShowSearchBar: (show: boolean) => void }) => {
|
const SearchBar = ({ setShowSearchBar }: { setShowSearchBar: (show: boolean) => void }) => {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
@@ -197,12 +198,15 @@ const TopBarMobile = ({ subplebbitAddress }: { subplebbitAddress: string }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const TopBar = () => {
|
const TopBar = () => {
|
||||||
|
const { t } = useTranslation();
|
||||||
const params = useParams();
|
const params = useParams();
|
||||||
|
const { isCheckingSubscriptions } = useAutoSubscribe();
|
||||||
const accountComment = useAccountComment({ commentIndex: params?.accountCommentIndex as any });
|
const accountComment = useAccountComment({ commentIndex: params?.accountCommentIndex as any });
|
||||||
const subplebbitAddress = params?.subplebbitAddress || accountComment?.subplebbitAddress;
|
const subplebbitAddress = params?.subplebbitAddress || accountComment?.subplebbitAddress;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
{isCheckingSubscriptions && <div className={styles.checkingSubscriptions}>{t('loading_subscriptions')}</div>}
|
||||||
<TopBarDesktop />
|
<TopBarDesktop />
|
||||||
<TopBarMobile subplebbitAddress={subplebbitAddress} />
|
<TopBarMobile subplebbitAddress={subplebbitAddress} />
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -15,23 +15,42 @@ export interface MultisubSubplebbit {
|
|||||||
plebchanAutoSubscribe?: boolean;
|
plebchanAutoSubscribe?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface DefaultSubplebbitsState {
|
||||||
|
subplebbits: MultisubSubplebbit[];
|
||||||
|
loading: boolean;
|
||||||
|
error: Error | null;
|
||||||
|
}
|
||||||
|
|
||||||
let cacheSubplebbits: MultisubSubplebbit[] | null = null;
|
let cacheSubplebbits: MultisubSubplebbit[] | null = null;
|
||||||
let cacheMetadata: MultisubMetadata | null = null;
|
let cacheMetadata: MultisubMetadata | null = null;
|
||||||
let cacheAutoSubscribeAddresses: string[] | null = null;
|
let cacheAutoSubscribeAddresses: string[] | null = null;
|
||||||
|
|
||||||
export const useDefaultSubplebbits = () => {
|
export const useDefaultSubplebbits = () => {
|
||||||
const [subplebbits, setSubplebbits] = useState<MultisubSubplebbit[]>([]);
|
const [state, setState] = useState<DefaultSubplebbitsState>({
|
||||||
|
subplebbits: [],
|
||||||
|
loading: true,
|
||||||
|
error: null,
|
||||||
|
});
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (cacheSubplebbits) {
|
if (cacheSubplebbits) {
|
||||||
|
setState({
|
||||||
|
subplebbits: cacheSubplebbits,
|
||||||
|
loading: false,
|
||||||
|
error: null,
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
const multisub = await fetch(
|
const multisub = await fetch('https://raw.githubusercontent.com/plebbit/temporary-default-subplebbits/master/multisub.json').then((res) => {
|
||||||
'https://raw.githubusercontent.com/plebbit/temporary-default-subplebbits/master/multisub.json',
|
if (!res.ok) {
|
||||||
// { cache: 'no-cache' }
|
throw new Error(`HTTP error! status: ${res.status}`);
|
||||||
).then((res) => res.json());
|
}
|
||||||
|
return res.json();
|
||||||
|
});
|
||||||
|
|
||||||
cacheSubplebbits = multisub.subplebbits;
|
cacheSubplebbits = multisub.subplebbits;
|
||||||
|
|
||||||
// Cache auto-subscribe addresses when we fetch subplebbits
|
// Cache auto-subscribe addresses when we fetch subplebbits
|
||||||
@@ -39,14 +58,69 @@ export const useDefaultSubplebbits = () => {
|
|||||||
.filter((sub: MultisubSubplebbit) => sub.plebchanAutoSubscribe && sub.address)
|
.filter((sub: MultisubSubplebbit) => sub.plebchanAutoSubscribe && sub.address)
|
||||||
.map((sub: MultisubSubplebbit) => sub.address);
|
.map((sub: MultisubSubplebbit) => sub.address);
|
||||||
|
|
||||||
setSubplebbits(multisub.subplebbits);
|
setState({
|
||||||
|
subplebbits: multisub.subplebbits,
|
||||||
|
loading: false,
|
||||||
|
error: null,
|
||||||
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn(e);
|
console.warn(e);
|
||||||
|
setState((prev) => ({
|
||||||
|
...prev,
|
||||||
|
loading: false,
|
||||||
|
error: e instanceof Error ? e : new Error('Failed to fetch subplebbits'),
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return cacheSubplebbits || subplebbits;
|
// To maintain backward compatibility, return the subplebbits array directly
|
||||||
|
return cacheSubplebbits || state.subplebbits;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const useDefaultSubplebbitsState = () => {
|
||||||
|
const [state, setState] = useState<DefaultSubplebbitsState>({
|
||||||
|
subplebbits: cacheSubplebbits || [],
|
||||||
|
loading: !cacheSubplebbits,
|
||||||
|
error: null,
|
||||||
|
});
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (cacheSubplebbits) {
|
||||||
|
setState({
|
||||||
|
subplebbits: cacheSubplebbits,
|
||||||
|
loading: false,
|
||||||
|
error: null,
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
try {
|
||||||
|
const multisub = await fetch('https://raw.githubusercontent.com/plebbit/temporary-default-subplebbits/master/multisub.json').then((res) => {
|
||||||
|
if (!res.ok) {
|
||||||
|
throw new Error(`HTTP error! status: ${res.status}`);
|
||||||
|
}
|
||||||
|
return res.json();
|
||||||
|
});
|
||||||
|
|
||||||
|
setState({
|
||||||
|
subplebbits: multisub.subplebbits,
|
||||||
|
loading: false,
|
||||||
|
error: null,
|
||||||
|
});
|
||||||
|
} catch (e) {
|
||||||
|
console.warn(e);
|
||||||
|
setState((prev) => ({
|
||||||
|
...prev,
|
||||||
|
loading: false,
|
||||||
|
error: e instanceof Error ? e : new Error('Failed to fetch subplebbits'),
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
return state;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const useDefaultSubplebbitAddresses = () => {
|
export const useDefaultSubplebbitAddresses = () => {
|
||||||
|
|||||||
+12
-22
@@ -7,7 +7,6 @@ import styles from './board.module.css';
|
|||||||
import { shouldShowSnow } from '../../lib/snow';
|
import { shouldShowSnow } from '../../lib/snow';
|
||||||
import { getCommentMediaInfo, getHasThumbnail } from '../../lib/utils/media-utils';
|
import { getCommentMediaInfo, getHasThumbnail } from '../../lib/utils/media-utils';
|
||||||
import { isAllView, isSubscriptionsView } from '../../lib/utils/view-utils';
|
import { isAllView, isSubscriptionsView } from '../../lib/utils/view-utils';
|
||||||
import { useAutoSubscribe } from '../../hooks/use-auto-subscribe';
|
|
||||||
import { useDefaultSubplebbitAddresses } from '../../hooks/use-default-subplebbits';
|
import { useDefaultSubplebbitAddresses } from '../../hooks/use-default-subplebbits';
|
||||||
import useFeedStateString from '../../hooks/use-feed-state-string';
|
import useFeedStateString from '../../hooks/use-feed-state-string';
|
||||||
import useReplyModal from '../../hooks/use-reply-modal';
|
import useReplyModal from '../../hooks/use-reply-modal';
|
||||||
@@ -32,7 +31,6 @@ const threadsWithoutImagesFilter = (comment: Comment) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const Board = () => {
|
const Board = () => {
|
||||||
const { isCheckingSubscriptions } = useAutoSubscribe();
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const { subplebbitAddress } = useParams<{ subplebbitAddress: string }>();
|
const { subplebbitAddress } = useParams<{ subplebbitAddress: string }>();
|
||||||
@@ -298,26 +296,18 @@ const Board = () => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{rules && !description && rules.length > 0 && <SubplebbitRules subplebbitAddress={subplebbitAddress} createdAt={createdAt} rules={rules} />}
|
{rules && !description && rules.length > 0 && <SubplebbitRules subplebbitAddress={subplebbitAddress} createdAt={createdAt} rules={rules} />}
|
||||||
{isCheckingSubscriptions ? (
|
<Virtuoso
|
||||||
<div className={styles.feed}>
|
increaseViewportBy={{ bottom: 1200, top: 1200 }}
|
||||||
<div className={styles.footer}>
|
totalCount={combinedFeed.length}
|
||||||
<LoadingEllipsis string={t('loading_feed')} />
|
data={combinedFeed}
|
||||||
</div>
|
itemContent={(index, post) => <Post index={index} post={post} openReplyModal={openReplyModal} />}
|
||||||
</div>
|
useWindowScroll={true}
|
||||||
) : (
|
components={{ Footer }}
|
||||||
<Virtuoso
|
endReached={loadMore}
|
||||||
increaseViewportBy={{ bottom: 1200, top: 1200 }}
|
ref={virtuosoRef}
|
||||||
totalCount={combinedFeed.length}
|
restoreStateFrom={lastVirtuosoState}
|
||||||
data={combinedFeed}
|
initialScrollTop={lastVirtuosoState?.scrollTop}
|
||||||
itemContent={(index, post) => <Post index={index} post={post} openReplyModal={openReplyModal} />}
|
/>
|
||||||
useWindowScroll={true}
|
|
||||||
components={{ Footer }}
|
|
||||||
endReached={loadMore}
|
|
||||||
ref={virtuosoRef}
|
|
||||||
restoreStateFrom={lastVirtuosoState}
|
|
||||||
initialScrollTop={lastVirtuosoState?.scrollTop}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -4,10 +4,12 @@ import { useTranslation } from 'react-i18next';
|
|||||||
import Plebbit from '@plebbit/plebbit-js/dist/browser/index.js';
|
import Plebbit from '@plebbit/plebbit-js/dist/browser/index.js';
|
||||||
import { Subplebbit, useSubplebbit, useSubplebbitStats } from '@plebbit/plebbit-react-hooks';
|
import { Subplebbit, useSubplebbit, useSubplebbitStats } from '@plebbit/plebbit-react-hooks';
|
||||||
import { useDefaultSubplebbitTags } from '../../../hooks/use-default-subplebbits-tags';
|
import { useDefaultSubplebbitTags } from '../../../hooks/use-default-subplebbits-tags';
|
||||||
|
import { useDefaultSubplebbitsState } from '../../../hooks/use-default-subplebbits';
|
||||||
import useIsMobile from '../../../hooks/use-is-mobile';
|
import useIsMobile from '../../../hooks/use-is-mobile';
|
||||||
import useIsSubplebbitOffline from '../../../hooks/use-is-subplebbit-offline';
|
import useIsSubplebbitOffline from '../../../hooks/use-is-subplebbit-offline';
|
||||||
import styles from '../home.module.css';
|
import styles from '../home.module.css';
|
||||||
import { nsfwTags } from '../home';
|
import { nsfwTags } from '../home';
|
||||||
|
import LoadingEllipsis from '../../../components/loading-ellipsis';
|
||||||
|
|
||||||
const Board = ({ subplebbit, isMobile }: { subplebbit: Subplebbit; isMobile: boolean }) => {
|
const Board = ({ subplebbit, isMobile }: { subplebbit: Subplebbit; isMobile: boolean }) => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
@@ -60,6 +62,7 @@ const BoardsList = ({ multisub }: { multisub: Subplebbit[] }) => {
|
|||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const [displayCount, setDisplayCount] = useState(15);
|
const [displayCount, setDisplayCount] = useState(15);
|
||||||
const isMobile = useIsMobile();
|
const isMobile = useIsMobile();
|
||||||
|
const { loading, error } = useDefaultSubplebbitsState();
|
||||||
|
|
||||||
const currentTag = location.pathname.split('/').filter(Boolean)[0];
|
const currentTag = location.pathname.split('/').filter(Boolean)[0];
|
||||||
const tags = useDefaultSubplebbitTags(multisub);
|
const tags = useDefaultSubplebbitTags(multisub);
|
||||||
@@ -68,6 +71,24 @@ const BoardsList = ({ multisub }: { multisub: Subplebbit[] }) => {
|
|||||||
setDisplayCount(15);
|
setDisplayCount(15);
|
||||||
}, [currentTag]);
|
}, [currentTag]);
|
||||||
|
|
||||||
|
if (loading) {
|
||||||
|
return (
|
||||||
|
<div className={styles.boardsBox}>
|
||||||
|
<span className={styles.loading}>
|
||||||
|
<LoadingEllipsis string={t('loading_default_boards')} />
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (error) {
|
||||||
|
return (
|
||||||
|
<div className={styles.boardsBox}>
|
||||||
|
<div className='red'>{error.message}</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
const filteredBoards = (currentTag && tags.includes(currentTag) ? multisub.filter((sub) => sub?.tags?.includes(currentTag)) : multisub).slice(0, displayCount);
|
const filteredBoards = (currentTag && tags.includes(currentTag) ? multisub.filter((sub) => sub?.tags?.includes(currentTag)) : multisub).slice(0, displayCount);
|
||||||
|
|
||||||
const totalBoardCount = currentTag && tags.includes(currentTag) ? multisub.filter((sub) => sub?.tags?.includes(currentTag)).length : multisub.length;
|
const totalBoardCount = currentTag && tags.includes(currentTag) ? multisub.filter((sub) => sub?.tags?.includes(currentTag)).length : multisub.length;
|
||||||
|
|||||||
@@ -34,6 +34,13 @@
|
|||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.loading {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.offlineIcon {
|
.offlineIcon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
|
|||||||
Reference in New Issue
Block a user