Skip to content

Commit

Permalink
feat(reply): add colored "submitter" "[S]" next to user name if reply…
Browse files Browse the repository at this point in the history
… author is also the post author
  • Loading branch information
plebeius-eth committed Dec 19, 2024
1 parent 8399174 commit 59f1f1b
Show file tree
Hide file tree
Showing 38 changed files with 118 additions and 42 deletions.
3 changes: 2 additions & 1 deletion public/translations/ar/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "يجب أن تكون في سن 18 عامًا على الأقل لعرض هذا المحتوى. هل أنت فوق 18 عامًا ومستعد لرؤية المحتوى البالغ؟",
"no_thank_you": "لا، شكرًا",
"continue": "استمر",
"download_latest_android": "تحميل أحدث إصدار من أندرويد؟"
"download_latest_android": "تحميل أحدث إصدار من أندرويد؟",
"submitter": "مقدّم"
}
3 changes: 2 additions & 1 deletion public/translations/bn/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "এই কন্টেন্ট দেখতে আপনাকে অন্তত ১৮ বছর বয়সী হতে হবে। আপনি কি ১৮ বছরের উপরে এবং প্রাপ্তবয়স্ক কন্টেন্ট দেখতে ইচ্ছুক?",
"no_thank_you": "না, ধন্যবাদ",
"continue": "অবস্থান করুন",
"download_latest_android": "সর্বশেষ অ্যান্ড্রয়েড সংস্করণ ডাউনলোড করুন?"
"download_latest_android": "সর্বশেষ অ্যান্ড্রয়েড সংস্করণ ডাউনলোড করুন?",
"submitter": "জমাদাতা"
}
3 changes: 2 additions & 1 deletion public/translations/cs/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Musíte být alespoň 18 let starý/á, abyste si mohli prohlédnout tento obsah. Jste starší 18 let a ochotni vidět obsah pro dospělé?",
"no_thank_you": "Ne, děkuji",
"continue": "Pokračovat",
"download_latest_android": "Stáhněte si nejnovější verzi Androidu?"
"download_latest_android": "Stáhněte si nejnovější verzi Androidu?",
"submitter": "Odesílatel"
}
3 changes: 2 additions & 1 deletion public/translations/da/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Du skal være mindst 18 år gammel for at se dette indhold. Er du over 18 og villig til at se voksenindhold?",
"no_thank_you": "Nej, tak tak",
"continue": "Fortsæt",
"download_latest_android": "Download den nyeste Android-version?"
"download_latest_android": "Download den nyeste Android-version?",
"submitter": "Indsender"
}
3 changes: 2 additions & 1 deletion public/translations/de/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Sie müssen mindestens 18 Jahre alt sein, um diesen Inhalt zu sehen. Sind Sie über 18 Jahre alt und bereit, Erwachsenen-Inhalte zu sehen?",
"no_thank_you": "Nein, danke",
"continue": "Weiter",
"download_latest_android": "Laden Sie die neueste Android-Version herunter?"
"download_latest_android": "Laden Sie die neueste Android-Version herunter?",
"submitter": "Einreicher"
}
3 changes: 2 additions & 1 deletion public/translations/el/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Πρέπει να είστε τουλάχιστον 18 ετών για να δείτε αυτό το περιεχόμενο. Είστε άνω των 18 και πρόθυμοι να δείτε περιεχόμενο για ενήλικες;",
"no_thank_you": "Όχι, ευχαριστώ",
"continue": "Συνέχεια",
"download_latest_android": "Κατεβάστε την τελευταία έκδοση Android;"
"download_latest_android": "Κατεβάστε την τελευταία έκδοση Android;",
"submitter": "Υποβολέας"
}
3 changes: 2 additions & 1 deletion public/translations/en/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "You must be at least eighteen years old to view this content. Are you over eighteen and willing to see adult content?",
"no_thank_you": "No thank you",
"continue": "Continue",
"download_latest_android": "Download the latest android version?"
"download_latest_android": "Download the latest android version?",
"submitter": "Submitter"
}
3 changes: 2 additions & 1 deletion public/translations/es/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Debe tener al menos dieciocho años para ver este contenido. ¿Tienes más de dieciocho años y estás dispuesto a ver contenido para adultos?",
"no_thank_you": "No gracias",
"continue": "Continuar",
"download_latest_android": "¿Descargar la última versión de Android?"
"download_latest_android": "¿Descargar la última versión de Android?",
"submitter": "Remitente"
}
3 changes: 2 additions & 1 deletion public/translations/fa/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "برای مشاهده این محتوا باید حداقل هجده سال داشته باشید. آیا شما بالای هجده سال دارید و آماده مشاهده محتوای بزرگسالان هستید؟",
"no_thank_you": "نه، ممنون",
"continue": "ادامه بده",
"download_latest_android": "دانلود آخرین نسخه اندروید؟"
"download_latest_android": "دانلود آخرین نسخه اندروید؟",
"submitter": "ارسال‌کننده"
}
3 changes: 2 additions & 1 deletion public/translations/fi/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Sinun täytyy olla vähintään kahdeksantoista vuotta vanha nähdäksesi tämän sisällön. Oletko yli 18-vuotias ja halukas katsomaan aikuisille tarkoitettua sisältöä?",
"no_thank_you": "Ei kiitos",
"continue": "Jatka",
"download_latest_android": "Lataa uusin Android-versio?"
"download_latest_android": "Lataa uusin Android-versio?",
"submitter": "Lähettäjä"
}
3 changes: 2 additions & 1 deletion public/translations/fil/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Dapat kang hindi bababa sa labing walong taon upang makita ang nilalamang ito. Ikaw ba ay higit sa labing walong taon at handang makita ang nilalamang pang-adulto?",
"no_thank_you": "Hindi, salamat",
"continue": "Magpatuloy",
"download_latest_android": "I-download ang pinakabagong bersyon ng Android?"
"download_latest_android": "I-download ang pinakabagong bersyon ng Android?",
"submitter": "Nagpadala"
}
3 changes: 2 additions & 1 deletion public/translations/fr/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Vous devez avoir au moins dix-huit ans pour voir ce contenu. Avez-vous plus de dix-huit ans et êtes-vous prêt à voir du contenu pour adultes ?",
"no_thank_you": "Non merci",
"continue": "Continuer",
"download_latest_android": "Télécharger la dernière version d'Android ?"
"download_latest_android": "Télécharger la dernière version d'Android ?",
"submitter": "Soumetteur"
}
3 changes: 2 additions & 1 deletion public/translations/he/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "עליך להיות לפחות בן 18 על מנת לצפות בתוכן הזה. האם אתה מעל גיל 18 ומוכן לראות תוכן למבוגרים?",
"no_thank_you": "לא תודה",
"continue": "המשך",
"download_latest_android": "להוריד את הגרסה האחרונה של אנדרואיד?"
"download_latest_android": "להוריד את הגרסה האחרונה של אנדרואיד?",
"submitter": "שולח"
}
3 changes: 2 additions & 1 deletion public/translations/hi/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "इस सामग्री को देखने के लिए आपको कम से कम अठारह साल का होना चाहिए। क्या आप अठारह साल से ऊपर हैं और वयस्क सामग्री देखने के इच्छुक हैं?",
"no_thank_you": "नहीं, धन्यवाद",
"continue": "जारी रखें",
"download_latest_android": "नवीनतम एंड्रॉइड संस्करण डाउनलोड करें?"
"download_latest_android": "नवीनतम एंड्रॉइड संस्करण डाउनलोड करें?",
"submitter": "प्रस्तावक"
}
3 changes: 2 additions & 1 deletion public/translations/hu/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Legalább tizennyolc évesnek kell lenned ahhoz, hogy megtekinthesd ezt a tartalmat. Több mint tizennyolc éves vagy, és hajlandó vagy felnőtteknek szóló tartalmat nézni?",
"no_thank_you": "Nem, köszönöm",
"continue": "Folytatás",
"download_latest_android": "Töltse le a legújabb Android verziót?"
"download_latest_android": "Töltse le a legújabb Android verziót?",
"submitter": "Beküldő"
}
3 changes: 2 additions & 1 deletion public/translations/id/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Anda harus berusia minimal delapan belas tahun untuk melihat konten ini. Apakah Anda berusia lebih dari delapan belas tahun dan bersedia melihat konten dewasa?",
"no_thank_you": "Tidak, terima kasih",
"continue": "Lanjutkan",
"download_latest_android": "Unduh versi Android terbaru?"
"download_latest_android": "Unduh versi Android terbaru?",
"submitter": "Pengirim"
}
3 changes: 2 additions & 1 deletion public/translations/it/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Devi avere almeno diciotto anni per visualizzare questo contenuto. Hai più di diciotto anni e sei disposto a vedere contenuti per adulti?",
"no_thank_you": "No, grazie",
"continue": "Continua",
"download_latest_android": "Scarica l'ultima versione di Android?"
"download_latest_android": "Scarica l'ultima versione di Android?",
"submitter": "Inviatore"
}
3 changes: 2 additions & 1 deletion public/translations/ja/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "このコンテンツを見るには少なくとも18歳でなければなりません。あなたは18歳以上で、成人向けコンテンツを見る準備ができていますか?",
"no_thank_you": "いいえ、ありがとう",
"continue": "続ける",
"download_latest_android": "最新のAndroidバージョンをダウンロードしますか?"
"download_latest_android": "最新のAndroidバージョンをダウンロードしますか?",
"submitter": "提出者"
}
3 changes: 2 additions & 1 deletion public/translations/ko/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "이 콘텐츠를 보려면 최소한 18세 이상이어야 합니다. 당신은 18세 이상이며 성인 콘텐츠를 볼 준비가 되셨나요?",
"no_thank_you": "아니요, 감사합니다",
"continue": "계속",
"download_latest_android": "최신 Android 버전을 다운로드하시겠습니까?"
"download_latest_android": "최신 Android 버전을 다운로드하시겠습니까?",
"submitter": "제출자"
}
3 changes: 2 additions & 1 deletion public/translations/mr/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "या सामग्रीला पाहण्यासाठी तुम्हाला किमान अठरा वर्षे वयाचे असावे लागेल. तुम्ही अठरा वर्षे वयाच्या वरील आहात का आणि प्रौढ सामग्री पाहण्यास तयार आहात?",
"no_thank_you": "नाही, धन्यवाद",
"continue": "सुरू ठेवा",
"download_latest_android": "ताज्या Android आवृत्तीचे डाउनलोड करा?"
"download_latest_android": "ताज्या Android आवृत्तीचे डाउनलोड करा?",
"submitter": "समीक्षक"
}
3 changes: 2 additions & 1 deletion public/translations/nl/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Je moet minstens achttien jaar oud zijn om deze inhoud te bekijken. Ben je ouder dan achttien en bereid om volwassen inhoud te bekijken?",
"no_thank_you": "Nee, bedankt",
"continue": "Doorgaan",
"download_latest_android": "Download de nieuwste Android-versie?"
"download_latest_android": "Download de nieuwste Android-versie?",
"submitter": "Indiener"
}
3 changes: 2 additions & 1 deletion public/translations/no/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Du må være minst 18 år gammel for å se dette innholdet. Er du over 18 og villig til å se vokseninnhold?",
"no_thank_you": "Nei, takk",
"continue": "Fortsett",
"download_latest_android": "Last ned den nyeste Android-versjonen?"
"download_latest_android": "Last ned den nyeste Android-versjonen?",
"submitter": "Innsender"
}
3 changes: 2 additions & 1 deletion public/translations/pl/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Musisz mieć co najmniej osiemnaście lat, aby oglądać tę treść. Masz ponad osiemnaście lat i chcesz oglądać treści dla dorosłych?",
"no_thank_you": "Nie, dziękuję",
"continue": "Kontynuować",
"download_latest_android": "Pobierz najnowszą wersję Androida?"
"download_latest_android": "Pobierz najnowszą wersję Androida?",
"submitter": "Nadawca"
}
3 changes: 2 additions & 1 deletion public/translations/pt/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Você deve ter pelo menos dezoito anos para ver este conteúdo. Você tem mais de dezoito anos e está disposto a ver conteúdo para adultos?",
"no_thank_you": "Não, obrigado",
"continue": "Continuar",
"download_latest_android": "Baixar a versão mais recente do Android?"
"download_latest_android": "Baixar a versão mais recente do Android?",
"submitter": "Submissor"
}
3 changes: 2 additions & 1 deletion public/translations/ro/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Trebuie să ai cel puțin optsprezece ani pentru a vizualiza acest conținut. Ai peste optsprezece ani și ești dispus să vizionezi conținut pentru adulți?",
"no_thank_you": "Nu, mulțumesc",
"continue": "Continuă",
"download_latest_android": "Descărcați cea mai recentă versiune Android?"
"download_latest_android": "Descărcați cea mai recentă versiune Android?",
"submitter": "Trimis"
}
3 changes: 2 additions & 1 deletion public/translations/ru/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Вы должны быть как минимум восемнадцати лет, чтобы просматривать этот контент. Вам больше восемнадцати лет, и вы готовы просматривать контент для взрослых?",
"no_thank_you": "Нет, спасибо",
"continue": "Продолжить",
"download_latest_android": "Скачать последнюю версию Android?"
"download_latest_android": "Скачать последнюю версию Android?",
"submitter": "Отправитель"
}
3 changes: 2 additions & 1 deletion public/translations/sq/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Duhet të jeni të paktën tetëmbëdhjetë vjeç për të parë këtë përmbajtje. A jeni mbi tetëmbëdhjetë vjeç dhe jeni të gatshëm të shihni përmbajtje për të rritur?",
"no_thank_you": "Jo, faleminderit",
"continue": "Vazhdoni",
"download_latest_android": "Shkarkoni versionin më të fundit të Android?"
"download_latest_android": "Shkarkoni versionin më të fundit të Android?",
"submitter": "Dërguesi"
}
3 changes: 2 additions & 1 deletion public/translations/sv/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Du måste vara minst arton år gammal för att se detta innehåll. Är du över arton och villig att se vuxeninnehåll?",
"no_thank_you": "Nej, tack",
"continue": "Fortsätt",
"download_latest_android": "Ladda ner den senaste Android-versionen?"
"download_latest_android": "Ladda ner den senaste Android-versionen?",
"submitter": "Inlämnare"
}
3 changes: 2 additions & 1 deletion public/translations/te/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "ఈ కంటెంట్‌ను చూడడానికి మీరు కనీసం పద్దెనిమిది సంవత్సరాలు వయస్సు ఉన్నట్లయితే కావాలి. మీరు పద్దెనిమిది సంవత్సరాలు పైగా ఉన్నారా మరియు వయస్సు ఆధారిత కంటెంట్ చూడడానికి సిద్ధంగా ఉన్నారా?",
"no_thank_you": "లేదు, ధన్యవాదాలు",
"continue": "కొనసాగించండి",
"download_latest_android": "తాజా Android వెర్షన్ డౌన్‌లోడ్ చేసుకోండి?"
"download_latest_android": "తాజా Android వెర్షన్ డౌన్‌లోడ్ చేసుకోండి?",
"submitter": "సమర్పకుడు"
}
3 changes: 2 additions & 1 deletion public/translations/th/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "คุณต้องมีอายุอย่างน้อย 18 ปีเพื่อดูเนื้อหานี้ คุณอายุเกิน 18 ปีและพร้อมที่จะดูเนื้อหาผู้ใหญ่หรือไม่?",
"no_thank_you": "ไม่ ขอบคุณ",
"continue": "ดำเนินการต่อ",
"download_latest_android": "ดาวน์โหลดเวอร์ชันล่าสุดของ Android?"
"download_latest_android": "ดาวน์โหลดเวอร์ชันล่าสุดของ Android?",
"submitter": "ผู้ส่ง"
}
3 changes: 2 additions & 1 deletion public/translations/tr/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Bu içeriği görmek için en az on sekiz yaşında olmanız gerekir. On sekiz yaşından büyük müsünüz ve yetişkin içeriği görmeye istekli misiniz?",
"no_thank_you": "Hayır, teşekkür ederim",
"continue": "Devam et",
"download_latest_android": "Son Android sürümünü indir?"
"download_latest_android": "Son Android sürümünü indir?",
"submitter": "Gönderen"
}
3 changes: 2 additions & 1 deletion public/translations/uk/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Ви повинні бути принаймні вісімнадцяти років, щоб переглядати цей контент. Вам більше вісімнадцяти років, і ви готові переглядати контент для дорослих?",
"no_thank_you": "Ні, дякую",
"continue": "Продовжити",
"download_latest_android": "Завантажити останню версію Android?"
"download_latest_android": "Завантажити останню версію Android?",
"submitter": "Відправник"
}
3 changes: 2 additions & 1 deletion public/translations/ur/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "اس مواد کو دیکھنے کے لیے آپ کو کم از کم اٹھارہ سال کا ہونا ضروری ہے۔ کیا آپ اٹھارہ سال سے اوپر ہیں اور بالغ مواد دیکھنے کے لیے تیار ہیں؟",
"no_thank_you": "نہیں، شکریہ",
"continue": "جاری رکھیں",
"download_latest_android": "آخری Android ورژن ڈاؤن لوڈ کریں؟"
"download_latest_android": "آخری Android ورژن ڈاؤن لوڈ کریں؟",
"submitter": "جمع کرانے والا"
}
3 changes: 2 additions & 1 deletion public/translations/vi/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "Bạn phải ít nhất mười tám tuổi để xem nội dung này. Bạn có trên mười tám tuổi và sẵn sàng xem nội dung người lớn không?",
"no_thank_you": "Không, cảm ơn",
"continue": "Tiếp tục",
"download_latest_android": "Tải phiên bản Android mới nhất?"
"download_latest_android": "Tải phiên bản Android mới nhất?",
"submitter": "Người gửi"
}
3 changes: 2 additions & 1 deletion public/translations/zh/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,5 +350,6 @@
"must_be_over_18_explanation": "您必须至少年满18岁才能查看此内容。您是否已超过18岁并愿意查看成人内容?",
"no_thank_you": "不,谢谢",
"continue": "继续",
"download_latest_android": "下载最新的安卓版本?"
"download_latest_android": "下载最新的安卓版本?",
"submitter": "提交者"
}
8 changes: 8 additions & 0 deletions src/components/reply/reply.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -369,4 +369,12 @@
font-size: x-small;
line-height: normal;
vertical-align: middle;
}

.submitter {
color: var(--submitter-color);
}

.submitter:hover {
text-decoration: underline;
}
Loading

0 comments on commit 59f1f1b

Please sign in to comment.