diff --git a/public/assets/community_settings.png b/public/assets/community_settings.png new file mode 100644 index 00000000..3472a1c0 Binary files /dev/null and b/public/assets/community_settings.png differ diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index 686f6043..efde445d 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} نقاط", "removed": "تمت الإزالة", "one_comment": "1 تعليق", - "submit_to_before": "أرسل إلى ", - "submit_to_after": "", "submit_url_description": "قم بتضمين الوسائط عن طريق نشر الرابط المباشر (الذي ينتهي بـ .jpg، .gif، .mp4، إلخ)", "title": "عنوان", "text": "نص", @@ -69,7 +67,7 @@ "loading": "تحميل", "pending": "قيد الانتظار", "or": "أو", - "submit_subscriptions_notice": "اشترك في مجتمع للوصول إليه بسرعة", + "submit_subscriptions_notice": "المجتمعات المقترحة", "submit_subscriptions": "مجتمعاتك المشتركة", "rules_for": "قواعد لـ", "no_communities_found": "لا توجد مجتمعات على <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "عنوان", "nothing_found": "لا يبدو أن هناك شيء هنا", "stickied_comment": "التعليق المثبت", - "posts_last_synced": "آخر مرة تمت مزامنة المشاركات {{dateAgo}}" + "posts_last_synced": "آخر مرة تمت مزامنة المشاركات {{dateAgo}}", + "community_settings": "إعدادات المجتمع", + "moderation_tools": "أدوات الإشراف", + "submit_to": "إرسال إلى <1>{{link}}", + "edit_subscriptions": "تحرير الاشتراكات" } \ No newline at end of file diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index ba1958e7..68600f9b 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} পয়েন্ট", "removed": "অপসারণ করা হয়েছে", "one_comment": "1 মন্তব্য", - "submit_to_before": "", - "submit_to_after": " প্রেরণ করুন", "submit_url_description": ".jpg, .gif, .mp4 ইত্যাদি দ্বারা সরাসরি লিঙ্ক পোস্ট করে মিডিয়া এম্বেড করুন", "title": "শিরোনাম", "text": "পাঠ", @@ -69,7 +67,7 @@ "loading": "লোড হচ্ছে", "pending": "মুলতুবি", "or": "অথবা", - "submit_subscriptions_notice": "দ্রুত অ্যাক্সেসের জন্য কোনো কমিউনিটিতে সাবস্ক্রাইব করুন", + "submit_subscriptions_notice": "প্রস্তাবিত কমিউনিটিগুলি", "submit_subscriptions": "আপনার সাবস্ক্রাইব করা কমিউনিটিগুলি", "rules_for": "এর নিয়মাবলী", "no_communities_found": "<1>https://github.com/plebbit/temporary-default-subplebbits এ কোনো সম্প্রদায় পাওয়া যায়নি", @@ -185,5 +183,9 @@ "address": "ঠিকানা", "nothing_found": "এখানে কিছুই নেই মনে হয় না", "stickied_comment": "পিন করা মন্তব্য", - "posts_last_synced": "পোস্টগুলি সর্বশেষ সিঙ্ক হয়েছে {{dateAgo}}" + "posts_last_synced": "পোস্টগুলি সর্বশেষ সিঙ্ক হয়েছে {{dateAgo}}", + "community_settings": "সম্প্রদায় সেটিংস", + "moderation_tools": "মধ্যস্থতা সরঞ্জাম", + "submit_to": "জমা দিন <1>{{link}}", + "edit_subscriptions": "সাবস্ক্রিপশন সম্পাদনা" } \ No newline at end of file diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index 81e5d662..fbb06d9e 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} body", "removed": "Odstraněno", "one_comment": "1 komentář", - "submit_to_before": "odeslat do ", - "submit_to_after": "", "submit_url_description": "vložte média zveřejněním přímého odkazu (končícího na .jpg, .gif, .mp4 atd.)", "title": "název", "text": "text", @@ -69,7 +67,7 @@ "loading": "Načítání", "pending": "Čeká na schválení", "or": "nebo", - "submit_subscriptions_notice": "Přihlaste se k odběru komunity pro rychlý přístup", + "submit_subscriptions_notice": "Navrhované komunity", "submit_subscriptions": "vaše odběratelské komunity", "rules_for": "pravidla pro", "no_communities_found": "Na <1>https://github.com/plebbit/temporary-default-subplebbits nebyly nalezeny žádné komunity", @@ -185,5 +183,9 @@ "address": "Adresa", "nothing_found": "Zdá se, že zde nic není", "stickied_comment": "Připnutý komentář", - "posts_last_synced": "Poslední synchronizace příspěvků {{dateAgo}}" + "posts_last_synced": "Poslední synchronizace příspěvků {{dateAgo}}", + "community_settings": "Nastavení komunity", + "moderation_tools": "Nástroje pro moderaci", + "submit_to": "Odeslat na <1>{{link}}", + "edit_subscriptions": "Upravit předplatné" } \ No newline at end of file diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 02a4ad57..5ed41c9e 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} point", "removed": "Fjernet", "one_comment": "1 kommentar", - "submit_to_before": "send til ", - "submit_to_after": "", "submit_url_description": "integrer medier ved at poste dens direkte link (slutter med .jpg, .gif, .mp4 osv.)", "title": "titel", "text": "tekst", @@ -69,7 +67,7 @@ "loading": "Indlæser", "pending": "Afventer", "or": "eller", - "submit_subscriptions_notice": "Abonner på et fællesskab for hurtigt at få adgang", + "submit_subscriptions_notice": "Foreslåede fællesskaber", "submit_subscriptions": "dine abonnerede fællesskaber", "rules_for": "regler for", "no_communities_found": "Ingen samfund fundet på <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adresse", "nothing_found": "Der ser ikke ud til at være noget her", "stickied_comment": "Fastgjort kommentar", - "posts_last_synced": "Seneste opdatering af indlæg {{dateAgo}}" + "posts_last_synced": "Seneste opdatering af indlæg {{dateAgo}}", + "community_settings": "Fællesskabsindstillinger", + "moderation_tools": "Moderationsværktøjer", + "submit_to": "Indsend til <1>{{link}}", + "edit_subscriptions": "Rediger abonnementer" } \ No newline at end of file diff --git a/public/translations/de/default.json b/public/translations/de/default.json index 8304ad17..a59d971b 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} Punkte", "removed": "Entfernt", "one_comment": "1 Kommentar", - "submit_to_before": "senden an ", - "submit_to_after": "", "submit_url_description": "medien einbetten, indem Sie den direkten Link posten (endet auf .jpg, .gif, .mp4 usw.)", "title": "Titel", "text": "Text", @@ -69,7 +67,7 @@ "loading": "Laden", "pending": "Ausstehend", "or": "oder", - "submit_subscriptions_notice": "Abonnieren Sie eine Gemeinschaft, um schnell darauf zuzugreifen", + "submit_subscriptions_notice": "Vorgeschlagene Communitys", "submit_subscriptions": "Ihre abonnierten Gemeinschaften", "rules_for": "Regeln für", "no_communities_found": "Keine Gemeinschaften gefunden auf <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adresse", "nothing_found": "Hier scheint nichts zu sein", "stickied_comment": "Angehängter Kommentar", - "posts_last_synced": "Zuletzt synchronisierte Beiträge {{dateAgo}}" + "posts_last_synced": "Zuletzt synchronisierte Beiträge {{dateAgo}}", + "community_settings": "Community-Einstellungen", + "moderation_tools": "Moderationstools", + "submit_to": "Einreichen an <1>{{link}}", + "edit_subscriptions": "Abonnements bearbeiten" } \ No newline at end of file diff --git a/public/translations/el/default.json b/public/translations/el/default.json index aca9906b..5ec28fac 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} βαθμοί", "removed": "Αφαιρέθηκε", "one_comment": "1 σχόλιο", - "submit_to_before": "υποβάλλω σε ", - "submit_to_after": "", "submit_url_description": "ενσωματώστε πολυμέσα αναρτώντας τον άμεσο σύνδεσμό τους (τελειώνει σε .jpg, .gif, .mp4 κ.λπ.)", "title": "τίτλος", "text": "κείμενο", @@ -69,7 +67,7 @@ "loading": "Φόρτωση", "pending": "Εκκρεμεί", "or": "ή", - "submit_subscriptions_notice": "Εγγραφείτε σε μια κοινότητα για γρήγορη πρόσβαση", + "submit_subscriptions_notice": "Προτεινόμενες κοινότητες", "submit_subscriptions": "οι κοινότητες στις οποίες έχετε συνδρομή", "rules_for": "κανόνες για", "no_communities_found": "Δεν βρέθηκαν κοινότητες στο <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Διεύθυνση", "nothing_found": "Δεν φαίνεται να υπάρχει τίποτα εδώ", "stickied_comment": "Καρφωμένο σχόλιο", - "posts_last_synced": "Τελευταία συγχρονισμένες δημοσιεύσεις {{dateAgo}}" + "posts_last_synced": "Τελευταία συγχρονισμένες δημοσιεύσεις {{dateAgo}}", + "community_settings": "Ρυθμίσεις κοινότητας", + "moderation_tools": "Εργαλεία διαμεσολάβησης", + "submit_to": "Υποβολή σε <1>{{link}}", + "edit_subscriptions": "Επεξεργασία συνδρομών" } \ No newline at end of file diff --git a/public/translations/en/default.json b/public/translations/en/default.json index baa06eb7..7b7ec11c 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} points", "removed": "Removed", "one_comment": "1 comment", - "submit_to_before": "submit to ", - "submit_to_after": "", "submit_url_description": "embed media by posting its direct link (ending in .jpg, .gif, .mp4, etc)", "title": "title", "text": "text", @@ -69,7 +67,7 @@ "loading": "Loading", "pending": "Pending", "or": "or", - "submit_subscriptions_notice": "Subscribe to a community to quickly access it", + "submit_subscriptions_notice": "Suggested Communities", "submit_subscriptions": "your subscribed communities", "rules_for": "rules for", "no_communities_found": "No communities found on <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Address", "nothing_found": "There doesn't seem to be anything here", "stickied_comment": "Stickied Comment", - "posts_last_synced": "Posts last synced {{dateAgo}}" + "posts_last_synced": "Posts last synced {{dateAgo}}", + "community_settings": "Community Settings", + "moderation_tools": "Moderation Tools", + "submit_to": "Submit to <1>{{link}}", + "edit_subscriptions": "Edit Subscriptions" } \ No newline at end of file diff --git a/public/translations/es/default.json b/public/translations/es/default.json index 167a8d7a..74c56699 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} puntos", "removed": "Eliminado", "one_comment": "1 comentario", - "submit_to_before": "enviar a ", - "submit_to_after": "", "submit_url_description": "inserta medios publicando su enlace directo (terminando en .jpg, .gif, .mp4, etc.)", "title": "título", "text": "texto", @@ -69,7 +67,7 @@ "loading": "Cargando", "pending": "Pendiente", "or": "o", - "submit_subscriptions_notice": "Suscríbete a una comunidad para acceder rápidamente", + "submit_subscriptions_notice": "Comunidades sugeridas", "submit_subscriptions": "tus comunidades suscritas", "rules_for": "reglas para", "no_communities_found": "No se encontraron comunidades en <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Dirección", "nothing_found": "No parece haber nada aquí", "stickied_comment": "Comentario fijado", - "posts_last_synced": "Últimas publicaciones sincronizadas {{dateAgo}}" + "posts_last_synced": "Últimas publicaciones sincronizadas {{dateAgo}}", + "community_settings": "Configuración de la comunidad", + "moderation_tools": "Herramientas de moderación", + "submit_to": "Enviar a <1>{{link}}", + "edit_subscriptions": "Editar suscripciones" } \ No newline at end of file diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index 2b9e08bd..207b0bc9 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} امتیاز", "removed": "حذف شد", "one_comment": "1 نظر", - "submit_to_before": "ارسال به ", - "submit_to_after": "", "submit_url_description": "رسانه را با ارسال پیوند مستقیم آن جاسازی کنید (پایان یافته در .jpg، .gif، .mp4، و غیره)", "title": "عنوان", "text": "متن", @@ -69,7 +67,7 @@ "loading": "بارگذاری", "pending": "در انتظار تایید", "or": "یا", - "submit_subscriptions_notice": "برای دسترسی سریع به یک جامعه مشترک شوید", + "submit_subscriptions_notice": "جوامع پیشنهادی", "submit_subscriptions": "جوامع مشترک شده شما", "rules_for": "قوانین برای", "no_communities_found": "هیچ انجمنی در <1>https://github.com/plebbit/temporary-default-subplebbits یافت نشد", @@ -185,5 +183,9 @@ "address": "آدرس", "nothing_found": "به نظر نمی رسد که چیزی وجود داشته باشد", "stickied_comment": "نظر ثابت", - "posts_last_synced": "آخرین باری که پست‌ها همگام‌سازی شدند {{dateAgo}}" + "posts_last_synced": "آخرین باری که پست‌ها همگام‌سازی شدند {{dateAgo}}", + "community_settings": "تنظیمات اجتماعی", + "moderation_tools": "ابزارهای نظارت", + "submit_to": "ارسال به <1>{{link}}", + "edit_subscriptions": "ویرایش اشتراک‌ها" } \ No newline at end of file diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index a48856e4..a6058439 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} pistettä", "removed": "Poistettu", "one_comment": "1 kommentti", - "submit_to_before": "lähetä kohteeseen ", - "submit_to_after": "", "submit_url_description": "upota mediaa lähettämällä sen suora linkki (päättyy .jpg, .gif, .mp4, jne.)", "title": "otsikko", "text": "teksti", @@ -69,7 +67,7 @@ "loading": "Ladataan", "pending": "Odottaa hyväksyntää", "or": "tai", - "submit_subscriptions_notice": "Tilaa yhteisö nopeaan pääsyyn", + "submit_subscriptions_notice": "Ehdotetut yhteisöt", "submit_subscriptions": "tilaamasi yhteisöt", "rules_for": "säännöt", "no_communities_found": "Yhteisöjä ei löytynyt osoitteesta <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Osoite", "nothing_found": "Täällä ei näytä olevan mitään", "stickied_comment": "Kiinnitetty kommentti", - "posts_last_synced": "Viimeksi synkronoidut viestit {{dateAgo}}" + "posts_last_synced": "Viimeksi synkronoidut viestit {{dateAgo}}", + "community_settings": "Yhteisön asetukset", + "moderation_tools": "Moderointityökalut", + "submit_to": "Lähetä osoitteeseen <1>{{link}}", + "edit_subscriptions": "Muokkaa tilauksia" } \ No newline at end of file diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index 5c699b12..b43471a5 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} punto", "removed": "Tinanggal", "one_comment": "1 komento", - "submit_to_before": "ipasa sa ", - "submit_to_after": "", "submit_url_description": "i-embed ang media sa pamamagitan ng pag-post ng direktang link nito (nagtatapos sa .jpg, .gif, .mp4, atbp.)", "title": "pamagat", "text": "teksto", @@ -69,7 +67,7 @@ "loading": "Naglo-load", "pending": "Nakabinbin", "or": "o", - "submit_subscriptions_notice": "Mag-subscribe sa isang komunidad para mabilis na ma-access ito", + "submit_subscriptions_notice": "Mga Inirerekomendang Komunidad", "submit_subscriptions": "iyong mga sinubskribang komunidad", "rules_for": "mga patakaran para sa", "no_communities_found": "Walang natagpuang mga komunidad sa <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Address", "nothing_found": "Wala yatang nandito", "stickied_comment": "Naka-pinned na Komento", - "posts_last_synced": "Mga huling na-synchronize na mga post {{dateAgo}}" + "posts_last_synced": "Mga huling na-synchronize na mga post {{dateAgo}}", + "community_settings": "Mga Setting ng Komunidad", + "moderation_tools": "Mga Kasangkapan sa Moderasyon", + "submit_to": "Isumite sa <1>{{link}}", + "edit_subscriptions": "I-edit ang mga Subskripsyon" } \ No newline at end of file diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index d372caf4..bfe8fda7 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} points", "removed": "Supprimé", "one_comment": "1 commentaire", - "submit_to_before": "soumettre à ", - "submit_to_after": "", "submit_url_description": "intégrez des médias en postant son lien direct (se terminant par .jpg, .gif, .mp4, etc.)", "title": "titre", "text": "texte", @@ -69,7 +67,7 @@ "loading": "Chargement", "pending": "En attente", "or": "ou", - "submit_subscriptions_notice": "Abonnez-vous à une communauté pour y accéder rapidement", + "submit_subscriptions_notice": "Communautés suggérées", "submit_subscriptions": "vos communautés abonnées", "rules_for": "règles pour", "no_communities_found": "Aucune communauté trouvée sur <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adresse", "nothing_found": "Il ne semble pas y avoir de contenu ici", "stickied_comment": "Commentaire épinglé", - "posts_last_synced": "Dernières publications synchronisées {{dateAgo}}" + "posts_last_synced": "Dernières publications synchronisées {{dateAgo}}", + "community_settings": "Paramètres de la communauté", + "moderation_tools": "Outils de modération", + "submit_to": "Soumettre à <1>{{link}}", + "edit_subscriptions": "Modifier les abonnements" } \ No newline at end of file diff --git a/public/translations/he/default.json b/public/translations/he/default.json index 9acce5f0..cb7a4e07 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} נקודות", "removed": "הוסר", "one_comment": "1 הערה", - "submit_to_before": "שלח אל ", - "submit_to_after": "", "submit_url_description": "הטמע מדיה על ידי פרסום הקישור הישיר שלה (מסתיים ב-.jpg, .gif, .mp4, וכו')", "title": "כותרת", "text": "טקסט", @@ -69,7 +67,7 @@ "loading": "טוען", "pending": "ממתין לאישור", "or": "או", - "submit_subscriptions_notice": "הירשם לקהילה כדי לגשת אליה במהירות", + "submit_subscriptions_notice": "קהילות מומלצות", "submit_subscriptions": "הקהילות שאתה מנוי עליהן", "rules_for": "כללים עבור", "no_communities_found": "לא נמצאו קהילות ב-<1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "כתובת", "nothing_found": "נראה שאין כאן שום דבר", "stickied_comment": "תגובה מוצבת", - "posts_last_synced": "פוסטים אחרונים שנסנכרנו {{dateAgo}}" + "posts_last_synced": "פוסטים אחרונים שנסנכרנו {{dateAgo}}", + "community_settings": "הגדרות הקהילה", + "moderation_tools": "כלי ניטור", + "submit_to": "שלח אל <1>{{link}}", + "edit_subscriptions": "ערוך מנויים" } \ No newline at end of file diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index 79ffc1d4..961465b2 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} अंक", "removed": "हटा दिया गया", "one_comment": "1 टिप्पणी", - "submit_to_before": "", - "submit_to_after": " को जमा करें", "submit_url_description": ".jpg, .gif, .mp4 आदि में समाप्त होने वाले सीधे लिंक को पोस्ट करके मीडिया एम्बेड करें", "title": "शीर्षक", "text": "पाठ", @@ -69,7 +67,7 @@ "loading": "लोड हो रहा है", "pending": "लंबित", "or": "या", - "submit_subscriptions_notice": "इसे जल्दी से एक्सेस करने के लिए किसी समुदाय की सदस्यता लें", + "submit_subscriptions_notice": "सुझाई गई कम्युनिटीज़", "submit_subscriptions": "आपके सब्सक्राइब किए गए समुदाय", "rules_for": "के लिए नियम", "no_communities_found": "<1>https://github.com/plebbit/temporary-default-subplebbits पर कोई समुदाय नहीं मिला", @@ -185,5 +183,9 @@ "address": "पता", "nothing_found": "ऐसा कुछ नहीं दिखता है कि यहां कुछ है", "stickied_comment": "पिन किया गया टिप्पणी", - "posts_last_synced": "पोस्ट्स अंतिम बार {{dateAgo}} को सिंक की गईं" + "posts_last_synced": "पोस्ट्स अंतिम बार {{dateAgo}} को सिंक की गईं", + "community_settings": "समुदाय सेटिंग्स", + "moderation_tools": "मॉडरेशन टूल्स", + "submit_to": "जमा करें <1>{{link}}", + "edit_subscriptions": "सदस्यता संपादित करें" } \ No newline at end of file diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index 0ada786b..11d36863 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} pont", "removed": "Eltávolítva", "one_comment": "1 megjegyzés", - "submit_to_before": "küldés ide: ", - "submit_to_after": "", "submit_url_description": "ágyazza be a médiát a közvetlen linkjének közzétételével (vége .jpg, .gif, .mp4 stb.)", "title": "cím", "text": "szöveg", @@ -69,7 +67,7 @@ "loading": "Betöltés", "pending": "Függőben", "or": "vagy", - "submit_subscriptions_notice": "Iratkozzon fel egy közösségre a gyors hozzáférés érdekében", + "submit_subscriptions_notice": "Ajánlott közösségek", "submit_subscriptions": "az Ön által feliratkozott közösségek", "rules_for": "szabályok a", "no_communities_found": "Nem található közösségek a <1>https://github.com/plebbit/temporary-default-subplebbits-en", @@ -185,5 +183,9 @@ "address": "Cím", "nothing_found": "Úgy tűnik, nincs itt semmi", "stickied_comment": "Kitűzött hozzászólás", - "posts_last_synced": "Legutóbb szinkronizált bejegyzések {{dateAgo}}" + "posts_last_synced": "Legutóbb szinkronizált bejegyzések {{dateAgo}}", + "community_settings": "Közösségi beállítások", + "moderation_tools": "Moderációs eszközök", + "submit_to": "Küldés ide: <1>{{link}}", + "edit_subscriptions": "Előfizetések szerkesztése" } \ No newline at end of file diff --git a/public/translations/id/default.json b/public/translations/id/default.json index 35713933..38fcf044 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} poin", "removed": "Dihapus", "one_comment": "1 komentar", - "submit_to_before": "kirim ke ", - "submit_to_after": "", "submit_url_description": "tanamkan media dengan memposting tautan langsungnya (berakhir dengan .jpg, .gif, .mp4, dll.)", "title": "judul", "text": "teks", @@ -69,7 +67,7 @@ "loading": "Memuat", "pending": "Tertunda", "or": "atau", - "submit_subscriptions_notice": "Berlangganan komunitas untuk mengaksesnya dengan cepat", + "submit_subscriptions_notice": "Komunitas yang Disarankan", "submit_subscriptions": "komunitas yang Anda langgani", "rules_for": "aturan untuk", "no_communities_found": "Tidak ada komunitas yang ditemukan di <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Alamat", "nothing_found": "Tidak ada yang tampaknya di sini", "stickied_comment": "Komentar yang Dipasang", - "posts_last_synced": "Postingan yang terakhir disinkronkan {{dateAgo}}" + "posts_last_synced": "Postingan yang terakhir disinkronkan {{dateAgo}}", + "community_settings": "Pengaturan Komunitas", + "moderation_tools": "Alat Moderasi", + "submit_to": "Kirim ke <1>{{link}}", + "edit_subscriptions": "Edit Langganan" } \ No newline at end of file diff --git a/public/translations/it/default.json b/public/translations/it/default.json index 57ae8385..372fe707 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} punti", "removed": "Rimosso", "one_comment": "1 commento", - "submit_to_before": "invia a ", - "submit_to_after": "", "submit_url_description": "incorpora i media postando il suo link diretto (che termina in .jpg, .gif, .mp4, ecc.)", "title": "titolo", "text": "testo", @@ -69,7 +67,7 @@ "loading": "Caricamento", "pending": "In attesa", "or": "o", - "submit_subscriptions_notice": "Iscriviti a una comunità per accedervi rapidamente", + "submit_subscriptions_notice": "Comunità consigliate", "submit_subscriptions": "le tue comunità sottoscritte", "rules_for": "regole per", "no_communities_found": "nessuna comunità trovata su <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Indirizzo", "nothing_found": "Sembra che qui non ci sia nulla", "stickied_comment": "Commento fissato", - "posts_last_synced": "Post sincronizzati l'ultima volta {{dateAgo}}" + "posts_last_synced": "Post sincronizzati l'ultima volta {{dateAgo}}", + "community_settings": "Impostazioni della comunità", + "moderation_tools": "Strumenti di moderazione", + "submit_to": "Invia a <1>{{link}}", + "edit_subscriptions": "Modifica sottoscrizioni" } \ No newline at end of file diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index 579b14d7..b217722a 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} ポイント", "removed": "削除されました", "one_comment": "1つのコメント", - "submit_to_before": "", - "submit_to_after": " に提出", "submit_url_description": "直接のリンク(.jpg、.gif、.mp4などで終わる)を投稿してメディアを埋め込む", "title": "タイトル", "text": "テキスト", @@ -69,7 +67,7 @@ "loading": "読み込み中", "pending": "保留中", "or": "または", - "submit_subscriptions_notice": "コミュニティにサブスクライブしてすばやくアクセス", + "submit_subscriptions_notice": "おすすめコミュニティ", "submit_subscriptions": "購読しているコミュニティ", "rules_for": "のルール", "no_communities_found": "<1>https://github.com/plebbit/temporary-default-subplebbitsにコミュニティは見つかりませんでした", @@ -185,5 +183,9 @@ "address": "住所", "nothing_found": "ここには何もないようです", "stickied_comment": "固定されたコメント", - "posts_last_synced": "最後に同期された投稿 {{dateAgo}}" + "posts_last_synced": "最後に同期された投稿 {{dateAgo}}", + "community_settings": "コミュニティの設定", + "moderation_tools": "モデレーションツール", + "submit_to": "<1>{{link}}に提出する", + "edit_subscriptions": "購読の編集" } \ No newline at end of file diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index 6cca5cdf..b7114917 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} 점", "removed": "제거됨", "one_comment": "1 댓글", - "submit_to_before": "", - "submit_to_after": "에 제출", "submit_url_description": "직접 링크를 게시하여 미디어 포함 (.jpg, .gif, .mp4 등으로 끝남)", "title": "제목", "text": "텍스트", @@ -69,7 +67,7 @@ "loading": "로딩 중", "pending": "승인 대기 중", "or": "또는", - "submit_subscriptions_notice": "빠르게 접근하기 위해 커뮤니티에 구독하세요", + "submit_subscriptions_notice": "추천 커뮤니티", "submit_subscriptions": "구독한 커뮤니티", "rules_for": "규칙", "no_communities_found": "<1>https://github.com/plebbit/temporary-default-subplebbits에 커뮤니티를 찾을 수 없습니다", @@ -185,5 +183,9 @@ "address": "주소", "nothing_found": "여기에는 아무것도 없는 것 같습니다", "stickied_comment": "고정된 댓글", - "posts_last_synced": "마지막 동기화된 게시물 {{dateAgo}}" + "posts_last_synced": "마지막 동기화된 게시물 {{dateAgo}}", + "community_settings": "커뮤니티 설정", + "moderation_tools": "모더레이션 도구", + "submit_to": "<1>{{link}}(으)로 제출하기", + "edit_subscriptions": "구독 편집" } \ No newline at end of file diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index 0bad07c9..aabcfe55 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} गुण", "removed": "काढून टाकला", "one_comment": "1 टिप्पणी", - "submit_to_before": "", - "submit_to_after": " किंवा प्रेषित करा", "submit_url_description": ".jpg, .gif, .mp4 इत्यादीत समाप्त होणार्या थेट लिंकच्या माध्यमातून माध्यमाची एम्बेड करा", "title": "शीर्षक", "text": "मजकूर", @@ -69,7 +67,7 @@ "loading": "लोड करीत आहे", "pending": "प्रलंबित", "or": "किंवा", - "submit_subscriptions_notice": "लवकर प्रवेश करण्यासाठी समुदायाला सदस्यता घ्या", + "submit_subscriptions_notice": "सुचविलेले संघटने", "submit_subscriptions": "आपण सदस्यता घेतलेली समुदाय", "rules_for": "साठीचे नियम", "no_communities_found": "<1>https://github.com/plebbit/temporary-default-subplebbits वर कोणत्याही समुदायाचा शोध लागलेला नाही", @@ -185,5 +183,9 @@ "address": "पत्ता", "nothing_found": "काहीतरी दिसत नाही आहे", "stickied_comment": "टाळलेला टिप्पणी", - "posts_last_synced": "शेवटी सिंक केलेले पोस्ट्स {{dateAgo}}" + "posts_last_synced": "शेवटी सिंक केलेले पोस्ट्स {{dateAgo}}", + "community_settings": "समुदाय सेटिंग्स", + "moderation_tools": "निरीक्षण साधने", + "submit_to": "<1>{{link}} कडे पाठवा", + "edit_subscriptions": "सदस्यता संपादने" } \ No newline at end of file diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index c1627c89..195b234f 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} punten", "removed": "Verwijderd", "one_comment": "1 opmerking", - "submit_to_before": "inzenden naar ", - "submit_to_after": "", "submit_url_description": "media insluiten door de directe link te posten (eindigend op .jpg, .gif, .mp4, etc.)", "title": "titel", "text": "tekst", @@ -69,7 +67,7 @@ "loading": "Laden", "pending": "In afwachting", "or": "of", - "submit_subscriptions_notice": "Abonneer op een gemeenschap voor snelle toegang", + "submit_subscriptions_notice": "Aanbevolen gemeenschappen", "submit_subscriptions": "uw geabonneerde gemeenschappen", "rules_for": "regels voor", "no_communities_found": "Geen gemeenschappen gevonden op <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adres", "nothing_found": "Het lijkt erop dat hier niets is", "stickied_comment": "Vastgezette opmerking", - "posts_last_synced": "Laatst gesynchroniseerde berichten {{dateAgo}}" + "posts_last_synced": "Laatst gesynchroniseerde berichten {{dateAgo}}", + "community_settings": "Community-instellingen", + "moderation_tools": "Moderatiehulpmiddelen", + "submit_to": "Verzenden naar <1>{{link}}", + "edit_subscriptions": "Abonnementen bewerken" } \ No newline at end of file diff --git a/public/translations/no/default.json b/public/translations/no/default.json index 9821a1ca..45672817 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} poeng", "removed": "Fjernet", "one_comment": "1 kommentar", - "submit_to_before": "send inn til ", - "submit_to_after": "", "submit_url_description": "bygg inn medier ved å poste dens direkte lenke (slutter med .jpg, .gif, .mp4 osv.)", "title": "tittel", "text": "tekst", @@ -69,7 +67,7 @@ "loading": "Laster", "pending": "Venter på godkjenning", "or": "eller", - "submit_subscriptions_notice": "Abonner på et samfunn for rask tilgang", + "submit_subscriptions_notice": "Anbefalte fellesskap", "submit_subscriptions": "dine abonnerte samfunn", "rules_for": "regler for", "no_communities_found": "Ingen samfunn funnet på <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adresse", "nothing_found": "Det ser ikke ut til å være noe her", "stickied_comment": "Festet kommentar", - "posts_last_synced": "Innlegg sist synkronisert {{dateAgo}}" + "posts_last_synced": "Innlegg sist synkronisert {{dateAgo}}", + "community_settings": "Fellesskapsinnstillinger", + "moderation_tools": "Moderasjonsverktøy", + "submit_to": "Send til <1>{{link}}", + "edit_subscriptions": "Rediger abonnementer" } \ No newline at end of file diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 53e6e77c..2de3c93f 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} punkty", "removed": "Usunięto", "one_comment": "1 komentarz", - "submit_to_before": "prześlij do ", - "submit_to_after": "", "submit_url_description": "osadź media, publikując jego bezpośredni link (kończący się na .jpg, .gif, .mp4 itp.)", "title": "tytuł", "text": "tekst", @@ -69,7 +67,7 @@ "loading": "Ładowanie", "pending": "Oczekujące", "or": "lub", - "submit_subscriptions_notice": "Zasubskrybuj społeczność, aby szybko uzyskać dostęp", + "submit_subscriptions_notice": "Polecane społeczności", "submit_subscriptions": "twoje subskrybowane społeczności", "rules_for": "zasady dla", "no_communities_found": "Nie znaleziono społeczności na <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adres", "nothing_found": "Nie wydaje się, że jest tu cokolwiek", "stickied_comment": "Przypięty komentarz", - "posts_last_synced": "Ostatnio zsynchronizowane posty {{dateAgo}}" + "posts_last_synced": "Ostatnio zsynchronizowane posty {{dateAgo}}", + "community_settings": "Ustawienia społeczności", + "moderation_tools": "Narzędzia moderacji", + "submit_to": "Prześlij do <1>{{link}}", + "edit_subscriptions": "Edytuj subskrypcje" } \ No newline at end of file diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index e0c3d362..bc8c79e4 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} pontos", "removed": "Removido", "one_comment": "1 comentário", - "submit_to_before": "enviar para ", - "submit_to_after": "", "submit_url_description": "incorpore mídias postando seu link direto (terminando em .jpg, .gif, .mp4, etc.)", "title": "título", "text": "texto", @@ -69,7 +67,7 @@ "loading": "Carregando", "pending": "Pendente", "or": "ou", - "submit_subscriptions_notice": "Inscreva-se em uma comunidade para acessá-la rapidamente", + "submit_subscriptions_notice": "Comunidades sugeridas", "submit_subscriptions": "suas comunidades inscritas", "rules_for": "regras para", "no_communities_found": "Nenhuma comunidade encontrada em <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Endereço", "nothing_found": "Não parece haver nada aqui", "stickied_comment": "Comentário fixado", - "posts_last_synced": "Últimas postagens sincronizadas {{dateAgo}}" + "posts_last_synced": "Últimas postagens sincronizadas {{dateAgo}}", + "community_settings": "Configurações da comunidade", + "moderation_tools": "Ferramentas de moderação", + "submit_to": "Enviar para <1>{{link}}", + "edit_subscriptions": "Editar assinaturas" } \ No newline at end of file diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index 74bd59df..83181c09 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} puncte", "removed": "Eliminat", "one_comment": "1 comentariu", - "submit_to_before": "trimite la ", - "submit_to_after": "", "submit_url_description": "încorporați media postând linkul său direct (terminând în .jpg, .gif, .mp4, etc.)", "title": "titlu", "text": "text", @@ -69,7 +67,7 @@ "loading": "Se încarcă", "pending": "În așteptare", "or": "sau", - "submit_subscriptions_notice": "Abonează-te la o comunitate pentru acces rapid", + "submit_subscriptions_notice": "Comunități recomandate", "submit_subscriptions": "comunitățile dvs. abonate", "rules_for": "reguli pentru", "no_communities_found": "Nicio comunitate găsită pe <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adresă", "nothing_found": "Nu pare să fie nimic aici", "stickied_comment": "Comentariu fixat", - "posts_last_synced": "Ultimele postări sincronizate {{dateAgo}}" + "posts_last_synced": "Ultimele postări sincronizate {{dateAgo}}", + "community_settings": "Setări ale comunității", + "moderation_tools": "Instrumente de moderare", + "submit_to": "Trimite la <1>{{link}}", + "edit_subscriptions": "Editează abonamente" } \ No newline at end of file diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index 357070e2..add53a79 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} очков", "removed": "Удалено", "one_comment": "1 комментарий", - "submit_to_before": "отправить в ", - "submit_to_after": "", "submit_url_description": "вставьте медиа, разместив его прямую ссылку (заканчивается на .jpg, .gif, .mp4 и т. д.)", "title": "заголовок", "text": "текст", @@ -69,7 +67,7 @@ "loading": "Загрузка", "pending": "В ожидании", "or": "или", - "submit_subscriptions_notice": "Подпишитесь на сообщество для быстрого доступа", + "submit_subscriptions_notice": "Рекомендуемые сообщества", "submit_subscriptions": "ваши подписанные сообщества", "rules_for": "правила для", "no_communities_found": "Сообщества не найдены на <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Адрес", "nothing_found": "Здесь, кажется, ничего нет", "stickied_comment": "Закрепленный комментарий", - "posts_last_synced": "Последние синхронизированные посты {{dateAgo}}" + "posts_last_synced": "Последние синхронизированные посты {{dateAgo}}", + "community_settings": "Настройки сообщества", + "moderation_tools": "Инструменты модерации", + "submit_to": "Отправить на <1>{{link}}", + "edit_subscriptions": "Редактировать подписки" } \ No newline at end of file diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index 400ae849..2b38be70 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} pikë", "removed": "U hoq", "one_comment": "1 koment", - "submit_to_before": "dërgo te ", - "submit_to_after": "", "submit_url_description": "ngulit media duke postuar lidhjen e saj të drejtpërdrejtë (që përfundon në .jpg, .gif, .mp4, etj.)", "title": "titull", "text": "tekst", @@ -69,7 +67,7 @@ "loading": "Po ngarkohet", "pending": "Në pritje", "or": "ose", - "submit_subscriptions_notice": "Abonohuni në një komunitet për të hyrë shpejt", + "submit_subscriptions_notice": "Komunitete të propozuara", "submit_subscriptions": "komunitetet tuaja të abonuara", "rules_for": "rregullat për", "no_communities_found": "Nuk u gjetën komunitete në <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adresë", "nothing_found": "Nuk duket të ketë asgjë këtu", "stickied_comment": "Komenti i fiksuar", - "posts_last_synced": "Postimet e fundit të sinkronizuara {{dateAgo}}" + "posts_last_synced": "Postimet e fundit të sinkronizuara {{dateAgo}}", + "community_settings": "Cilësimet e komunitetit", + "moderation_tools": "Mjete moderimi", + "submit_to": "Dërgo te <1>{{link}}", + "edit_subscriptions": "Ndrysho abonimet" } \ No newline at end of file diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index f833f642..4a0420a1 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} poäng", "removed": "Borttagen", "one_comment": "1 kommentar", - "submit_to_before": "skicka till ", - "submit_to_after": "", "submit_url_description": "bädda in media genom att posta dess direkta länk (slutar i .jpg, .gif, .mp4, etc)", "title": "titel", "text": "text", @@ -69,7 +67,7 @@ "loading": "Laddar", "pending": "Avvaktar", "or": "eller", - "submit_subscriptions_notice": "Prenumerera på ett samhälle för att snabbt få tillgång", + "submit_subscriptions_notice": "Föreslagna samhällen", "submit_subscriptions": "dina prenumererade samhällen", "rules_for": "regler för", "no_communities_found": "Inga samhällen hittades på <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Adress", "nothing_found": "Det verkar inte finnas något här", "stickied_comment": "Fast kommentar", - "posts_last_synced": "Senast synkroniserade inlägg {{dateAgo}}" + "posts_last_synced": "Senast synkroniserade inlägg {{dateAgo}}", + "community_settings": "Samhällsinställningar", + "moderation_tools": "Modereringsverktyg", + "submit_to": "Skicka till <1>{{link}}", + "edit_subscriptions": "Redigera prenumerationer" } \ No newline at end of file diff --git a/public/translations/te/default.json b/public/translations/te/default.json index 90bb888b..7226b739 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} పాయింట్లు", "removed": "తొలగించబడింది", "one_comment": "1 వ్యాఖ్య", - "submit_to_before": "", - "submit_to_after": "కి సమర్పించు", "submit_url_description": ".jpg, .gif, .mp4 వంటివిలో ముగిసే ప్రత్యక్ష లింకును పోస్ట్ చేసి మీడియాను ఎంబెడ్ చేయండి", "title": "శీర్షిక", "text": "టెక్స్ట్", @@ -69,7 +67,7 @@ "loading": "లోడ్ అవుతోంది", "pending": "అనుమతి కోసం వేచి ఉంది", "or": "లేదా", - "submit_subscriptions_notice": "దీనిని త్వరగా యాక్సెస్ చేయడానికి ఒక సముదాయానికి చందా చేసుకోండి", + "submit_subscriptions_notice": "సూచింపబడిన సంఘటనలు", "submit_subscriptions": "మీరు చందా చేసుకున్న సముదాయాలు", "rules_for": "కోసం నియమాలు", "no_communities_found": "<1>https://github.com/plebbit/temporary-default-subplebbitsలో సమూహాలు కనిపించలేదు", @@ -185,5 +183,9 @@ "address": "చిరునామా", "nothing_found": "ఇక్కడ ఏమి ఉందని లేదని అనుకున్నట్లయిదేమీ లేదు", "stickied_comment": "పిన్ చేసిన వ్యాఖ్య", - "posts_last_synced": "పోస్టులు చివరిలో సింక్ అయ్యాయి {{dateAgo}}" + "posts_last_synced": "పోస్టులు చివరిలో సింక్ అయ్యాయి {{dateAgo}}", + "community_settings": "కమ్యూనిటీ సెట్టింగులు", + "moderation_tools": "మాడరేషన్ సాధనాలు", + "submit_to": "<1>{{link}} కు పంపండి", + "edit_subscriptions": "సబ్‌స్క్రిప్షన్స్ సవరించండి" } \ No newline at end of file diff --git a/public/translations/th/default.json b/public/translations/th/default.json index b5b3932a..fde0fc3a 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} แต้ม", "removed": "ถูกนำออก", "one_comment": "1 ความคิดเห็น", - "submit_to_before": "ส่งไปยัง ", - "submit_to_after": "", "submit_url_description": "ฝังสื่อโดยการโพสต์ลิงก์ตรง (ลงท้ายด้วย .jpg, .gif, .mp4 ฯลฯ)", "title": "หัวข้อ", "text": "ข้อความ", @@ -69,7 +67,7 @@ "loading": "กำลังโหลด", "pending": "รอดำเนินการ", "or": "หรือ", - "submit_subscriptions_notice": "สมัครสมาชิกชุมชนเพื่อเข้าถึงได้เร็ว", + "submit_subscriptions_notice": "ชุมชนแนะนำ", "submit_subscriptions": "ชุมชนที่คุณติดตาม", "rules_for": "กฎสำหรับ", "no_communities_found": "ไม่พบชุมชนใด ๆ บน <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "ที่อยู่", "nothing_found": "ดูเหมือนว่าจะไม่มีอะไรที่นี่", "stickied_comment": "ความคิดเห็นที่ตรึง", - "posts_last_synced": "โพสต์ล่าสุดที่ซิงค์ {{dateAgo}}" + "posts_last_synced": "โพสต์ล่าสุดที่ซิงค์ {{dateAgo}}", + "community_settings": "การตั้งค่าชุมชน", + "moderation_tools": "เครื่องมือการตรวจสอบ", + "submit_to": "ส่งไปที่ <1>{{link}}", + "edit_subscriptions": "แก้ไขการสมัครสมาชิก" } \ No newline at end of file diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index a3c54b28..d0bf6e41 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} puan", "removed": "Kaldırıldı", "one_comment": "1 yorum", - "submit_to_before": "", - "submit_to_after": " gönder", "submit_url_description": "medya ekleyin doğrudan bağlantısını göndererek (.jpg, .gif, .mp4 vb. ile biten)", "title": "başlık", "text": "metin", @@ -69,7 +67,7 @@ "loading": "Yükleniyor", "pending": "Beklemede", "or": "veya", - "submit_subscriptions_notice": "Hızlı erişim için bir topluluğa abone olun", + "submit_subscriptions_notice": "Önerilen Topluluklar", "submit_subscriptions": "abone olduğunuz topluluklar", "rules_for": "için kurallar", "no_communities_found": "<1>https://github.com/plebbit/temporary-default-subplebbits üzerinde hiçbir topluluk bulunamadı", @@ -185,5 +183,9 @@ "address": "Adres", "nothing_found": "Burada hiçbir şey görünmüyor gibi", "stickied_comment": "Sabitleyici Yorum", - "posts_last_synced": "Son senkronize edilen gönderiler {{dateAgo}}" + "posts_last_synced": "Son senkronize edilen gönderiler {{dateAgo}}", + "community_settings": "Topluluk Ayarları", + "moderation_tools": "Moderasyon Araçları", + "submit_to": "<1>{{link}} adresine gönder", + "edit_subscriptions": "Abonelikleri Düzenle" } \ No newline at end of file diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index 8178214b..731a4fdb 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} бали", "removed": "Видалено", "one_comment": "1 коментар", - "submit_to_before": "надіслати до ", - "submit_to_after": "", "submit_url_description": "вставте медіа, розмістивши його пряме посилання (закінчується на .jpg, .gif, .mp4 тощо)", "title": "заголовок", "text": "текст", @@ -69,7 +67,7 @@ "loading": "Завантаження", "pending": "Очікується", "or": "або", - "submit_subscriptions_notice": "Підпишіться на спільноту, щоб швидко отримати доступ", + "submit_subscriptions_notice": "Рекомендовані спільноти", "submit_subscriptions": "ваші підписані спільноти", "rules_for": "правила для", "no_communities_found": "Спільноти не знайдені на <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Адреса", "nothing_found": "Тут, здається, нічого немає", "stickied_comment": "Закріплений коментар", - "posts_last_synced": "Останні синхронізовані пости {{dateAgo}}" + "posts_last_synced": "Останні синхронізовані пости {{dateAgo}}", + "community_settings": "Налаштування спільноти", + "moderation_tools": "Інструменти модерації", + "submit_to": "Надіслати до <1>{{link}}", + "edit_subscriptions": "Редагувати підписки" } \ No newline at end of file diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index 3ac21ddc..eb3f4c68 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} پوائنٹس", "removed": "ہٹا دیا گیا", "one_comment": "1 تبصرہ", - "submit_to_before": "", - "submit_to_after": " کو جمع کروائیں", "submit_url_description": ".jpg، .gif، .mp4 وغیرہ میں ختم ہونے والے براہ راست لنک کو پوسٹ کرکے میڈیا انکارپوریٹ کریں", "title": "عنوان", "text": "مواد", @@ -69,7 +67,7 @@ "loading": "لوڈ ہو رہا ہے", "pending": "منتظر", "or": "یا", - "submit_subscriptions_notice": "اسے جلدی سے ایکسس کرنے کے لیے کسی کمیونٹی کو سبسکرائب کریں", + "submit_subscriptions_notice": "موصولہ کمیونٹیز", "submit_subscriptions": "آپ کی سبسکرائب شدہ کمیونٹیز", "rules_for": "کے قواعد", "no_communities_found": "<1>https://github.com/plebbit/temporary-default-subplebbits پر کوئی کمیونٹیز نہیں ملی", @@ -185,5 +183,9 @@ "address": "پتہ", "nothing_found": "یہاں کچھ بھی نظر نہیں آرہا", "stickied_comment": "پن کردہ تبصرہ", - "posts_last_synced": "آخری مرتب سبقت کردہ پوسٹس {{dateAgo}}" + "posts_last_synced": "آخری مرتب سبقت کردہ پوسٹس {{dateAgo}}", + "community_settings": "کمیونٹی کی ترتیبات", + "moderation_tools": "موڈریشن ٹولز", + "submit_to": "جمع کرائیں <1>{{link}}", + "edit_subscriptions": "سبسکرائب کو ترتیب دیں" } \ No newline at end of file diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index b8384132..9c6dd07e 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} điểm", "removed": "Đã xóa", "one_comment": "1 bình luận", - "submit_to_before": "gửi đến ", - "submit_to_after": "", "submit_url_description": "nhúng phương tiện bằng cách đăng liên kết trực tiếp của nó (kết thúc bằng .jpg, .gif, .mp4, v.v.)", "title": "tiêu đề", "text": "văn bản", @@ -69,7 +67,7 @@ "loading": "Đang tải", "pending": "Đang chờ duyệt", "or": "hoặc", - "submit_subscriptions_notice": "Đăng ký vào một cộng đồng để nhanh chóng truy cập", + "submit_subscriptions_notice": "Cộng đồng được đề xuất", "submit_subscriptions": "các cộng đồng bạn đã đăng ký", "rules_for": "quy tắc cho", "no_communities_found": "Không tìm thấy cộng đồng nào trên <1>https://github.com/plebbit/temporary-default-subplebbits", @@ -185,5 +183,9 @@ "address": "Địa chỉ", "nothing_found": "Dường như không có gì ở đây", "stickied_comment": "Bình luận ghim", - "posts_last_synced": "Bài viết gần nhất đã đồng bộ {{dateAgo}}" + "posts_last_synced": "Bài viết gần nhất đã đồng bộ {{dateAgo}}", + "community_settings": "Cài đặt cộng đồng", + "moderation_tools": "Công cụ kiểm duyệt", + "submit_to": "Gửi đến <1>{{link}}", + "edit_subscriptions": "Chỉnh sửa đăng ký" } \ No newline at end of file diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index 8bd2944c..4d58d479 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -49,8 +49,6 @@ "reply_score_plural": "{{count}} 分", "removed": "已删除", "one_comment": "1 条评论", - "submit_to_before": "提交至", - "submit_to_after": "", "submit_url_description": "通过发布其直接链接(以.jpg、.gif、.mp4等结尾)嵌入媒体", "title": "标题", "text": "文本", @@ -69,7 +67,7 @@ "loading": "加载中", "pending": "待审批", "or": "或", - "submit_subscriptions_notice": "订阅社区以快速访问", + "submit_subscriptions_notice": "建议的社区", "submit_subscriptions": "您订阅的社区", "rules_for": "规则适用于", "no_communities_found": "在<1>https://github.com/plebbit/temporary-default-subplebbits上未找到任何社区", @@ -185,5 +183,9 @@ "address": "地址", "nothing_found": "这里似乎什么都没有", "stickied_comment": "置顶评论", - "posts_last_synced": "最后同步的帖子 {{dateAgo}}" + "posts_last_synced": "最后同步的帖子 {{dateAgo}}", + "community_settings": "社区设置", + "moderation_tools": "管理工具", + "submit_to": "提交至 <1>{{link}}", + "edit_subscriptions": "编辑订阅" } \ No newline at end of file diff --git a/src/components/header/header.module.css b/src/components/header/header.module.css index d1c6a300..4a5b0a55 100644 --- a/src/components/header/header.module.css +++ b/src/components/header/header.module.css @@ -174,7 +174,7 @@ .joinButton { order: 3; - margin-bottom: -4px; + margin-bottom: 3px; } } diff --git a/src/components/header/header.tsx b/src/components/header/header.tsx index 74e555b6..1bf589a6 100644 --- a/src/components/header/header.tsx +++ b/src/components/header/header.tsx @@ -293,7 +293,7 @@ const HeaderTitle = ({ title, shortAddress }: { title: string; shortAddress: str } else if (isInSubplebbitSettingsView) { return ( <> - {subplebbitTitle}: {t('settings')} + {subplebbitTitle}: {t('community_settings')} ); } else if (isInSubmitView) { diff --git a/src/components/sidebar/sidebar.module.css b/src/components/sidebar/sidebar.module.css index 16cdbb9e..0dc0f40b 100644 --- a/src/components/sidebar/sidebar.module.css +++ b/src/components/sidebar/sidebar.module.css @@ -32,12 +32,16 @@ a { margin-top: 5px; } +.subscribeButton { + margin-right: 5px; +} + .onlineIndicator { background-repeat: no-repeat; display: inline-block; height: 13px; width: 13px; - margin: 0 7px -2px 2px; + margin: 7px 7px -2px 2px; } .online { @@ -177,6 +181,31 @@ a { padding-left: 40px; } +.moderationTool { + margin: 5px 0; + text-transform: lowercase; +} + +.selectedTool { + font-weight: bold; +} + +.moderationTool a { + text-decoration: none; + color: var(--text-primary); + cursor: pointer; +} + +.communitySettingsTool::before { + background-image: url('/public/assets/community_settings.png'); + background-size: 16px 16px; + height: 16px; + width: 16px; + content: ''; + float: left; + margin-right: 5px; +} + .postInfo { padding: 5px; border: 1px solid var(--border-primary); diff --git a/src/components/sidebar/sidebar.tsx b/src/components/sidebar/sidebar.tsx index 9fe84773..3e360d38 100644 --- a/src/components/sidebar/sidebar.tsx +++ b/src/components/sidebar/sidebar.tsx @@ -1,11 +1,11 @@ import { Link, useLocation, useParams } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { getShortAddress } from '@plebbit/plebbit-js'; -import { useBlock, Role, useSubplebbitStats, useAccountComment } from '@plebbit/plebbit-react-hooks'; +import { useAccount, useBlock, Role, useSubplebbitStats, useAccountComment } from '@plebbit/plebbit-react-hooks'; import styles from './sidebar.module.css'; import { getFormattedDate, getFormattedTimeDuration, getFormattedTimeAgo } from '../../lib/utils/time-utils'; import { findSubplebbitCreator } from '../../lib/utils/user-utils'; -import { isAboutView, isAllView, isHomeView, isPendingView, isPostView, isSubplebbitsView } from '../../lib/utils/view-utils'; +import { isAboutView, isAllView, isHomeView, isPendingView, isPostView, isSubplebbitSettingsView, isSubplebbitsView } from '../../lib/utils/view-utils'; import SearchBar from '../search-bar'; import SubscribeButton from '../subscribe-button'; @@ -73,6 +73,26 @@ const PostInfo = ({ address, cid, downvoteCount = 0, timestamp = 0, upvoteCount ); }; +const ModerationTools = ({ address }: sidebarProps) => { + const { t } = useTranslation(); + const location = useLocation(); + const params = useParams(); + const isInSubplebbitSettingsView = isSubplebbitSettingsView(location.pathname, params); + + return ( +
+
{t('moderation_tools')}
+ +
+ ); +}; + const Sidebar = ({ address, cid, createdAt, description, downvoteCount = 0, roles, rules, timestamp = 0, title, updatedAt, upvoteCount = 0 }: sidebarProps) => { const { t } = useTranslation(); const { allActiveUserCount, hourActiveUserCount } = useSubplebbitStats({ subplebbitAddress: address }); @@ -114,6 +134,9 @@ const Sidebar = ({ address, cid, createdAt, description, downvoteCount = 0, role alert('Not available in this version. You can create a community with the CLI: https://github.com/plebbit/plebbit-cli'); }; + const account = useAccount(); + const isModerator = roles?.[account.author?.address]?.role; + return (
@@ -137,7 +160,9 @@ const Sidebar = ({ address, cid, createdAt, description, downvoteCount = 0, role {address}
- + + + {t('members_count', { count: allActiveUserCount })}
@@ -163,13 +188,11 @@ const Sidebar = ({ address, cid, createdAt, description, downvoteCount = 0, role {blocked ? t('unblock_community') : t('block_community')} - - {t('settings')} -
)} + {isModerator && } {roles && } ); diff --git a/src/components/subscribe-button/subscribe-button.module.css b/src/components/subscribe-button/subscribe-button.module.css index fa34b6b4..d221f6b7 100644 --- a/src/components/subscribe-button/subscribe-button.module.css +++ b/src/components/subscribe-button/subscribe-button.module.css @@ -1,6 +1,4 @@ .subscribeButton { - display: inline-block; - margin: 0 5px 5px 0; background-repeat: repeat; border: 1px solid #444; padding: 1px 6px; diff --git a/src/components/topbar/topbar.module.css b/src/components/topbar/topbar.module.css index 9026c20f..1648211a 100644 --- a/src/components/topbar/topbar.module.css +++ b/src/components/topbar/topbar.module.css @@ -52,6 +52,12 @@ background-color: var(--background-primary); } +.editSubscriptions { + font-style: italic; + text-transform: uppercase; + border-top: 1px dotted var(--text-primary); +} + .dropChoices a { text-decoration: none; color: var(--text-primary); diff --git a/src/components/topbar/topbar.tsx b/src/components/topbar/topbar.tsx index 7b502e43..dbcc7ed4 100644 --- a/src/components/topbar/topbar.tsx +++ b/src/components/topbar/topbar.tsx @@ -113,6 +113,11 @@ const TopBar = () => { {getShortAddress(subscription)} ))} + {subscriptions?.length > 0 && ( + + {t('edit_subscriptions')} + + )} {subscriptions?.length === 0 &&
{t('no_subscriptions_notice')}
} @@ -160,7 +165,7 @@ const TopBar = () => { ))} - + {t('edit')} » diff --git a/src/lib/utils/addresses-utils.ts b/src/lib/utils/addresses-utils.ts index 1de74caf..eb8176f8 100644 --- a/src/lib/utils/addresses-utils.ts +++ b/src/lib/utils/addresses-utils.ts @@ -15,6 +15,11 @@ export interface SubplebbitWithDisplay extends Subplebbit { displayAddress: string; } +export const getRandomSubplebbits = (addresses: string[], count: number) => { + let shuffled = addresses.sort(() => 0.5 - Math.random()); + return shuffled.slice(0, count); +}; + export const useDefaultSubplebbitAddresses = () => { const defaultSubplebbits = useDefaultSubplebbits(); return useMemo(() => defaultSubplebbits.map((subplebbit: Subplebbit) => subplebbit.address), [defaultSubplebbits]); diff --git a/src/views/settings/account-settings/account-settings.tsx b/src/views/settings/account-settings/account-settings.tsx index 126b21fc..b398c02b 100644 --- a/src/views/settings/account-settings/account-settings.tsx +++ b/src/views/settings/account-settings/account-settings.tsx @@ -31,6 +31,7 @@ const AccountSettings = () => { const lastAccount = accounts[accounts.length - 1]; setActiveAccount(lastAccount.name); setSwitchToLastAccount(false); + window.location.reload(); } }, [accounts, switchToLastAccount]); @@ -49,7 +50,10 @@ const AccountSettings = () => { }; const _deleteAccount = (accountName: string) => { - if (!accountName) { + if (accounts.length === 1) { + alert('You cannot delete your last account. Please create a new one.'); + return; + } else if (!accountName) { return; } else if (window.confirm(`Are you sure you want to delete ${accountName}?`)) { deleteAccount(accountName); diff --git a/src/views/submit/submit.tsx b/src/views/submit/submit.tsx index d763cb97..5ab7c483 100644 --- a/src/views/submit/submit.tsx +++ b/src/views/submit/submit.tsx @@ -1,14 +1,15 @@ import { ChangeEvent, useEffect, useRef, useState } from 'react'; -import { Link, useNavigate, useParams } from 'react-router-dom'; +import { Link, useLocation, useNavigate, useParams } from 'react-router-dom'; import { PublishCommentOptions, useAccount, usePublishComment, useSubplebbit } from '@plebbit/plebbit-react-hooks'; import { getShortAddress } from '@plebbit/plebbit-js'; -import { useTranslation } from 'react-i18next'; +import { Trans, useTranslation } from 'react-i18next'; import { create } from 'zustand'; import { alertChallengeVerificationFailed } from '../../lib/utils/challenge-utils'; import { isValidURL } from '../../lib/utils/url-utils'; import styles from './submit.module.css'; import challengesStore from '../../hooks/use-challenges'; -import { useDefaultSubplebbitAddresses } from '../../lib/utils/addresses-utils'; +import { getRandomSubplebbits, useDefaultSubplebbitAddresses } from '../../lib/utils/addresses-utils'; +import { isSubmitView } from '../../lib/utils/view-utils'; type SubmitState = { subplebbitAddress: string | undefined; @@ -66,6 +67,9 @@ const Submit = () => { const subplebbit = useSubplebbit({ subplebbitAddress: selectedSubplebbit }); const navigate = useNavigate(); + const location = useLocation(); + const isInSubmitView = isSubmitView(location.pathname); + const titleRef = useRef(null); const linkRef = useRef(null); const contentRef = useRef(null); @@ -101,12 +105,6 @@ const Submit = () => { publishComment(); }; - const subplebbitHeaderLink = ( - e.preventDefault()}> - {subplebbit?.title || subplebbit?.shortAddress || 'seedit'} - - ); - // redirect to pending page when pending comment is created useEffect(() => { if (typeof index === 'number') { @@ -115,11 +113,18 @@ const Submit = () => { } }, [index, resetSubmitStore, navigate]); - const subsDescription =
{subscriptions?.length > 0 ? t('submit_subscriptions') : t('submit_subscriptions_notice')}
; + const subsDescription =
{subscriptions?.length > 5 ? t('submit_subscriptions') : t('submit_subscriptions_notice')}
; + const [randomSubplebbits, setRandomSubplebbits] = useState([]); + useEffect(() => { + // Generate random subplebbits only once when the component mounts + const generatedSubplebbits = getRandomSubplebbits(defaultSubplebbitAddresses, 10); + setRandomSubplebbits(generatedSubplebbits); + }, [defaultSubplebbitAddresses]); + const listSource = subscriptions?.length > 5 ? subscriptions : randomSubplebbits; const subscriptionsList = (
- {subscriptions?.map((sub: string) => ( + {listSource.map((sub: string) => ( { return (

- {t('submit_to_before')} - {selectedSubplebbit ? subplebbitHeaderLink : 'seedit'} - {t('submit_to_after')} + : }} + />

diff --git a/src/views/subplebbit/subplebbit-settings/subplebbit-settings.module.css b/src/views/subplebbit/subplebbit-settings/subplebbit-settings.module.css index 02a10fc6..157c4508 100644 --- a/src/views/subplebbit/subplebbit-settings/subplebbit-settings.module.css +++ b/src/views/subplebbit/subplebbit-settings/subplebbit-settings.module.css @@ -1,5 +1,4 @@ .content { - padding: 7px 5px 50px 5px; color: var(--text); } @@ -75,8 +74,8 @@ border-style: solid; border-width: 1px; font-size: small; - margin-bottom: 5px; - padding: 6px 10px; + margin: 0px 5px 5px 0px; + padding: 6px 10px 6px 10px; color: var(--text); word-wrap: break-word; font-size: 14px; @@ -158,6 +157,13 @@ } @media (max-width: 768px) { + .content { + padding: 7px 0px 0px 0px; + } + + .sidebar { + display: none; + } .box { width: 100%; box-sizing: border-box; @@ -167,4 +173,14 @@ width: calc(100% - 104px); box-sizing: border-box; } +} + +@media (min-width: 768px) { + .content { + padding: 7px 5px 0px 5px; + } + + .infobar { + max-width: calc(100% - 327px); + } } \ No newline at end of file diff --git a/src/views/subplebbit/subplebbit-settings/subplebbit-settings.tsx b/src/views/subplebbit/subplebbit-settings/subplebbit-settings.tsx index 04f57fd5..a6e74cc3 100644 --- a/src/views/subplebbit/subplebbit-settings/subplebbit-settings.tsx +++ b/src/views/subplebbit/subplebbit-settings/subplebbit-settings.tsx @@ -5,6 +5,7 @@ import { RolesCollection } from '../../../lib/utils/user-utils'; import { useTranslation } from 'react-i18next'; import stringify from 'json-stringify-pretty-compact'; import styles from './subplebbit-settings.module.css'; +import Sidebar from '../../../components/sidebar'; const isElectron = window.electron && window.electron.isElectron; @@ -200,7 +201,7 @@ const SubplebbitSettings = () => { const subplebbit = useSubplebbit({ subplebbitAddress }); const userRole = subplebbit?.roles?.[account.author?.address]?.role; const isAdmin = userRole === 'admin' || userRole === 'owner'; - const { address, description, rules, suggested, roles, title } = subplebbit || {}; + const { address, createdAt, description, rules, suggested, roles, title, updatedAt } = subplebbit || {}; const [text, setText] = useState(''); let usePublishSubplebbitEditOptions; @@ -263,6 +264,9 @@ const SubplebbitSettings = () => { return (
+
+ +
{!isAdmin &&
only the admins and the owner of a community can edit its settings
} {!isElectron && isAdmin &&
you must be using the desktop app to edit community settings
} diff --git a/src/views/subplebbit/subplebbit.module.css b/src/views/subplebbit/subplebbit.module.css index fb2654ac..90e3706a 100644 --- a/src/views/subplebbit/subplebbit.module.css +++ b/src/views/subplebbit/subplebbit.module.css @@ -2,6 +2,7 @@ padding-left: 5px; } +/* position virtuoso window content relatively to sidebar */ div[data-viewport-type="window"] { position: relative !important; } diff --git a/src/views/subplebbits/subplebbits.module.css b/src/views/subplebbits/subplebbits.module.css index ec9edf99..61874305 100644 --- a/src/views/subplebbits/subplebbits.module.css +++ b/src/views/subplebbits/subplebbits.module.css @@ -1,39 +1,11 @@ -@media (max-width: 768px) { - .content { - padding: 7px 0px 20px 0px; - } - - .sidebar { - display: none; - } - - .infobar { - margin: 0px 5px; - } - - .subplebbit { - padding-right: 5px; - } -} - -@media (min-width: 768px) { - .content { - padding: 7px 5px 0px 5px; - } - - .stateString, .infobar { - max-width: calc(100% - 327px); - } -} - .infobar { background-color: var(--background-orange); border-color: var(--border-orange); border-style: solid; border-width: 1px; font-size: small; - margin: 3px 0px; - padding: 6px 10px; + margin: 0px 5px 5px 0px; + padding: 6px 10px 6px 10px; color: var(--text); word-wrap: break-word; font-size: 14px; @@ -106,7 +78,7 @@ display: inline-flex; height: 13px; width: 13px; - margin: 3px 5px -2px 2px; + margin: 0 5px -3px 0; } .online { @@ -119,10 +91,7 @@ .title { display: inline-flex; - flex-wrap: wrap; - align-items: center; font-size: medium; - overflow: hidden; unicode-bidi: isolate; margin-bottom: -2px; } @@ -138,10 +107,6 @@ color: var(--link-visited); } */ -.subscribeButton { - margin-top: 2px; -} - .description { max-width: 60em; unicode-bidi: isolate; @@ -179,9 +144,9 @@ border-bottom: 1px dotted gray; padding: 5px 10px; margin-left: 5px; + margin-bottom: 5px; overflow: hidden; font-size: larger; - display: inline-block; margin-right: 15px; text-transform: lowercase; } @@ -205,4 +170,36 @@ .selected { color: var(--green) !important; font-weight: bold; -} \ No newline at end of file +} + +@media (max-width: 768px) { + .content { + padding: 7px 0px 20px 0px; + } + + .sidebar { + display: none; + } + + .subplebbit { + padding-right: 5px; + } + + .infobar { + margin-left: 5px; + } + + .subplebbitsTabs { + margin-right: 5px; + } +} + +@media (min-width: 768px) { + .content { + padding: 7px 5px 0px 5px; + } + + .stateString, .infobar { + max-width: calc(100% - 327px); + } +} diff --git a/src/views/subplebbits/subplebbits.tsx b/src/views/subplebbits/subplebbits.tsx index 8d4b01ee..4a5e6e83 100644 --- a/src/views/subplebbits/subplebbits.tsx +++ b/src/views/subplebbits/subplebbits.tsx @@ -49,6 +49,9 @@ const Tabs = () => { }; const Infobar = () => { + const account = useAccount(); + const { accountSubplebbits } = useAccountSubplebbits(); + const subscriptions = account?.subscriptions || []; const { t } = useTranslation(); const location = useLocation(); const isInSubplebbitsMineSubscriberView = isSubplebbitsMineSubscriberView(location.pathname); @@ -57,11 +60,11 @@ const Infobar = () => { const infobarText = useMemo(() => { if (isInSubplebbitsMineSubscriberView) { - return 'below are communities you have subscribed to.'; + return subscriptions.length === 0 ? 'you are not subscribed to any community.' : 'below are communities you have subscribed to.'; } else if (isInSubplebbitsMineContributorView) { return 'below are the communities that you are an approved user on.'; } else if (isInSubplebbitsMineModeratorView) { - return 'below are the communities that you have moderator access to.'; + return Object.keys(accountSubplebbits).length > 0 ? 'below are the communities that you have moderator access to.' : 'you are not a moderator on any community.'; } else { return ( <> @@ -69,7 +72,7 @@ const Infobar = () => { </> ); } - }, [isInSubplebbitsMineSubscriberView, isInSubplebbitsMineContributorView, isInSubplebbitsMineModeratorView, t]); + }, [isInSubplebbitsMineSubscriberView, isInSubplebbitsMineContributorView, isInSubplebbitsMineModeratorView, t, subscriptions.length, accountSubplebbits]); return <div className={styles.infobar}>{infobarText}</div>; }; @@ -108,14 +111,18 @@ const Subplebbit = ({ subplebbit }: SubplebbitProps) => { </div> <div className={styles.entry}> <div className={styles.title}> - <span className={`${styles.onlineIndicator} ${isOnline ? styles.online : styles.offline}`} /> - <Link to={`/p/${address}`}> - p/{address?.includes('.') ? address : shortAddress} - {title && `: ${title}`} - </Link> - <span className={styles.subscribeButton}> - <SubscribeButton address={address} /> - </span> + <div className={styles.onlineIndicatorWrapper}> + <span className={`${styles.onlineIndicator} ${isOnline ? styles.online : styles.offline}`} /> + </div> + <div className={styles.titleWrapper}> + <Link to={`/p/${address}`}> + p/{address?.includes('.') ? address : shortAddress} + {title && `: ${title}`} + </Link> + <span className={styles.subscribeButton}> + <SubscribeButton address={address} /> + </span> + </div> </div> {description && <div className={styles.description}>{description}</div>} <div className={styles.tagline}> @@ -166,10 +173,9 @@ const Subplebbits = () => { return ( <div className={styles.content}> - <div className={`${styles.sidebar}`}> + <div className={styles.sidebar}> <Sidebar /> </div> - {(isInSubplebbitsMineView || isInSubplebbitsMineModeratorView || isInSubplebbitsMineSubscriberView) && <Tabs />} <Infobar /> {isInSubplebbitsView && <ApprovedSubplebbits />}