mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(settings): add subscriptions setting
This commit is contained in:
@@ -270,5 +270,7 @@
|
||||
"load_more": "تحميل المزيد",
|
||||
"displaying_boards": "عرض {{filteredBoardsCount}} من {{totalBoardCount}} المجالس",
|
||||
"displaying_boards_with_tag": "عرض {{filteredBoardsCount}} من {{totalBoardCount}} المجالس الموسومة بـ {{currentTag}}",
|
||||
"pph": "Posts Per Hour (منشورات في الساعة)"
|
||||
"pph": "Posts Per Hour (منشورات في الساعة)",
|
||||
"unsubscribe_all": "إلغاء الاشتراك من الكل",
|
||||
"unsubscribe_all_confirm": "هل أنت متأكد أنك تريد إلغاء الاشتراك من جميع المجالس؟"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "আরো লোড করুন",
|
||||
"displaying_boards": "প্রদর্শন করা হচ্ছে {{filteredBoardsCount}} এর মধ্যে {{totalBoardCount}} বোর্ড",
|
||||
"displaying_boards_with_tag": "প্রদর্শন করা হচ্ছে {{filteredBoardsCount}} এর মধ্যে {{totalBoardCount}} বোর্ড যা {{currentTag}} ট্যাগযুক্ত",
|
||||
"pph": "Posts Per Hour (পোস্ট প্রতি ঘণ্টা)"
|
||||
"pph": "Posts Per Hour (পোস্ট প্রতি ঘণ্টা)",
|
||||
"unsubscribe_all": "সব থেকে আনসাবস্ক্রাইব করুন",
|
||||
"unsubscribe_all_confirm": "আপনি কি নিশ্চিত যে আপনি সমস্ত বোর্ড থেকে আনসাবস্ক্রাইব করতে চান?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Načíst více",
|
||||
"displaying_boards": "Zobrazuji {{filteredBoardsCount}} z {{totalBoardCount}} fór",
|
||||
"displaying_boards_with_tag": "Zobrazuji {{filteredBoardsCount}} z {{totalBoardCount}} fór označených {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Příspěvky za hodinu)"
|
||||
"pph": "Posts Per Hour (Příspěvky za hodinu)",
|
||||
"unsubscribe_all": "Odhlásit se ze všeho",
|
||||
"unsubscribe_all_confirm": "Jste si jisti, že chcete zrušit odběr ze všech fór?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Indlæs mere",
|
||||
"displaying_boards": "Viser {{filteredBoardsCount}} af {{totalBoardCount}} boards",
|
||||
"displaying_boards_with_tag": "Viser {{filteredBoardsCount}} af {{totalBoardCount}} boards mærket {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Indlæg Per Time)"
|
||||
"pph": "Posts Per Hour (Indlæg Per Time)",
|
||||
"unsubscribe_all": "Afmeld fra alt",
|
||||
"unsubscribe_all_confirm": "Er du sikker på, at du vil afmelde dig fra alle boards?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Mehr laden",
|
||||
"displaying_boards": "Zeige {{filteredBoardsCount}} von {{totalBoardCount}} Boards",
|
||||
"displaying_boards_with_tag": "Zeige {{filteredBoardsCount}} von {{totalBoardCount}} Boards mit dem Tag {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Beiträge pro Stunde)"
|
||||
"pph": "Posts Per Hour (Beiträge pro Stunde)",
|
||||
"unsubscribe_all": "Von allem abmelden",
|
||||
"unsubscribe_all_confirm": "Sind Sie sicher, dass Sie sich von allen Boards abmelden möchten?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Φορτώστε περισσότερα",
|
||||
"displaying_boards": "Εμφάνιση {{filteredBoardsCount}} από τα {{totalBoardCount}} boards",
|
||||
"displaying_boards_with_tag": "Εμφάνιση {{filteredBoardsCount}} από τα {{totalBoardCount}} boards με την ετικέτα {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Αναρτήσεις ανά ώρα)"
|
||||
"pph": "Posts Per Hour (Αναρτήσεις ανά ώρα)",
|
||||
"unsubscribe_all": "Ακύρωση εγγραφής από όλα",
|
||||
"unsubscribe_all_confirm": "Είστε σίγουροι ότι θέλετε να ακυρώσετε την εγγραφή από όλα τα boards;"
|
||||
}
|
||||
@@ -137,7 +137,7 @@
|
||||
"refresh": "Refresh",
|
||||
"no_board_selected": "no board selected",
|
||||
"none": "none",
|
||||
"not_subscribed_to_any_board": "You have not subscribed to any boards yet.",
|
||||
"not_subscribed_to_any_board": "You have not subscribed to any board yet.",
|
||||
"board_mods": "Board Mods",
|
||||
"this_post_was_removed": "this post was removed",
|
||||
"user_deleted_this_post": "User deleted this post.",
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Load More",
|
||||
"displaying_boards": "Displaying {{filteredBoardsCount}} of {{totalBoardCount}} boards",
|
||||
"displaying_boards_with_tag": "Displaying {{filteredBoardsCount}} of {{totalBoardCount}} boards tagged {{currentTag}}",
|
||||
"pph": "Posts Per Hour"
|
||||
"pph": "Posts Per Hour",
|
||||
"unsubscribe_all": "Unsubscribe From All",
|
||||
"unsubscribe_all_confirm": "Are you sure you want to unsubscribe from all boards?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Cargar más",
|
||||
"displaying_boards": "Mostrando {{filteredBoardsCount}} de {{totalBoardCount}} foros",
|
||||
"displaying_boards_with_tag": "Mostrando {{filteredBoardsCount}} de {{totalBoardCount}} foros etiquetados con {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Publicaciones Por Hora)"
|
||||
"pph": "Posts Per Hour (Publicaciones Por Hora)",
|
||||
"unsubscribe_all": "Cancelar suscripción a todo",
|
||||
"unsubscribe_all_confirm": "¿Está seguro de que desea cancelar la suscripción a todos los foros?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "بارگذاری بیشتر",
|
||||
"displaying_boards": "نمایش {{filteredBoardsCount}} از {{totalBoardCount}} انجمن",
|
||||
"displaying_boards_with_tag": "نمایش {{filteredBoardsCount}} از {{totalBoardCount}} انجمن با برچسب {{currentTag}}",
|
||||
"pph": "Posts Per Hour (پست در ساعت)"
|
||||
"pph": "Posts Per Hour (پست در ساعت)",
|
||||
"unsubscribe_all": "لغو اشتراک از همه",
|
||||
"unsubscribe_all_confirm": "آیا مطمئن هستید که میخواهید از همه انجمنها لغو اشتراک کنید؟"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Lataa lisää",
|
||||
"displaying_boards": "Näytetään {{filteredBoardsCount}} {{totalBoardCount}} foorumista",
|
||||
"displaying_boards_with_tag": "Näytetään {{filteredBoardsCount}} {{totalBoardCount}} foorumista, joissa on tagi {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Viestit tunnissa)"
|
||||
"pph": "Posts Per Hour (Viestit tunnissa)",
|
||||
"unsubscribe_all": "Peruuta tilaus kaikilta",
|
||||
"unsubscribe_all_confirm": "Oletko varma, että haluat peruuttaa tilauksen kaikilta foorumeilta?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Mag-load ng higit pa",
|
||||
"displaying_boards": "Ipinapakita {{filteredBoardsCount}} mula sa {{totalBoardCount}} na mga board",
|
||||
"displaying_boards_with_tag": "Ipinapakita {{filteredBoardsCount}} mula sa {{totalBoardCount}} na mga board na may tag na {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Mga Post Bawat Oras)"
|
||||
"pph": "Posts Per Hour (Mga Post Bawat Oras)",
|
||||
"unsubscribe_all": "I-unsubscribe mula sa Lahat",
|
||||
"unsubscribe_all_confirm": "Sigurado ka bang gusto mong mag-unsubscribe mula sa lahat ng boards?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Charger plus",
|
||||
"displaying_boards": "Affichage de {{filteredBoardsCount}} sur {{totalBoardCount}} forums",
|
||||
"displaying_boards_with_tag": "Affichage de {{filteredBoardsCount}} sur {{totalBoardCount}} forums étiquetés {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Publications Par Heure)"
|
||||
"pph": "Posts Per Hour (Publications Par Heure)",
|
||||
"unsubscribe_all": "Se désabonner de tout",
|
||||
"unsubscribe_all_confirm": "Êtes-vous sûr de vouloir vous désabonner de tous les forums?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "טען עוד",
|
||||
"displaying_boards": "מציג {{filteredBoardsCount}} מתוך {{totalBoardCount}} פורומים",
|
||||
"displaying_boards_with_tag": "מציג {{filteredBoardsCount}} מתוך {{totalBoardCount}} פורומים עם התג {{currentTag}}",
|
||||
"pph": "Posts Per Hour (פוסטים לשעה)"
|
||||
"pph": "Posts Per Hour (פוסטים לשעה)",
|
||||
"unsubscribe_all": "הסרה מכולם",
|
||||
"unsubscribe_all_confirm": "האם אתה בטוח שברצונך לבטל את ההרשמה מכל הפורומים?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "अधिक लोड करें",
|
||||
"displaying_boards": "प्रदर्शित {{filteredBoardsCount}} में से {{totalBoardCount}} बोर्ड",
|
||||
"displaying_boards_with_tag": "प्रदर्शित {{filteredBoardsCount}} में से {{totalBoardCount}} बोर्ड जो {{currentTag}} टैग से जुड़े हैं",
|
||||
"pph": "Posts Per Hour (पोस्ट प्रति घंटे)"
|
||||
"pph": "Posts Per Hour (पोस्ट प्रति घंटे)",
|
||||
"unsubscribe_all": "सभी से अनसब्सक्राइब करें",
|
||||
"unsubscribe_all_confirm": "क्या आप सभी बोर्डों से अनसब्सक्राइब करना चाहते हैं, क्या आप सुनिश्चित हैं?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Töltsön be többet",
|
||||
"displaying_boards": "Képernyőn {{filteredBoardsCount}} a(z) {{totalBoardCount}} fórumokból",
|
||||
"displaying_boards_with_tag": "Képernyőn {{filteredBoardsCount}} a(z) {{totalBoardCount}} fórumok közül, amelyek tartalmazzák a(z) {{currentTag}} címkét",
|
||||
"pph": "Posts Per Hour (Bejegyzések óránként)"
|
||||
"pph": "Posts Per Hour (Bejegyzések óránként)",
|
||||
"unsubscribe_all": "Leiratkozás mindentől",
|
||||
"unsubscribe_all_confirm": "Biztos, hogy le szeretnél iratkozni az összes fórumból?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Muat lebih banyak",
|
||||
"displaying_boards": "Menampilkan {{filteredBoardsCount}} dari {{totalBoardCount}} boards",
|
||||
"displaying_boards_with_tag": "Menampilkan {{filteredBoardsCount}} dari {{totalBoardCount}} boards dengan tag {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Posting Per Jam)"
|
||||
"pph": "Posts Per Hour (Posting Per Jam)",
|
||||
"unsubscribe_all": "Berhenti berlangganan dari semua",
|
||||
"unsubscribe_all_confirm": "Apakah Anda yakin ingin berhenti berlangganan dari semua board?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Carica altro",
|
||||
"displaying_boards": "Visualizzazione di {{filteredBoardsCount}} su {{totalBoardCount}} board",
|
||||
"displaying_boards_with_tag": "Visualizzazione di {{filteredBoardsCount}} su {{totalBoardCount}} board con tag {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Post Per Ora)"
|
||||
"pph": "Posts Per Hour (Post Per Ora)",
|
||||
"unsubscribe_all": "Annulla iscrizione da tutto",
|
||||
"unsubscribe_all_confirm": "Sei sicuro di voler annullare l'iscrizione da tutti i forum?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "もっと読み込む",
|
||||
"displaying_boards": "表示中 {{filteredBoardsCount}} 件のうち {{totalBoardCount}} 件の掲示板",
|
||||
"displaying_boards_with_tag": "表示中 {{filteredBoardsCount}} 件のうち {{totalBoardCount}} 件の掲示板、タグ {{currentTag}}",
|
||||
"pph": "Posts Per Hour (時間あたりの投稿)"
|
||||
"pph": "Posts Per Hour (時間あたりの投稿)",
|
||||
"unsubscribe_all": "すべての登録を解除する",
|
||||
"unsubscribe_all_confirm": "すべての掲示板から解除してもよろしいですか?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "더 보기",
|
||||
"displaying_boards": "총 {{totalBoardCount}}개의 게시판 중 {{filteredBoardsCount}}개 게시판 표시",
|
||||
"displaying_boards_with_tag": "총 {{totalBoardCount}}개의 게시판 중 {{filteredBoardsCount}}개 게시판, 태그 {{currentTag}}",
|
||||
"pph": "Posts Per Hour (시간당 게시물)"
|
||||
"pph": "Posts Per Hour (시간당 게시물)",
|
||||
"unsubscribe_all": "모두 구독 취소",
|
||||
"unsubscribe_all_confirm": "모든 게시판에서 구독을 취소하시겠습니까?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "अधिक लोड करा",
|
||||
"displaying_boards": "प्रदर्शित करणे {{filteredBoardsCount}} मध्ये {{totalBoardCount}} बोर्ड",
|
||||
"displaying_boards_with_tag": "प्रदर्शित करणे {{filteredBoardsCount}} मध्ये {{totalBoardCount}} बोर्ड्स ज्यात {{currentTag}} टॅग आहे",
|
||||
"pph": "Posts Per Hour (पोस्ट प्रति तास)"
|
||||
"pph": "Posts Per Hour (पोस्ट प्रति तास)",
|
||||
"unsubscribe_all": "सर्वांकडून अनसब्सक्राइब करा",
|
||||
"unsubscribe_all_confirm": "तुम्हाला सर्व बोर्डमधून अनसब्सक्राइब करायचं आहे का?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Laad meer",
|
||||
"displaying_boards": "Weergave {{filteredBoardsCount}} van {{totalBoardCount}} boards",
|
||||
"displaying_boards_with_tag": "Weergave {{filteredBoardsCount}} van {{totalBoardCount}} boards met de tag {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Berichten Per Uur)"
|
||||
"pph": "Posts Per Hour (Berichten Per Uur)",
|
||||
"unsubscribe_all": "Afmelden voor alles",
|
||||
"unsubscribe_all_confirm": "Weet je zeker dat je je wilt afmelden voor alle boards?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Last inn mer",
|
||||
"displaying_boards": "Viser {{filteredBoardsCount}} av {{totalBoardCount}} boards",
|
||||
"displaying_boards_with_tag": "Viser {{filteredBoardsCount}} av {{totalBoardCount}} boards merket med {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Innhold Per Time)"
|
||||
"pph": "Posts Per Hour (Innhold Per Time)",
|
||||
"unsubscribe_all": "Avslutt abonnement fra alt",
|
||||
"unsubscribe_all_confirm": "Er du sikker på at du vil melde deg av alle boards?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Załaduj więcej",
|
||||
"displaying_boards": "Wyświetlanie {{filteredBoardsCount}} z {{totalBoardCount}} forów",
|
||||
"displaying_boards_with_tag": "Wyświetlanie {{filteredBoardsCount}} z {{totalBoardCount}} forów oznaczonych tagiem {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Posty na Godzinę)"
|
||||
"pph": "Posts Per Hour (Posty na Godzinę)",
|
||||
"unsubscribe_all": "Wypisz się ze wszystkiego",
|
||||
"unsubscribe_all_confirm": "Czy na pewno chcesz wypisać się ze wszystkich forów?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Carregar mais",
|
||||
"displaying_boards": "Exibindo {{filteredBoardsCount}} de {{totalBoardCount}} boards",
|
||||
"displaying_boards_with_tag": "Exibindo {{filteredBoardsCount}} de {{totalBoardCount}} boards com a tag {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Postagens Por Hora)"
|
||||
"pph": "Posts Per Hour (Postagens Por Hora)",
|
||||
"unsubscribe_all": "Cancelar inscrição em tudo",
|
||||
"unsubscribe_all_confirm": "Tem certeza de que deseja cancelar a inscrição em todos os boards?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Încarcă mai mult",
|
||||
"displaying_boards": "Afișare {{filteredBoardsCount}} din {{totalBoardCount}} forumuri",
|
||||
"displaying_boards_with_tag": "Afișare {{filteredBoardsCount}} din {{totalBoardCount}} forumuri etichetate cu {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Postări Pe Oră)"
|
||||
"pph": "Posts Per Hour (Postări Pe Oră)",
|
||||
"unsubscribe_all": "Dezabonare de la toate",
|
||||
"unsubscribe_all_confirm": "Ești sigur că vrei să te dezabonezi de la toate forumurile?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Загрузить больше",
|
||||
"displaying_boards": "Отображение {{filteredBoardsCount}} из {{totalBoardCount}} форумов",
|
||||
"displaying_boards_with_tag": "Отображение {{filteredBoardsCount}} из {{totalBoardCount}} форумов с тегом {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Посты в Час)"
|
||||
"pph": "Posts Per Hour (Посты в Час)",
|
||||
"unsubscribe_all": "Отписаться от всего",
|
||||
"unsubscribe_all_confirm": "Вы уверены, что хотите отписаться от всех форумов?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Ngarko më shumë",
|
||||
"displaying_boards": "Po shfaq {{filteredBoardsCount}} nga {{totalBoardCount}} forume",
|
||||
"displaying_boards_with_tag": "Po shfaq {{filteredBoardsCount}} nga {{totalBoardCount}} forume me etiketën {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Postime Në Orë)"
|
||||
"pph": "Posts Per Hour (Postime Në Orë)",
|
||||
"unsubscribe_all": "Çunsubscribe nga të gjitha",
|
||||
"unsubscribe_all_confirm": "A jeni të sigurt se doni të hiqni bllokimin nga të gjitha forume?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Läs mer",
|
||||
"displaying_boards": "Visar {{filteredBoardsCount}} av {{totalBoardCount}} boards",
|
||||
"displaying_boards_with_tag": "Visar {{filteredBoardsCount}} av {{totalBoardCount}} boards taggade med {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Inlägg Per Timme)"
|
||||
"pph": "Posts Per Hour (Inlägg Per Timme)",
|
||||
"unsubscribe_all": "Avsluta prenumeration från allt",
|
||||
"unsubscribe_all_confirm": "Är du säker på att du vill avsluta prenumerationen från alla boards?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "మరింత లోడ్ చేయండి",
|
||||
"displaying_boards": "ప్రదర్శన {{filteredBoardsCount}} నుండి {{totalBoardCount}} బోర్డ్స్",
|
||||
"displaying_boards_with_tag": "ప్రదర్శన {{filteredBoardsCount}} నుండి {{totalBoardCount}} బోర్డ్స్ ట్యాగ్ {{currentTag}}",
|
||||
"pph": "Posts Per Hour (ప్రతి గంటలో పోస్ట్లు)"
|
||||
"pph": "Posts Per Hour (ప్రతి గంటలో పోస్ట్లు)",
|
||||
"unsubscribe_all": "అన్ని నుండి అన్సబ్స్క్రైబ్ చేయండి",
|
||||
"unsubscribe_all_confirm": "మీరు అన్ని బోర్డ్స్ నుండి అన్సబ్స్క్రైబ్ చేయాలని ఖచ్చితంగా భావిస్తున్నారా?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "โหลดเพิ่มเติม",
|
||||
"displaying_boards": "แสดง {{filteredBoardsCount}} จาก {{totalBoardCount}} บอร์ด",
|
||||
"displaying_boards_with_tag": "แสดง {{filteredBoardsCount}} จาก {{totalBoardCount}} บอร์ดที่มีแท็ก {{currentTag}}",
|
||||
"pph": "Posts Per Hour (โพสต์ต่อชั่วโมง)"
|
||||
"pph": "Posts Per Hour (โพสต์ต่อชั่วโมง)",
|
||||
"unsubscribe_all": "ยกเลิกการสมัครทั้งหมด",
|
||||
"unsubscribe_all_confirm": "คุณแน่ใจหรือไม่ว่าต้องการยกเลิกการสมัครสมาชิกจากทุกบอร์ด?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Daha fazla yükle",
|
||||
"displaying_boards": "{{filteredBoardsCount}}/{{totalBoardCount}} boardları görüntüleme",
|
||||
"displaying_boards_with_tag": "{{currentTag}} etiketiyle işaretlenen {{totalBoardCount}} boardtan {{filteredBoardsCount}} görüntüleniyor",
|
||||
"pph": "Posts Per Hour (Saat Başına Paylaşımlar)"
|
||||
"pph": "Posts Per Hour (Saat Başına Paylaşımlar)",
|
||||
"unsubscribe_all": "Hepsinden aboneliği iptal et",
|
||||
"unsubscribe_all_confirm": "Tüm forumlardan aboneliği iptal etmek istediğinizden emin misiniz?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Завантажити більше",
|
||||
"displaying_boards": "Відображення {{filteredBoardsCount}} з {{totalBoardCount}} форумів",
|
||||
"displaying_boards_with_tag": "Відображення {{filteredBoardsCount}} з {{totalBoardCount}} форумів, помічених тегом {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Пости за Годину)"
|
||||
"pph": "Posts Per Hour (Пости за Годину)",
|
||||
"unsubscribe_all": "Відписатися від всього",
|
||||
"unsubscribe_all_confirm": "Ви впевнені, що хочете скасувати підписку з усіх форумів?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "مزید لوڈ کریں",
|
||||
"displaying_boards": "ظاہر ہو رہے ہیں {{filteredBoardsCount}} میں سے {{totalBoardCount}} بورڈز",
|
||||
"displaying_boards_with_tag": "ظاہر ہو رہے ہیں {{filteredBoardsCount}} میں سے {{totalBoardCount}} بورڈز جو {{currentTag}} ٹیگ کے ساتھ ہیں",
|
||||
"pph": "Posts Per Hour (ہر گھنٹے میں پوسٹس)"
|
||||
"pph": "Posts Per Hour (ہر گھنٹے میں پوسٹس)",
|
||||
"unsubscribe_all": "سب سے ان سبسکرائب کریں",
|
||||
"unsubscribe_all_confirm": "کیا آپ کو یقین ہے کہ آپ تمام بورڈز سے ان سبسکرائب کرنا چاہتے ہیں؟"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "Tải thêm",
|
||||
"displaying_boards": "Hiển thị {{filteredBoardsCount}} trong {{totalBoardCount}} diễn đàn",
|
||||
"displaying_boards_with_tag": "Hiển thị {{filteredBoardsCount}} trong {{totalBoardCount}} diễn đàn có thẻ {{currentTag}}",
|
||||
"pph": "Posts Per Hour (Bài Viết Mỗi Giờ)"
|
||||
"pph": "Posts Per Hour (Bài Viết Mỗi Giờ)",
|
||||
"unsubscribe_all": "Hủy đăng ký tất cả",
|
||||
"unsubscribe_all_confirm": "Bạn có chắc chắn muốn hủy đăng ký tất cả các diễn đàn không?"
|
||||
}
|
||||
@@ -270,5 +270,7 @@
|
||||
"load_more": "加载更多",
|
||||
"displaying_boards": "显示 {{filteredBoardsCount}} 个板块,共 {{totalBoardCount}} 个板块",
|
||||
"displaying_boards_with_tag": "显示 {{filteredBoardsCount}} 个板块,共 {{totalBoardCount}} 个板块,标签为 {{currentTag}}",
|
||||
"pph": "Posts Per Hour (每小时帖子)"
|
||||
"pph": "Posts Per Hour (每小时帖子)",
|
||||
"unsubscribe_all": "取消所有订阅",
|
||||
"unsubscribe_all_confirm": "您确定要取消对所有板块的订阅吗?"
|
||||
}
|
||||
@@ -9,6 +9,7 @@ import CryptoAddressSetting from './crypto-address-setting';
|
||||
import CryptoWalletsSetting from './crypto-wallets-setting';
|
||||
import InterfaceSettings from './interface-settings';
|
||||
import PlebbitOptions from './plebbit-options';
|
||||
import SubscriptionsSetting from './subscriptions-setting';
|
||||
|
||||
const SettingsModal = () => {
|
||||
const { t } = useTranslation();
|
||||
@@ -39,6 +40,7 @@ const SettingsModal = () => {
|
||||
const [showAvatarSettings, setShowAvatarSettings] = useState(false);
|
||||
const [showCryptoAddressSetting, setShowCryptoAddressSetting] = useState(false);
|
||||
const [showCryptoWalletSettings, setShowCryptoWalletSettings] = useState(false);
|
||||
const [showSubscriptionsSettings, setShowSubscriptionsSettings] = useState(false);
|
||||
const [showBlockedAddressesSetting, setShowBlockedAddressesSetting] = useState(false);
|
||||
const [showPlebbitOptionsSettings, setShowPlebbitOptionsSettings] = useState(false);
|
||||
const [expandAll, setExpandAll] = useState(false);
|
||||
@@ -50,6 +52,7 @@ const SettingsModal = () => {
|
||||
Number(showAvatarSettings) +
|
||||
Number(showCryptoAddressSetting) +
|
||||
Number(showCryptoWalletSettings) +
|
||||
Number(showSubscriptionsSettings) +
|
||||
Number(showBlockedAddressesSetting) +
|
||||
Number(showPlebbitOptionsSettings)
|
||||
);
|
||||
@@ -61,6 +64,7 @@ const SettingsModal = () => {
|
||||
if (showAvatarSettings && 'avatar-settings' !== excludeCategoryId) return 'avatar-settings';
|
||||
if (showCryptoAddressSetting && 'crypto-address-settings' !== excludeCategoryId) return 'crypto-address-settings';
|
||||
if (showCryptoWalletSettings && 'crypto-wallet-settings' !== excludeCategoryId) return 'crypto-wallet-settings';
|
||||
if (showSubscriptionsSettings && 'subscriptions-settings' !== excludeCategoryId) return 'subscriptions-settings';
|
||||
if (showBlockedAddressesSetting && 'blocked-addresses-settings' !== excludeCategoryId) return 'blocked-addresses-settings';
|
||||
if (showPlebbitOptionsSettings && 'plebbit-options-settings' !== excludeCategoryId) return 'plebbit-options-settings';
|
||||
return null;
|
||||
@@ -100,6 +104,7 @@ const SettingsModal = () => {
|
||||
setShowAvatarSettings(hash === 'avatar-settings');
|
||||
setShowCryptoAddressSetting(hash === 'crypto-address-settings');
|
||||
setShowCryptoWalletSettings(hash === 'crypto-wallet-settings');
|
||||
setShowSubscriptionsSettings(hash === 'subscriptions-settings');
|
||||
setShowBlockedAddressesSetting(hash === 'blocked-addresses-settings');
|
||||
setShowPlebbitOptionsSettings(hash === 'plebbit-options-settings');
|
||||
}
|
||||
@@ -113,6 +118,7 @@ const SettingsModal = () => {
|
||||
setShowAvatarSettings(newExpandState);
|
||||
setShowCryptoAddressSetting(newExpandState);
|
||||
setShowCryptoWalletSettings(newExpandState);
|
||||
setShowSubscriptionsSettings(newExpandState);
|
||||
setShowBlockedAddressesSetting(newExpandState);
|
||||
setShowPlebbitOptionsSettings(newExpandState);
|
||||
|
||||
@@ -166,6 +172,13 @@ const SettingsModal = () => {
|
||||
</label>
|
||||
</div>
|
||||
{showCryptoWalletSettings && <CryptoWalletsSetting />}
|
||||
<div id='subscriptions-settings' className={`${styles.setting} ${styles.category}`}>
|
||||
<label onClick={() => handleCategoryClick('subscriptions-settings', showSubscriptionsSettings, setShowSubscriptionsSettings)}>
|
||||
<span className={showSubscriptionsSettings ? styles.hideButton : styles.showButton} />
|
||||
{t('subscriptions')}
|
||||
</label>
|
||||
</div>
|
||||
{showSubscriptionsSettings && <SubscriptionsSetting />}
|
||||
<div id='blocked-addresses-settings' className={`${styles.setting} ${styles.category}`}>
|
||||
<label onClick={() => handleCategoryClick('blocked-addresses-settings', showBlockedAddressesSetting, setShowBlockedAddressesSetting)}>
|
||||
<span className={showBlockedAddressesSetting ? styles.hideButton : styles.showButton} />
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export { default } from './subscriptions-setting';
|
||||
@@ -0,0 +1,24 @@
|
||||
.setting {
|
||||
margin-left: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.subscription {
|
||||
padding-bottom: 5px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.unsubscribeAll {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.button {
|
||||
text-transform: capitalize;
|
||||
color: var(--button-desktop-text-color);
|
||||
text-decoration: var(--button-text-decoration);
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
color: var(--button-desktop-text-color-hover);
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
import { setAccount, useAccount, useSubscribe } from '@plebbit/plebbit-react-hooks';
|
||||
import Plebbit from '@plebbit/plebbit-js/dist/browser/index.js';
|
||||
import styles from './subscriptions-setting.module.css';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useState } from 'react';
|
||||
|
||||
const SubscriptionButton = ({ address }: { address: string }) => {
|
||||
const { t } = useTranslation();
|
||||
const { subscribed, subscribe, unsubscribe } = useSubscribe({ subplebbitAddress: address });
|
||||
const [recentlyUnsubscribed, setRecentlyUnsubscribed] = useState(false);
|
||||
|
||||
const handleClick = () => {
|
||||
if (recentlyUnsubscribed || !subscribed) {
|
||||
subscribe();
|
||||
setRecentlyUnsubscribed(false);
|
||||
} else {
|
||||
unsubscribe();
|
||||
setRecentlyUnsubscribed(true);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<span className={styles.button} onClick={handleClick}>
|
||||
{recentlyUnsubscribed || !subscribed ? t('subscribe') : t('unsubscribe')}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
||||
const SubscriptionsSetting = () => {
|
||||
const { t } = useTranslation();
|
||||
const { subscriptions } = useAccount() || [];
|
||||
const account = useAccount();
|
||||
|
||||
const unsubscribeAll = () => {
|
||||
if (window.confirm(t('unsubscribe_all_confirm'))) {
|
||||
setAccount({ ...account, subscriptions: [] });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles.setting}>
|
||||
{subscriptions?.length > 0 ? (
|
||||
<>
|
||||
{subscriptions?.length > 1 && (
|
||||
<div className={styles.unsubscribeAll}>
|
||||
[
|
||||
<span className={styles.button} onClick={unsubscribeAll}>
|
||||
{t('unsubscribe_all')}
|
||||
</span>
|
||||
]
|
||||
</div>
|
||||
)}
|
||||
<ul className={styles.subscriptions}>
|
||||
{subscriptions?.map((address: string) => (
|
||||
<li key={address} className={styles.subscription}>
|
||||
{address && Plebbit.getShortAddress(address)} [<SubscriptionButton address={address} />]
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</>
|
||||
) : (
|
||||
t('not_subscribed_to_any_board')
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SubscriptionsSetting;
|
||||
Reference in New Issue
Block a user