Merge pull request #157 from plebbit/development

Development
This commit is contained in:
plebeius.eth
2023-12-31 00:04:19 +01:00
committed by GitHub
56 changed files with 480 additions and 126 deletions

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -12,7 +12,6 @@
"dark": "داكن",
"light": "فاتح",
"my_communities": "مجتمعاتي",
"edit": "تعديل",
"home": "الرئيسية",
"all": "الكل",
"submitted": "تم الإرسال",
@@ -93,7 +92,7 @@
"create_community": "أنشئ مجتمعك الخاص",
"moderators": "المشرفون",
"about_moderation": "عن الإشراف",
"join": "انضمام",
"join": "انضم",
"leave": "غادر",
"created_by": "تم إنشاؤها بواسطة {{creatorAddress}}",
"community_for": "مجتمع لمدة {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "وضع علامة على الجميع كمقروءة",
"comment_reply": "رد على التعليق",
"post_reply": "رد على المنشور",
"show_parent": "أظهر المشاركة المشار إليها"
"show_parent": "أظهر المشاركة المشار إليها",
"no_posts": "لا توجد مشاركات",
"media_url": "عنوان وسائط",
"post_locked_info": "هذا المنشور مغلق. لن تتمكن من التعليق.",
"no_subscriptions_notice": "لم تنضم إلى أي مجتمع بعد."
}

View File

@@ -12,7 +12,6 @@
"dark": "অন্ধকার",
"light": "আলো",
"my_communities": "আমার সম্প্রদায়",
"edit": "সম্পাদনা",
"home": "হোম",
"all": "সব",
"submitted": "জমা দেওয়া হয়েছে",
@@ -93,7 +92,7 @@
"create_community": "আপনার নিজস্ব সম্প্রদায় তৈরি করুন",
"moderators": "মডারেটর",
"about_moderation": "মডারেশন টিম সম্পর্কে",
"join": "যোগদান",
"join": "যোগদান করুন",
"leave": "ছাড়া",
"created_by": "দ্বারা তৈরি {{creatorAddress}}",
"community_for": "মেয়াদ শেষে একটি সম্প্রদায়",
@@ -169,5 +168,9 @@
"mark_all_read": "সবগুলি পঠিত হিসেবে চিহ্নিত করুন",
"comment_reply": "মন্তব্য প্রতিক্রিয়া",
"post_reply": "পোস্ট উত্তর",
"show_parent": "সূচিত পোস্ট দেখুন"
"show_parent": "সূচিত পোস্ট দেখুন",
"no_posts": "কোন পোস্ট নেই",
"media_url": "মিডিয়া ইউআরএল",
"post_locked_info": "এই পোস্টটি লক হয়েছে। আপনি মন্তব্য করতে পারবেন না।",
"no_subscriptions_notice": "আপনি এখনো কোনও সম্প্রদানে যোগ দিননি।"
}

View File

@@ -12,7 +12,6 @@
"dark": "Tmavý",
"light": "Světlá",
"my_communities": "Mé komunity",
"edit": "Upravit",
"home": "Domů",
"all": "Vše",
"submitted": "Odesláno",
@@ -93,7 +92,7 @@
"create_community": "Vytvořte si vlastní komunitu",
"moderators": "moderátoři",
"about_moderation": "o moderaci týmu",
"join": "připojit se",
"join": "Připojit se",
"leave": "odejít",
"created_by": "vytvořeno uživatelem {{creatorAddress}}",
"community_for": "komunita po dobu {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "označit vše jako přečtené",
"comment_reply": "odpovědět na komentář",
"post_reply": "odpovědět na příspěvek",
"show_parent": "zobrazit příspěvek, na který se odkazuje"
"show_parent": "zobrazit příspěvek, na který se odkazuje",
"no_posts": "žádné příspěvky",
"media_url": "URL médií",
"post_locked_info": "Tento příspěvek je uzamčen. Nebudete moci komentovat.",
"no_subscriptions_notice": "Dosud jste se nepřipojili k žádné komunitě."
}

View File

@@ -12,7 +12,6 @@
"dark": "Mørk",
"light": "Lys",
"my_communities": "Mine samfund",
"edit": "Rediger",
"home": "Hjem",
"all": "Alle",
"submitted": "Indsendt",
@@ -93,7 +92,7 @@
"create_community": "Opret din egen fællesskab",
"moderators": "moderatorer",
"about_moderation": "om moderationsholdet",
"join": "bliv medlem",
"join": "Deltag",
"leave": "forlad",
"created_by": "oprettet af {{creatorAddress}}",
"community_for": "fællesskab i {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "markér alle som læst",
"comment_reply": "svar på kommentar",
"post_reply": "svar på indlæg",
"show_parent": "vis den henviste post"
"show_parent": "vis den henviste post",
"no_posts": "ingen indlæg",
"media_url": "medie-URL",
"post_locked_info": "Dette indlæg er låst. Du kan ikke kommentere.",
"no_subscriptions_notice": "Du har endnu ikke tilsluttet dig nogen fællesskab."
}

View File

@@ -12,7 +12,6 @@
"dark": "Dunkel",
"light": "hell",
"my_communities": "meine Communities",
"edit": "ändern",
"home": "hauptseite",
"all": "alle",
"submitted": "eingereicht",
@@ -93,7 +92,7 @@
"create_community": "Erstelle deine eigene Community",
"moderators": "Moderatoren",
"about_moderation": "über das Moderationsteam",
"join": "beitreten",
"join": "Beitreten",
"leave": "verlassen",
"created_by": "erstellt von {{creatorAddress}}",
"community_for": "eine Gemeinschaft seit {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "alle als gelesen markieren",
"comment_reply": "Kommentar antworten",
"post_reply": "Beitrag antworten",
"show_parent": "zeige den verlinkten Beitrag"
"show_parent": "zeige den verlinkten Beitrag",
"no_posts": "keine Beiträge",
"media_url": "Medien-URL",
"post_locked_info": "Dieser Beitrag ist gesperrt. Sie können keine Kommentare abgeben.",
"no_subscriptions_notice": "Du hast dich noch keiner Community angeschlossen."
}

View File

@@ -12,7 +12,6 @@
"dark": "Σκοτεινός",
"light": "Φωτεινό",
"my_communities": "Οι κοινότητές μου",
"edit": "Επεξεργασία",
"home": "Αρχική",
"all": "Όλα",
"submitted": "Υποβλήθηκε",
@@ -93,7 +92,7 @@
"create_community": "Δημιουργήστε τη δική σας κοινότητα",
"moderators": "διαχειριστές",
"about_moderation": "σχετικά με τη διαμεσολάβηση ομάδα",
"join": "συμμετοχή",
"join": "Συμμετοχή",
"leave": "φύγετε",
"created_by": "δημιουργήθηκε από {{creatorAddress}}",
"community_for": "κοινότητα για {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "επισήμανση όλων ως διαβασμένα",
"comment_reply": "απάντηση σε σχόλιο",
"post_reply": "απάντηση στην ανάρτηση",
"show_parent": "εμφάνιση της αναφερόμενης δημοσίευσης"
"show_parent": "εμφάνιση της αναφερόμενης δημοσίευσης",
"no_posts": "κανένα άρθρο",
"media_url": "URL πολυμέσων",
"post_locked_info": "Αυτή η ανάρτηση είναι κλειδωμένη. Δεν θα μπορείτε να σχολιάσετε.",
"no_subscriptions_notice": "Δεν έχετε εγγραφεί ακόμη σε κοινότητα."
}

View File

@@ -12,7 +12,6 @@
"dark": "dark",
"light": "light",
"my_communities": "my communities",
"edit": "edit",
"home": "home",
"all": "all",
"submitted": "submitted",
@@ -93,7 +92,7 @@
"create_community": "Create your own community",
"moderators": "moderators",
"about_moderation": "about moderation team",
"join": "join",
"join": "Join",
"leave": "leave",
"created_by": "created by {{creatorAddress}}",
"community_for": "a community for {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "mark all as read",
"comment_reply": "comment reply",
"post_reply": "post reply",
"show_parent": "show parent"
"show_parent": "show parent",
"no_posts": "no posts",
"media_url": "media url",
"post_locked_info": "This post is locked. You won't be able to comment.",
"no_subscriptions_notice": "You haven't joined any community."
}

View File

@@ -12,7 +12,6 @@
"dark": "oscuro",
"light": "claro",
"my_communities": "mis comunidades",
"edit": "editar",
"home": "inicio",
"all": "todos",
"submitted": "enviado",
@@ -93,7 +92,7 @@
"create_community": "Crea tu propia comunidad",
"moderators": "moderadores",
"about_moderation": "sobre el equipo de moderación",
"join": "unirse",
"join": "Unirse",
"leave": "salir",
"created_by": "creado por {{creatorAddress}}",
"community_for": "una comunidad por {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "marcar todos como leídos",
"comment_reply": "responder al comentario",
"post_reply": "responder al post",
"show_parent": "mostrar el post al que se hace referencia"
"show_parent": "mostrar el post al que se hace referencia",
"no_posts": "sin publicaciones",
"media_url": "URL de medios",
"post_locked_info": "Esta publicación está bloqueada. No podrás comentar.",
"no_subscriptions_notice": "Todavía no te has unido a ninguna comunidad."
}

View File

@@ -12,7 +12,6 @@
"dark": "تاریک",
"light": "روشن",
"my_communities": "جوامع من",
"edit": "ویرایش",
"home": "خانه",
"all": "همه",
"submitted": "ارسال شده",
@@ -169,5 +168,9 @@
"mark_all_read": "نشان دادن همه به عنوان خوانده شده",
"comment_reply": "پاسخ به نظر",
"post_reply": "پاسخ به پست",
"show_parent": "نمایش پست مرجع داده شده"
"show_parent": "نمایش پست مرجع داده شده",
"no_posts": "بدون پست",
"media_url": "آدرس رسانه",
"post_locked_info": "این پست قفل شده است. نمی‌توانید نظر دهید.",
"no_subscriptions_notice": "هنوز به هیچ انجمنی پیوسته نشده‌اید."
}

View File

@@ -12,7 +12,6 @@
"dark": "Tumma",
"light": "Vaalea",
"my_communities": "Omat yhteisöt",
"edit": "Muokkaa",
"home": "Etusivu",
"all": "Kaikki",
"submitted": "Lähetetty",
@@ -93,7 +92,7 @@
"create_community": "Luo oma yhteisösi",
"moderators": "moderaattorit",
"about_moderation": "tietoa moderaatiotiimistä",
"join": "liity",
"join": "Liity",
"leave": "poistu",
"created_by": "luonut {{creatorAddress}}",
"community_for": "yhteisössä {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "merkitse kaikki luetuiksi",
"comment_reply": "vastaa kommenttiin",
"post_reply": "vastaa viestiin",
"show_parent": "näytä viitattu viesti"
"show_parent": "näytä viitattu viesti",
"no_posts": "ei viestejä",
"media_url": "medialinkki",
"post_locked_info": "Tämä viesti on lukittu. Et voi kommentoida sitä.",
"no_subscriptions_notice": "Et ole vielä liittynyt mihinkään yhteisöön."
}

View File

@@ -12,7 +12,6 @@
"dark": "Madilim",
"light": "Maliwanag",
"my_communities": "Aking mga Komunidad",
"edit": "I-edit",
"home": "Bahay",
"all": "Lahat",
"submitted": "Naipadala",
@@ -93,7 +92,7 @@
"create_community": "Lumikha ng sariling komunidad",
"moderators": "moderators",
"about_moderation": "tungkol sa koponan ng moderation",
"join": "sumali",
"join": "Sumali",
"leave": "iwanan",
"created_by": "likha ni {{creatorAddress}}",
"community_for": "isang komunidad para sa {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "tandaan ang lahat bilang nabasa",
"comment_reply": "sagot sa komento",
"post_reply": "sagot sa post",
"show_parent": "ipakita ang tinutukoy na post"
"show_parent": "ipakita ang tinutukoy na post",
"no_posts": "walang post",
"media_url": "media url",
"post_locked_info": "Ang post na ito ay naka-lock. Hindi ka makakapagkomento.",
"no_subscriptions_notice": "Hindi ka pa sumali sa anumang komunidad."
}

View File

@@ -12,7 +12,6 @@
"dark": "sombre",
"light": "clair",
"my_communities": "mes communautés",
"edit": "modifier",
"home": "accueil",
"all": "tous",
"submitted": "soumis",
@@ -93,7 +92,7 @@
"create_community": "Créez votre propre communauté",
"moderators": "modérateurs",
"about_moderation": "à propos de l'équipe de modération",
"join": "rejoindre",
"join": "Rejoindre",
"leave": "quitter",
"created_by": "créé par {{creatorAddress}}",
"community_for": "une communauté depuis {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "marquer tout comme lu",
"comment_reply": "répondre au commentaire",
"post_reply": "répondre au post",
"show_parent": "afficher le post référencé"
"show_parent": "afficher le post référencé",
"no_posts": "pas de publications",
"media_url": "URL multimédia",
"post_locked_info": "Ce post est verrouillé. Vous ne pourrez pas commenter.",
"no_subscriptions_notice": "Vous n'avez rejoint aucune communauté."
}

View File

@@ -12,7 +12,6 @@
"dark": "כהה",
"light": "בהיר",
"my_communities": "הקהילות שלי",
"edit": "ערוך",
"home": "בית",
"all": "הכל",
"submitted": "נשלח",
@@ -93,7 +92,7 @@
"create_community": "צור את הקהילה שלך",
"moderators": "מנהלים",
"about_moderation": "אודות צוות ההנהלה",
"join": "הצטרפות",
"join": "הצטרף",
"leave": "לצאת",
"created_by": "נוצר על ידי {{creatorAddress}}",
"community_for": "קהילה למשך {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "סמן הכל כנקרא",
"comment_reply": "הגב לתגובה",
"post_reply": "הגב לפוסט",
"show_parent": "הצג את הפוסט המתייחס אליו"
"show_parent": "הצג את הפוסט המתייחס אליו",
"no_posts": "אין פוסטים",
"media_url": "כתובת מדיה",
"post_locked_info": "הפוסט הזה נעול. אינך יכול להגיב.",
"no_subscriptions_notice": "עדיין לא הצטרפת לאף קהילה."
}

View File

@@ -12,7 +12,6 @@
"dark": "अंधेरा",
"light": "हल्का",
"my_communities": "मेरे समुदाय",
"edit": "संपादित करें",
"home": "होम",
"all": "सब",
"submitted": "भेजा गया",
@@ -169,5 +168,9 @@
"mark_all_read": "सभी को पढ़ा हुआ चिह्नित करें",
"comment_reply": "कमेंट का जवाब दें",
"post_reply": "पोस्ट का जवाब दें",
"show_parent": "संदर्भित पोस्ट दिखाएं"
"show_parent": "संदर्भित पोस्ट दिखाएं",
"no_posts": "कोई पोस्ट नहीं",
"media_url": "मीडिया यूआरएल",
"post_locked_info": "यह पोस्ट बंद है। आप टिप्पणी नहीं कर सकेंगे।",
"no_subscriptions_notice": "आपने अब तक किसी समुदाय में शामिल नहीं हुए हैं।"
}

View File

@@ -12,7 +12,6 @@
"dark": "Sötét",
"light": "Világos",
"my_communities": "Saját közösségeim",
"edit": "Szerkesztés",
"home": "Főoldal",
"all": "Összes",
"submitted": "Beküldve",
@@ -93,7 +92,7 @@
"create_community": "Hozd létre saját közösséged",
"moderators": "moderátorok",
"about_moderation": "a moderációs csapatról",
"join": "csatlakozás",
"join": "Csatlakozás",
"leave": "elhagy",
"created_by": "készítette {{creatorAddress}}",
"community_for": "egy közösség {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "összes megjelölése olvasottként",
"comment_reply": "válasz a hozzászólásra",
"post_reply": "válasz a posztra",
"show_parent": "mutassa a hivatkozott bejegyzést"
"show_parent": "mutassa a hivatkozott bejegyzést",
"no_posts": "nincsenek hozzászólások",
"media_url": "média URL",
"post_locked_info": "Ez a bejegyzés zárolva van. Nem fogsz tudni hozzászólni.",
"no_subscriptions_notice": "Még nem csatlakoztál egyetlen közösséghez sem."
}

View File

@@ -12,7 +12,6 @@
"dark": "Gelap",
"light": "Terang",
"my_communities": "Komunitas Saya",
"edit": "Edit",
"home": "Beranda",
"all": "Semua",
"submitted": "Dikirim",
@@ -93,7 +92,7 @@
"create_community": "Buat komunitas sendiri",
"moderators": "moderator",
"about_moderation": "tentang tim moderasi",
"join": "bergabung",
"join": "Gabung",
"leave": "tinggalkan",
"created_by": "dibuat oleh {{creatorAddress}}",
"community_for": "sebuah komunitas selama {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "tandai semua sebagai telah dibaca",
"comment_reply": "balas komentar",
"post_reply": "balas postingan",
"show_parent": "tampilkan posting yang dirujuk"
"show_parent": "tampilkan posting yang dirujuk",
"no_posts": "tidak ada posting",
"media_url": "URL media",
"post_locked_info": "Pos ini terkunci. Anda tidak akan dapat mengomentari.",
"no_subscriptions_notice": "Anda belum bergabung dengan komunitas mana pun."
}

View File

@@ -12,7 +12,6 @@
"dark": "scuro",
"light": "chiaro",
"my_communities": "le mie comunità",
"edit": "modifica",
"home": "home",
"all": "tutti",
"submitted": "inviato",
@@ -93,7 +92,7 @@
"create_community": "Crea la tua comunità",
"moderators": "moderatori",
"about_moderation": "info sul team dei moderatori",
"join": "iscriviti",
"join": "Unisciti",
"leave": "lascia",
"created_by": "creata da {{creatorAddress}}",
"community_for": "una comunità da {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "segna tutti come letti",
"comment_reply": "rispondi al commento",
"post_reply": "rispondi al post",
"show_parent": "mostra il post a cui è riferito"
"show_parent": "mostra il post a cui è riferito",
"no_posts": "nessun post",
"media_url": "URL media",
"post_locked_info": "Questo post è stato bloccato. Non potrai commentarlo.",
"no_subscriptions_notice": "Non ti sei ancora unito a nessuna comunità."
}

View File

@@ -12,7 +12,6 @@
"dark": "暗い",
"light": "明るい",
"my_communities": "マイコミュニティ",
"edit": "編集",
"home": "ホーム",
"all": "すべて",
"submitted": "送信済み",
@@ -93,7 +92,7 @@
"create_community": "独自のコミュニティを作成",
"moderators": "モデレーター",
"about_moderation": "モデレーションチームについて",
"join": "参加する",
"join": "参加",
"leave": "退出",
"created_by": "作成者:{{creatorAddress}}",
"community_for": "{{date}} のコミュニティ",
@@ -169,5 +168,9 @@
"mark_all_read": "すべてを既読にする",
"comment_reply": "コメントに返信",
"post_reply": "投稿に返信",
"show_parent": "参照されている投稿を表示"
"show_parent": "参照されている投稿を表示",
"no_posts": "投稿はありません",
"media_url": "メディア URL",
"post_locked_info": "この投稿はロックされています。コメントできません。",
"no_subscriptions_notice": "まだどのコミュニティにも参加していません。"
}

View File

@@ -12,7 +12,6 @@
"dark": "어두운",
"light": "밝은",
"my_communities": "내 커뮤니티",
"edit": "편집",
"home": "홈",
"all": "모두",
"submitted": "제출됨",
@@ -93,7 +92,7 @@
"create_community": "나만의 커뮤니티 만들기",
"moderators": "모더레이터",
"about_moderation": "모더레이션 팀 정보",
"join": "가입하기",
"join": "가입",
"leave": "나가기",
"created_by": "만든 사람: {{creatorAddress}}",
"community_for": "{{date}}에 대한 커뮤니티",
@@ -169,5 +168,9 @@
"mark_all_read": "모두 읽은 상태로 표시",
"comment_reply": "댓글 답글",
"post_reply": "게시물 답글",
"show_parent": "참조된 게시물 표시"
"show_parent": "참조된 게시물 표시",
"no_posts": "게시물이 없습니다",
"media_url": "미디어 URL",
"post_locked_info": "이 게시물은 잠겨 있습니다. 댓글을 남길 수 없습니다.",
"no_subscriptions_notice": "아직 어떤 커뮤니티에도 가입하지 않았습니다."
}

View File

@@ -12,7 +12,6 @@
"dark": "गडद",
"light": "पांढरा",
"my_communities": "माझ्या समुदायांतील",
"edit": "संपादित करा",
"home": "मुख्यपृष्ठ",
"all": "सर्व",
"submitted": "सबमिट केले",
@@ -93,7 +92,7 @@
"create_community": "तुमचं स्वत: संघ तयार करा",
"moderators": "मॉडरेटर्स",
"about_moderation": "मॉडरेशन टीमविषयी",
"join": "सामील व्हा",
"join": "सामील होऊ",
"leave": "सोडा",
"created_by": "द्वारे तयार केले {{creatorAddress}}",
"community_for": "{{date}}साठी एक समुदाय",
@@ -169,5 +168,9 @@
"mark_all_read": "सर्व कोणत्याही वाचल्याचं दर्जा",
"comment_reply": "कॉमेंटचा उत्तर",
"post_reply": "पोस्टचा उत्तर",
"show_parent": "संदर्भित पोस्ट दाखवा"
"show_parent": "संदर्भित पोस्ट दाखवा",
"no_posts": "कोणतेही पोस्ट नाहीत",
"media_url": "मिडिया URL",
"post_locked_info": "हा पोस्ट लॉक झाला आहे. आपण टिप्पणी करू शकणार नाहीत.",
"no_subscriptions_notice": "तुम्ही अद्याप कोणत्याही संघात सामील झालं नाही."
}

View File

@@ -12,7 +12,6 @@
"dark": "Donker",
"light": "Licht",
"my_communities": "Mijn gemeenschappen",
"edit": "Bewerken",
"home": "Thuis",
"all": "Alle",
"submitted": "Ingediend",
@@ -93,7 +92,7 @@
"create_community": "Maak je eigen gemeenschap",
"moderators": "moderators",
"about_moderation": "over het moderatieteam",
"join": "meedoen",
"join": "Lid worden",
"leave": "vertrekken",
"created_by": "gemaakt door {{creatorAddress}}",
"community_for": "een gemeenschap voor {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "markeer alles als gelezen",
"comment_reply": "reageren op reactie",
"post_reply": "reageren op bericht",
"show_parent": "toon de verwezen post"
"show_parent": "toon de verwezen post",
"no_posts": "geen berichten",
"media_url": "media-url",
"post_locked_info": "Dit bericht is vergrendeld. Je kunt geen opmerkingen plaatsen.",
"no_subscriptions_notice": "Je hebt je nog niet bij een community aangesloten."
}

View File

@@ -12,7 +12,6 @@
"dark": "Mørk",
"light": "Lys",
"my_communities": "Mine samfunn",
"edit": "Rediger",
"home": "Hjem",
"all": "Alle",
"submitted": "Innsendt",
@@ -93,7 +92,7 @@
"create_community": "Opprett din egen fellesskap",
"moderators": "moderatorer",
"about_moderation": "om moderasjonsteamet",
"join": "bli med",
"join": "Bli med",
"leave": "forlat",
"created_by": "opprettet av {{creatorAddress}}",
"community_for": "et fellesskap for {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "merk alle som lest",
"comment_reply": "svar på kommentar",
"post_reply": "svar på innlegg",
"show_parent": "vis den refererte posten"
"show_parent": "vis den refererte posten",
"no_posts": "ingen innlegg",
"media_url": "medie-URL",
"post_locked_info": "Dette innlegget er låst. Du kan ikke kommentere.",
"no_subscriptions_notice": "Du har ikke blitt med i noen fellesskap ennå."
}

View File

@@ -12,7 +12,6 @@
"dark": "Ciemny",
"light": "Jasne",
"my_communities": "Moje społeczności",
"edit": "Edytuj",
"home": "Strona główna",
"all": "Wszystko",
"submitted": "Wysłane",
@@ -93,7 +92,7 @@
"create_community": "Utwórz własną społeczność",
"moderators": "moderatorzy",
"about_moderation": "o zespole moderacji",
"join": "dołącz",
"join": "Dołącz",
"leave": "opuść",
"created_by": "utworzone przez {{creatorAddress}}",
"community_for": "społeczność przez {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "oznacz wszystko jako przeczytane",
"comment_reply": "odpowiedź na komentarz",
"post_reply": "odpowiedź na post",
"show_parent": "pokaż post, do którego jest odwołanie"
"show_parent": "pokaż post, do którego jest odwołanie",
"no_posts": "brak postów",
"media_url": "URL mediów",
"post_locked_info": "Ten post jest zablokowany. Nie będziesz mógł komentować.",
"no_subscriptions_notice": "Nie dołączyłeś jeszcze do żadnej społeczności."
}

View File

@@ -12,7 +12,6 @@
"dark": "escuro",
"light": "claro",
"my_communities": "minhas comunidades",
"edit": "editar",
"home": "início",
"all": "todos",
"submitted": "enviado",
@@ -93,7 +92,7 @@
"create_community": "Crie sua própria comunidade",
"moderators": "moderadores",
"about_moderation": "sobre a equipe de moderação",
"join": "aderir",
"join": "Junte-se",
"leave": "sair",
"created_by": "criado por {{creatorAddress}}",
"community_for": "uma comunidade por {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "marcar todos como lidos",
"comment_reply": "responder ao comentário",
"post_reply": "responder ao post",
"show_parent": "mostrar a postagem referenciada"
"show_parent": "mostrar a postagem referenciada",
"no_posts": "sem publicações",
"media_url": "URL de mídia",
"post_locked_info": "Esta postagem está bloqueada. Você não poderá comentar.",
"no_subscriptions_notice": "Ainda não se juntou a nenhuma comunidade."
}

View File

@@ -12,7 +12,6 @@
"dark": "Întunecat",
"light": "Luminos",
"my_communities": "Comunitățile mele",
"edit": "Editează",
"home": "Acasă",
"all": "Toate",
"submitted": "Trimis",
@@ -93,7 +92,7 @@
"create_community": "Creează-ți propria comunitate",
"moderators": "moderatori",
"about_moderation": "despre echipa de moderare",
"join": "alătură-te",
"join": "Alătură-te",
"leave": "plecați",
"created_by": "creat de {{creatorAddress}}",
"community_for": "o comunitate pentru {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "marcați toate ca citite",
"comment_reply": "răspunde la comentariu",
"post_reply": "răspunde la postare",
"show_parent": "afișează postarea referită"
"show_parent": "afișează postarea referită",
"no_posts": "niciun post",
"media_url": "URL media",
"post_locked_info": "Acest post este blocat. Nu vei putea comenta.",
"no_subscriptions_notice": "Nu te-ai alăturat încă niciunei comunități."
}

View File

@@ -12,7 +12,6 @@
"dark": "Темный",
"light": "Светлый",
"my_communities": "Мои сообщества",
"edit": "Редактировать",
"home": "Главная",
"all": "Все",
"submitted": "Отправлено",
@@ -93,7 +92,7 @@
"create_community": "Создайте своё сообщество",
"moderators": "модераторы",
"about_moderation": "о модераторах",
"join": "присоединиться",
"join": "Присоединиться",
"leave": "покинуть",
"created_by": "создано {{creatorAddress}}",
"community_for": "сообщество на {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "пометить все как прочитанные",
"comment_reply": "ответить на комментарий",
"post_reply": "ответить на пост",
"show_parent": "показать упомянутый пост"
"show_parent": "показать упомянутый пост",
"no_posts": "нет записей",
"media_url": "URL медиа",
"post_locked_info": "Этот пост заблокирован. Вы не сможете оставить комментарий.",
"no_subscriptions_notice": "Вы еще не присоединились ни к одному сообществу."
}

View File

@@ -12,7 +12,6 @@
"dark": "Errët",
"light": "I ndritur",
"my_communities": "Komunitetet e mia",
"edit": "Redakto",
"home": "Kryefaqja",
"all": "Të gjithë",
"submitted": "I dërguar",
@@ -93,7 +92,7 @@
"create_community": "Krijo komunitetin tënd të vet",
"moderators": "moderatorët",
"about_moderation": "rreth ekipit të moderimit",
"join": "bashkohu",
"join": "Bashkohu",
"leave": "ndale",
"created_by": "krijuar nga {{creatorAddress}}",
"community_for": "një komunitet për {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "shëno të gjitha si të lexuara",
"comment_reply": "përgjigju komentit",
"post_reply": "përgjigju postës",
"show_parent": "shfaq postën e referuar"
"show_parent": "shfaq postën e referuar",
"no_posts": "asnjë postim",
"media_url": "media url",
"post_locked_info": "Ky post është bllokuar. Nuk do të jeni në gjendje të komentoni.",
"no_subscriptions_notice": "Nuk keni bashkuar akoma ndonjë komunitet."
}

View File

@@ -12,7 +12,6 @@
"dark": "Mörk",
"light": "Ljus",
"my_communities": "Mina gemenskaper",
"edit": "Redigera",
"home": "Hem",
"all": "Alla",
"submitted": "Inskickad",
@@ -93,7 +92,7 @@
"create_community": "Skapa din egen community",
"moderators": "moderatorer",
"about_moderation": "om modereringsteamet",
"join": "gå med",
"join": "Gå med",
"leave": "lämna",
"created_by": "skapat av {{creatorAddress}}",
"community_for": "en gemenskap för {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "markera alla som läst",
"comment_reply": "svara på kommentar",
"post_reply": "svara på inlägg",
"show_parent": "visa den refererade posten"
"show_parent": "visa den refererade posten",
"no_posts": "inga inlägg",
"media_url": "media-url",
"post_locked_info": "Detta inlägg är låst. Du kommer inte att kunna kommentera.",
"no_subscriptions_notice": "Du har ännu inte gått med i någon gemenskap."
}

View File

@@ -12,7 +12,6 @@
"dark": "ముదురు",
"light": "తెలుపు",
"my_communities": "నా సముదాయాలు",
"edit": "సవరించు",
"home": "హోమ్",
"all": "అన్ని",
"submitted": "సబ్మిట్ చేసినది",
@@ -169,5 +168,9 @@
"mark_all_read": "అన్నిను చదవండి",
"comment_reply": "కమెంట్ స్పందించండి",
"post_reply": "పోస్టు స్పందించండి",
"show_parent": "సూచించబడిన పోస్ట్ చూపించు"
"show_parent": "సూచించబడిన పోస్ట్ చూపించు",
"no_posts": "పోస్టులు లేవు",
"media_url": "మీడియా URL",
"post_locked_info": "ఈ పోస్టు లాక్ చేయబడింది. మీరు వ్యాఖ్యానించలేరు.",
"no_subscriptions_notice": "మీరు ఇంకా ఏ కమ్యూనిటీలో చేరలేదు."
}

View File

@@ -12,7 +12,6 @@
"dark": "มืด",
"light": "สีขาว",
"my_communities": "ชุมชนของฉัน",
"edit": "แก้ไข",
"home": "หน้าแรก",
"all": "ทั้งหมด",
"submitted": "ส่งแล้ว",
@@ -169,5 +168,9 @@
"mark_all_read": "ทำเครื่องหมายทั้งหมดว่าอ่านแล้ว",
"comment_reply": "ตอบกลับความคิดเห็น",
"post_reply": "ตอบกลับโพสต์",
"show_parent": "แสดงโพสต์ที่ถูกอ้างอิง"
"show_parent": "แสดงโพสต์ที่ถูกอ้างอิง",
"no_posts": "ไม่มีโพสต์",
"media_url": "URL สื่อ",
"post_locked_info": "โพสต์นี้ถูกล็อก คุณจะไม่สามารถแสดงความคิดเห็นได้",
"no_subscriptions_notice": "คุณยังไม่ได้เข้าร่วมชุมชนใด ๆ"
}

View File

@@ -12,7 +12,6 @@
"dark": "Karanlık",
"light": "Açık",
"my_communities": "Topluluklarım",
"edit": "Düzenle",
"home": "Ana Sayfa",
"all": "Tümü",
"submitted": "Gönderildi",
@@ -93,7 +92,7 @@
"create_community": "Kendi topluluğunu oluştur",
"moderators": "moderatorler",
"about_moderation": "moderasyon ekibi hakkında",
"join": "katıl",
"join": "Katıl",
"leave": "ayrıl",
"created_by": "tarafından oluşturuldu {{creatorAddress}}",
"community_for": "{{date}} için bir topluluk",
@@ -169,5 +168,9 @@
"mark_all_read": "tümünü okundu olarak işaretle",
"comment_reply": "yorumu yanıtla",
"post_reply": "gönderiye yanıtla",
"show_parent": "atıfta bulunulan gönderiyi göster"
"show_parent": "atıfta bulunulan gönderiyi göster",
"no_posts": "gönderi yok",
"media_url": "medya URL'si",
"post_locked_info": "Bu gönderi kilitlendi. Yorum yapamayacaksınız.",
"no_subscriptions_notice": "Henüz herhangi bir topluluğa katılmadınız."
}

View File

@@ -12,7 +12,6 @@
"dark": "Темний",
"light": "Світлий",
"my_communities": "Мої спільноти",
"edit": "Редагувати",
"home": "Головна",
"all": "Всі",
"submitted": "Надіслано",
@@ -93,7 +92,7 @@
"create_community": "Створіть своє співтовариство",
"moderators": "модератори",
"about_moderation": "про модерацію",
"join": "приєднатися",
"join": "Приєднатися",
"leave": "покинути",
"created_by": "створено {{creatorAddress}}",
"community_for": "спільнота на {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "позначити всі як прочитані",
"comment_reply": "відповісти на коментар",
"post_reply": "відповісти на пост",
"show_parent": "показати зазначений допис"
"show_parent": "показати зазначений допис",
"no_posts": "немає повідомлень",
"media_url": "URL медіа",
"post_locked_info": "Цей пост заблокований. Ви не зможете залишити коментар.",
"no_subscriptions_notice": "Ви ще не приєдналися до жодної спільноти."
}

View File

@@ -12,7 +12,6 @@
"dark": "تاریک",
"light": "ہلکا",
"my_communities": "میری کمیونٹیاں",
"edit": "تدوین کریں",
"home": "ہوم",
"all": "تمام",
"submitted": "جمع کروائی گئی",
@@ -169,5 +168,9 @@
"mark_all_read": "سب کو پڑھا ہوا مارک کریں",
"comment_reply": "تبادلہ کریں جواب",
"post_reply": "پوسٹ کا جواب دیں",
"show_parent": "ذکر کردہ پوسٹ دکھائیں"
"show_parent": "ذکر کردہ پوسٹ دکھائیں",
"no_posts": "کوئی پوسٹ نہیں",
"media_url": "میڈیا یو آر ایل",
"post_locked_info": "یہ پوسٹ بند ہے۔ آپ تبصرہ نہیں کر سکیں گے۔",
"no_subscriptions_notice": "آپ نے ابھی تک کسی بھی کمیونٹی میں شامل نہیں ہوئے۔"
}

View File

@@ -12,7 +12,6 @@
"dark": "Tối",
"light": "Sáng",
"my_communities": "Cộng đồng của tôi",
"edit": "Chỉnh sửa",
"home": "Trang chủ",
"all": "Tất cả",
"submitted": "Đã gửi",
@@ -93,7 +92,7 @@
"create_community": "Tạo cộng đồng riêng của bạn",
"moderators": "quản trị viên",
"about_moderation": "về đội ngũ quản lý",
"join": "tham gia",
"join": "Tham gia",
"leave": "rời",
"created_by": "tạo bởi {{creatorAddress}}",
"community_for": "một cộng đồng cho {{date}}",
@@ -169,5 +168,9 @@
"mark_all_read": "đánh dấu tất cả là đã đọc",
"comment_reply": "trả lời bình luận",
"post_reply": "trả lời bài đăng",
"show_parent": "hiển thị bài viết được tham khảo"
"show_parent": "hiển thị bài viết được tham khảo",
"no_posts": "không có bài viết",
"media_url": "URL phương tiện",
"post_locked_info": "Bài viết này đã bị khóa. Bạn sẽ không thể bình luận.",
"no_subscriptions_notice": "Bạn chưa tham gia vào bất kỳ cộng đồng nào."
}

View File

@@ -12,7 +12,6 @@
"dark": "暗",
"light": "浅色",
"my_communities": "我的社群",
"edit": "编辑",
"home": "首页",
"all": "全部",
"submitted": "已提交",
@@ -169,5 +168,9 @@
"mark_all_read": "全部标记为已读",
"comment_reply": "回复评论",
"post_reply": "回复帖子",
"show_parent": "显示被引用的帖子"
"show_parent": "显示被引用的帖子",
"no_posts": "没有帖子",
"media_url": "媒体链接",
"post_locked_info": "此帖已锁定。您将无法评论。",
"no_subscriptions_notice": "您尚未加入任何社区。"
}

View File

@@ -13,6 +13,7 @@ import Profile from './views/profile';
import Settings from './views/settings';
import Submit from './views/submit';
import Subplebbit from './views/subplebbit';
import Subplebbits from './views/subplebbits';
import AccountBar from './components/account-bar/';
import ChallengeModal from './components/challenge-modal';
import Header from './components/header';
@@ -96,6 +97,8 @@ function App() {
<Route path='inbox/unread' element={<Inbox />} />
<Route path='inbox/commentreplies' element={<Inbox />} />
<Route path='inbox/postreplies' element={<Inbox />} />
<Route path='/communities' element={<Subplebbits />} />
</Route>
</Route>
</Routes>

View File

@@ -83,7 +83,7 @@ const AccountBar = () => {
accountDropdownOptions.push(
<Link key='create' to='#' className={styles.dropdownChoice} onClick={() => createAccount()}>
+create
+{t('create')}
</Link>,
);

View File

@@ -83,7 +83,7 @@ const AuthorSidebar = () => {
const address = isAuthorPage ? params?.authorAddress : isProfilePage ? profileAccount?.author?.shortAddress : '';
const karma = isAuthorPage ? estimatedAuthorKarma : isProfilePage ? profileAccount?.karma : '';
const { postScore, replyScore } = karma;
const { postScore, replyScore } = karma || { postScore: 0, replyScore: 0 };
const oldestCommentTimestamp = isAuthorPage ? authorOldestCommentTimestamp : isProfilePage ? profileOldestAccountTimestamp : Date.now();
const displayName = isAuthorPage ? authorAccount?.author?.displayName : isProfilePage ? profileAccount?.author?.displayName : '';
@@ -116,7 +116,7 @@ const AuthorSidebar = () => {
{' '}
(
<span className={styles.editButton} onClick={confirmNavigateToSettings}>
edit
{t('edit')}
</span>
)
</span>

View File

@@ -176,4 +176,8 @@
order: 3;
margin-bottom: -4px;
}
}
.singleAboutButton {
margin-bottom: 1px;
}

View File

@@ -22,6 +22,7 @@ import {
isProfileView,
isProfileCommentsView,
isProfileSubmittedView,
isSubplebbitsView,
isUpvotedView,
} from '../../lib/utils/view-utils';
import useTheme from '../../hooks/use-theme';
@@ -35,18 +36,12 @@ const AboutButton = () => {
const params = useParams();
const location = useLocation();
const aboutLink = getAboutLink(location.pathname, params);
const isHomePage = isHomeView(location.pathname, params);
const isAboutPage = isAboutView(location.pathname);
const isSubplebbitSubmitPage = isSubplebbitSubmitView(location.pathname, params);
return (
<li className={styles.about}>
<Link
to={aboutLink}
className={`${isAboutPage ? styles.selected : styles.choice}`}
onClick={(event) => {
isHomePage && event.preventDefault();
}}
>
<Link to={aboutLink} className={`${isAboutPage ? styles.selected : styles.choice} ${isSubplebbitSubmitPage ? styles.singleAboutButton : ''}`}>
{t('about')}
</Link>
</li>
@@ -198,7 +193,32 @@ const InboxHeaderTabs = () => {
);
};
const SubplebbitsHeaderTabs = () => {
const { t } = useTranslation();
return (
<>
<li>
<Link to={'/communities'} className={styles.selected}>
{t('home')}
</Link>
</li>
<li>
<Link to={'/communities'} className={styles.choice}>
proposed
</Link>
</li>
<li>
<Link to={'/communities'} className={styles.choice}>
{t('my_communities')}
</Link>
</li>
</>
);
};
const HeaderTabs = () => {
const { t } = useTranslation();
const params = useParams();
const location = useLocation();
const isAllPage = isAllView(location.pathname);
@@ -210,6 +230,7 @@ const HeaderTabs = () => {
const isProfilePage = isProfileView(location.pathname);
const isSubplebbitPage = isSubplebbitView(location.pathname, params);
const isSubplebbitSubmitPage = isSubplebbitSubmitView(location.pathname, params);
const isSubplebbitsPage = isSubplebbitsView(location.pathname);
if (isPostPage) {
return <CommentsButton />;
@@ -218,9 +239,11 @@ const HeaderTabs = () => {
} else if ((isProfilePage || isAuthorPage) && !isPendingPage) {
return <AuthorHeaderTabs />;
} else if (isPendingPage) {
return <span className={styles.pageName}>pending</span>;
return <span className={styles.pageName}>{t('pending')}</span>;
} else if (isInboxPage) {
return <InboxHeaderTabs />;
} else if (isSubplebbitsPage) {
return <SubplebbitsHeaderTabs />;
}
return null;
};
@@ -234,10 +257,11 @@ const HeaderTitle = ({ title, shortAddress }: { title: string; shortAddress: str
const isInboxPage = isInboxView(location.pathname);
const isPostPage = isPostView(location.pathname, params);
const isProfilePage = isProfileView(location.pathname);
const isSubplebbitPage = isSubplebbitView(location.pathname, params);
const isSubmitPage = isSubmitView(location.pathname);
const isSubplebbitSubmitPage = isSubplebbitSubmitView(location.pathname, params);
const isSettingsPage = isSettingsView(location.pathname);
const isSubmitPage = isSubmitView(location.pathname);
const isSubplebbitPage = isSubplebbitView(location.pathname, params);
const isSubplebbitSubmitPage = isSubplebbitSubmitView(location.pathname, params);
const isSubplebbitsPage = isSubplebbitsView(location.pathname);
const subplebbitTitle = <Link to={`/p/${params.subplebbitAddress}`}>{title || shortAddress}</Link>;
const submitTitle = <span className={styles.submitTitle}>{t('submit')}</span>;
@@ -262,6 +286,8 @@ const HeaderTitle = ({ title, shortAddress }: { title: string; shortAddress: str
return authorTitle;
} else if (isInboxPage) {
return t('messages');
} else if (isSubplebbitsPage) {
return 'communities';
}
return null;
};

View File

@@ -17,7 +17,7 @@
.markdown {
background-color: var(--background-markdown);
border: 1px solid var(--text-primary);
border: 1px solid var(--grey-light);
border-radius: 7px;
padding: 5px 10px;
font-weight: 400;

View File

@@ -76,7 +76,7 @@ const ReplyForm = ({ cid, isReplyingToReply, hideReplyForm }: ReplyFormProps) =>
<div className={styles.md}>
<div className={styles.options}>
<span className={urlClass}>
media url: <input className={`${styles.url} ${urlClass}`} ref={urlRef} onChange={(e) => setContent.link(e.target.value)} />
{t('media_url')}: <input className={`${styles.url} ${urlClass}`} ref={urlRef} onChange={(e) => setContent.link(e.target.value)} />
</span>
<span className={`${styles.spoiler} ${spoilerClass}`}>
<label>

View File

@@ -139,7 +139,6 @@ const InboxParentLink = ({ commentCid }: ParentLinkProps) => {
const { postCid, parentCid } = inboxComment || {};
const parent = useComment({ commentCid: inboxComment?.postCid });
const { cid, content, title, subplebbitAddress } = parent || {};
// const { t } = useTranslation();
const postTitle = (title?.length > 300 ? title?.slice(0, 300) + '...' : title) || (content?.length > 300 ? content?.slice(0, 300) + '...' : content);
const isInboxCommentReply = postCid !== parentCid;

View File

@@ -5,7 +5,7 @@ import { useBlock, Role, useSubplebbitStats, useAccountComment } from '@plebbit/
import styles from './sidebar.module.css';
import { getFormattedDate, getFormattedDuration, getFormattedTimeAgo } from '../../lib/utils/time-utils';
import { findSubplebbitCreator } from '../../lib/utils/user-utils';
import { isAboutView, isAllView, isHomeView, isPendingView, isPostView } from '../../lib/utils/view-utils';
import { isAboutView, isAllView, isHomeView, isPendingView, isPostView, isSubplebbitsView } from '../../lib/utils/view-utils';
import SearchBar from '../search-bar';
import SubscribeButton from '../subscribe-button';
@@ -88,6 +88,7 @@ const Sidebar = ({ address, cid, createdAt, description, downvoteCount = 0, role
const isHomePage = isHomeView(location.pathname, params);
const isPendingPage = isPendingView(location.pathname, params);
const isPostPage = isPostView(location.pathname, params);
const isSubplebbitsPage = isSubplebbitsView(location.pathname);
const pendingPost = useAccountComment({ commentIndex: params?.accountCommentIndex as any });
@@ -130,7 +131,7 @@ const Sidebar = ({ address, cid, createdAt, description, downvoteCount = 0, role
<div className={styles.nub} />
</div>
</Link>
{!isHomePage && !isAllPage && !isPendingPage && (
{!isHomePage && !isAllPage && !isPendingPage && !isSubplebbitsPage && (
<div className={styles.titleBox}>
<Link className={styles.title} to={`/p/${address}`}>
{address}

View File

@@ -9,6 +9,7 @@
font-weight: bold;
border-radius: 3px;
cursor: pointer;
text-transform: lowercase;
}
.joinButton {

View File

@@ -113,7 +113,7 @@ const TopBar = () => {
{getShortAddress(subscription)}
</Link>
))}
{subscriptions?.length === 0 && <div className={`${styles.dropdownChoice} ${styles.noSubs}`}>you haven't joined any community</div>}
{subscriptions?.length === 0 && <div className={`${styles.dropdownChoice} ${styles.noSubs}`}>{t('no_subscriptions_notice')}</div>}
</div>
</div>
<div className={styles.dropdown} ref={sortsDropdownRef} onClick={toggleSortsDropdown}>
@@ -160,7 +160,7 @@ const TopBar = () => {
))}
</ul>
</div>
<Link to='#' className={styles.moreLink}>
<Link to='/communities' className={styles.moreLink}>
{t('edit')} »
</Link>
</div>

View File

@@ -106,6 +106,10 @@ export const isSubplebbitSubmitView = (pathname: string, params: ParamsType): bo
return params.subplebbitAddress ? pathname === `/p/${params.subplebbitAddress}/submit` : false;
};
export const isSubplebbitsView = (pathname: string): boolean => {
return pathname.startsWith('/communities');
};
export const isUpvotedView = (pathname: string): boolean => {
return pathname === '/profile/upvoted';
};

View File

@@ -2,12 +2,17 @@
--orange: #FF7500;
--green: #228822;
--yellow: goldenrod;
--box-yellow-contrast: #ffd634;
--box-yellow-background: #fff7d7;
--box-yellow-icon: #ffd634;
--code-background: #fcfcfb;
--code-border: #e6e6de;
--red: red;
--gray-contrast: #888;
--gray-overlay: #F7F7F7;
--gray-overlay-border: #E9E9E9;
--gray-border: #ddd;
--gray-light: #CCCCCA;
--gray-light: #ccc;
--box-shadow-modal: 4px 4px 4px #ccc;
--box-shadow-input: inset 0px 1px 1px rgba(0,0,0,0.3),0px 1px 0px rgba(255,255,255,0.6);
--filter80: brightness(100%);
@@ -50,6 +55,11 @@
--orange: #FF7500;
--green: #228822;
--yellow: rgb(200, 171, 0);
--box-yellow-contrast: rgb(163, 130, 0);
--box-yellow-background: rgb(56, 45, 0);
--box-yellow-icon: rgb(130, 103, 0);
--code-background: rgb(19, 19, 13);
--code-border: rgb(52, 58, 60);
--red: rgb(200, 0, 0);
--gray-contrast: #c7c7c7;
--gray-overlay: #1f1f1f;

View File

@@ -80,4 +80,46 @@
.repliesTitle {
max-width: 100vw;
}
}
.lockedInfobar::before {
content: '';
display: block;
width: 45px;
height: 100%;
background-color: var(--box-yellow-icon);
position: absolute;
left: 0;
top: 0;
background-position: center;
background-image: url('/public/assets/locked-icon.png');
background-size: 20px 25px;
background-repeat: no-repeat;
}
.lockedInfobar {
min-height: 45px;
padding-left: 55px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
background-color: var(--box-yellow-background);
border-color: var(--box-yellow-contrast);
border-style: solid;
border-width: 1px;
margin-bottom: 10px;
overflow: auto;
padding: 10px;
position: relative;
}
.lockedInfobarText {
font-size: 12px;
color: var(--text-markdown);
unicode-bidi: isolate;
max-width: 60em;
word-wrap: break-word;
line-height: 1.25em;
margin: 5px 0;
padding-left: 45px;
}

View File

@@ -66,6 +66,11 @@ const Post = () => {
upvoteCount={upvoteCount}
/>
</div>
{post?.locked && (
<div className={styles.lockedInfobar}>
<div className={styles.lockedInfobarText}>{t('post_locked_info')}</div>
</div>
)}
<PostComponent post={post} />
{!isPendingPage && (
<div className={styles.replyArea}>

View File

@@ -67,6 +67,7 @@ const SortDropdown: React.FC<SortDropdownProps> = ({ onSortChange }) => {
};
const Profile = () => {
const { t } = useTranslation();
const account = useAccount();
const location = useLocation();
const params = useParams();
@@ -137,7 +138,7 @@ const Profile = () => {
</div>
<SortDropdown onSortChange={handleSortChange} />
{account && !accountComments.length ? (
'no posts'
t('no_posts')
) : (
<Virtuoso
increaseViewportBy={{ bottom: 1200, top: 600 }}

View File

@@ -56,7 +56,8 @@ h1 {
.input {
font-size: 100%;
width: 492px;
min-width: 492px;
max-width: 492px;
padding: 3px;
margin: 0;
color: var(--text);
@@ -64,12 +65,12 @@ h1 {
}
.inputTitle {
height: 60px;
min-height: 60px;
font-size: 18px;
}
.inputText {
height: 100px;
min-height: 100px;
font-size: 14px;
}
@@ -113,6 +114,11 @@ h1 {
box-sizing: border-box;
}
.input {
min-width: calc(100% - 6px);
max-width: calc(100% - 6px);
}
h1 {
font-size: 16px;
}

View File

@@ -0,0 +1 @@
export { default } from './subplebbits';

View File

@@ -0,0 +1,86 @@
@media (max-width: 768px) {
.content {
padding: 7px 0px 0px 0px;
}
.sidebar {
display: none;
}
}
@media (min-width: 768px) {
.content {
padding: 7px 5px 0px 5px;
}
.stateString {
max-width: calc(100% - 305px);
}
}
.infobar {
background-color: var(--background-orange);
border-color: var(--border-orange);
border-style: solid;
border-width: 1px;
font-size: small;
margin: 0 305px 5px 0px;
padding: 6px 10px;
color: var(--text);
word-wrap: break-word;
font-size: 14px;
text-transform: lowercase;
}
.infobar code {
padding: 0 4px;
margin: 0 2px;
background-color: var(--code-background);
border: 1px solid var(--code-border);
}
.subplebbit {
margin-bottom: 10px;
}
.midcol {
margin-right: 5px;
margin-top: 5px;
text-align: right;
width: 12em;
float: left;
margin-left: 7px;
}
.entry {
overflow: hidden;
opacity: 1;
}
.title {
margin-bottom: 1px;
font-size: medium;
margin-right: 5px;
overflow: hidden;
unicode-bidi: isolate;
}
.title a {
color: var(--link);
}
/* .title a:visited {
color: var(--link-visited);
} */
.description {
font-size: small;
max-width: 60em;
unicode-bidi: isolate;
background-color: var(--background-markdown);
border: 1px solid var(--gray-light);
color: var(--text-markdown);
padding: 2px 5px;
border-radius: 7px;
margin: 5px 0px;
}

View File

@@ -0,0 +1,60 @@
import { useMemo } from 'react';
import { Subplebbit as SubplebbitType, useAccountSubplebbits, useSubplebbitStats } from '@plebbit/plebbit-react-hooks';
import { useTranslation } from 'react-i18next';
import styles from './subplebbits.module.css';
import Sidebar from '../../components/sidebar';
import SubscribeButton from '../../components/subscribe-button';
import { Link } from 'react-router-dom';
import { getFormattedDuration } from '../../lib/utils/time-utils';
interface SubplebbitProps {
subplebbit: SubplebbitType;
}
const Subplebbit = ({ subplebbit }: SubplebbitProps) => {
const { t } = useTranslation();
const { address, createdAt, description, shortAddress, title } = subplebbit || {};
const { allActiveUserCount } = useSubplebbitStats({ subplebbitAddress: address });
return (
<div className={styles.subplebbit}>
<div className={styles.midcol}>
<SubscribeButton address={address} />
</div>
<div className={styles.entry}>
<div className={styles.title}>
<Link to={`/p/${address}`}>
p/{address.includes('.') ? address : shortAddress}
{title && `: ${title}`}
</Link>
</div>
{description && <div className={styles.description}>{description}</div>}
<div className={styles.tagline}>
<span>
{t('readers_count', { count: allActiveUserCount })}, {t('community_for', { date: getFormattedDuration(createdAt) })}
</span>
</div>
</div>
</div>
);
};
const Subplebbits = () => {
const { t } = useTranslation();
const { accountSubplebbits } = useAccountSubplebbits();
const accountSubplebbitsArray = useMemo(() => Object.values(accountSubplebbits), [accountSubplebbits]);
return (
<div className={styles.content}>
<div className={`${styles.sidebar}`}>
<Sidebar />
</div>
<div className={styles.infobar}>
click the <code>{t('join')}</code> or <code>{t('leave')}</code> buttons to choose which communities appear on the home feed.
</div>
{accountSubplebbitsArray?.map((subplebbit) => <Subplebbit subplebbit={subplebbit} />)}
</div>
);
};
export default Subplebbits;