chore: add translations

This commit is contained in:
Tom (plebeius.eth)
2024-06-25 22:02:23 +02:00
parent 19995ad670
commit 04edb3cb34
37 changed files with 240 additions and 45 deletions
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "استخدام الكتالوج",
"show_worksafe_boards_only": "عرض لوحات آمنة للعمل فقط",
"show_all_content": "عرض جميع المحتويات",
"link_type": "نوع الرابط"
"link_type": "نوع الرابط",
"comment_edited_at_timestamp": "تم تحرير التعليق في {{timestamp}}.",
"reason_reason": "السبب: \"{{reason}}\".",
"click_here_to_show_original": "<1>انقر هنا</1> لعرض الأصل.",
"click_here_to_hide_original": "<1>انقر هنا</1> لإخفاء الأصل.",
"loading": "جار التحميل"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "ক্যাটালগ ব্যবহার",
"show_worksafe_boards_only": "শুধুমাত্র কাজ-সম্পূর্ণ বোর্ড দেখান",
"show_all_content": "সমস্ত কন্টেন্ট দেখান",
"link_type": "লিংক প্রকার"
"link_type": "লিংক প্রকার",
"comment_edited_at_timestamp": "মন্তব্য সম্পাদনা করা হয়েছে {{timestamp}} তারিখে।",
"reason_reason": "কারণ: \"{{reason}}\".",
"click_here_to_show_original": "<1>এখানে ক্লিক করুন</1> অসল দেখানোর জন্য।",
"click_here_to_hide_original": "<1>এখানে ক্লিক করুন</1> অসল লুকাতে।",
"loading": "লোড হচ্ছে"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "použít katalog",
"show_worksafe_boards_only": "Zobrazit pouze bezpečné pracovní desky",
"show_all_content": "Zobrazit veškerý obsah",
"link_type": "Typ odkazu"
"link_type": "Typ odkazu",
"comment_edited_at_timestamp": "Komentář byl upraven dne {{timestamp}}.",
"reason_reason": "Důvod: \"{{reason}}\".",
"click_here_to_show_original": "Klikněte <1>zde</1> pro zobrazení původního.",
"click_here_to_hide_original": "Klikněte <1>zde</1> pro skrytí původního.",
"loading": "Načítání"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "brug katalog",
"show_worksafe_boards_only": "Vis kun Worksafe boards",
"show_all_content": "Vis alt indhold",
"link_type": "Link type"
"link_type": "Link type",
"comment_edited_at_timestamp": "Kommentaren blev redigeret den {{timestamp}}.",
"reason_reason": "Grund: \"{{reason}}\".",
"click_here_to_show_original": "<1>Klik her</1> for at vise originalen.",
"click_here_to_hide_original": "<1>Klik her</1> for at skjule originalen.",
"loading": "Indlæser"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "Benutze Katalog",
"show_worksafe_boards_only": "Nur sichere Boards anzeigen",
"show_all_content": "Alle Inhalte anzeigen",
"link_type": "Linktyp"
"link_type": "Linktyp",
"comment_edited_at_timestamp": "Kommentar bearbeitet am {{timestamp}}.",
"reason_reason": "Grund: \"{{reason}}\".",
"click_here_to_show_original": "<1>Hier klicken</1>, um das Original anzuzeigen.",
"click_here_to_hide_original": "<1>Hier klicken</1>, um das Original zu verstecken.",
"loading": "Laden"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "χρησιμοποίηση καταλόγου",
"show_worksafe_boards_only": "Εμφάνιση μόνο ασφαλών πινάκων εργασίας",
"show_all_content": "Εμφάνιση όλων των περιεχομένων",
"link_type": "Τύπος συνδέσμου"
"link_type": "Τύπος συνδέσμου",
"comment_edited_at_timestamp": "Επεξεργασία σχολίου στις {{timestamp}}.",
"reason_reason": "Λόγος: \"{{reason}}\".",
"click_here_to_show_original": "<1>Κάντε κλικ εδώ</1> για να εμφανιστεί το αρχικό.",
"click_here_to_hide_original": "<1>Κάντε κλικ εδώ</1> για να κρύψετε το αρχικό.",
"loading": "Φόρτωση"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "use catalog",
"show_worksafe_boards_only": "Show Worksafe Boards Only",
"show_all_content": "Show All Content",
"link_type": "Link type"
"link_type": "Link type",
"comment_edited_at_timestamp": "Comment edited at {{timestamp}}.",
"reason_reason": "Reason: \"{{reason}}\".",
"click_here_to_show_original": "<1>Click here</1> to show the original.",
"click_here_to_hide_original": "<1>Click here</1> to hide the original.",
"loading": "Loading"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "usar catálogo",
"show_worksafe_boards_only": "Mostrar solo tableros seguros para el trabajo",
"show_all_content": "Mostrar todo el contenido",
"link_type": "Tipo de enlace"
"link_type": "Tipo de enlace",
"comment_edited_at_timestamp": "Comentario editado en {{timestamp}}.",
"reason_reason": "Motivo: \"{{reason}}\".",
"click_here_to_show_original": "<1>Haga clic aquí</1> para mostrar el original.",
"click_here_to_hide_original": "<1>Haga clic aquí</1> para ocultar el original.",
"loading": "Cargando"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "استفاده از کاتالوگ",
"show_worksafe_boards_only": "نمایش تنها بوردهای ایمن برای کار",
"show_all_content": "نمایش تمام محتوا",
"link_type": "نوع پیوند"
"link_type": "نوع پیوند",
"comment_edited_at_timestamp": "ویرایش نظر در {{timestamp}}.",
"reason_reason": "دلیل: \"{{reason}}\".",
"click_here_to_show_original": "<1>برای نمایش اصلی اینجا کلیک کنید</1>.",
"click_here_to_hide_original": "<1>برای پنهان کردن اصل اینجا کلیک کنید</1>.",
"loading": "در حال بارگذاری"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "käytä luetteloa",
"show_worksafe_boards_only": "Näytä vain työturvalliset hallit",
"show_all_content": "Näytä kaikki sisällöt",
"link_type": "Linkin tyyppi"
"link_type": "Linkin tyyppi",
"comment_edited_at_timestamp": "Kommentti muokattu {{timestamp}}.",
"reason_reason": "Syy: \"{{reason}}\".",
"click_here_to_show_original": "<1>Klikkaa tästä</1> näyttääksesi alkuperäisen.",
"click_here_to_hide_original": "<1>Klikkaa tästä</1> piilottaaksesi alkuperäisen.",
"loading": "Lataa"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "gamitin ang catalog",
"show_worksafe_boards_only": "Ipakita lamang ang mga Worksafe boards",
"show_all_content": "Ipakita lahat ng nilalaman",
"link_type": "Uri ng Link"
"link_type": "Uri ng Link",
"comment_edited_at_timestamp": "Inedit na komento sa {{timestamp}}.",
"reason_reason": "Dahilan: \"{{reason}}\".",
"click_here_to_show_original": "<1>I-click dito</1> upang ipakita ang orihinal.",
"click_here_to_hide_original": "<1>I-click dito</1> upang itago ang orihinal.",
"loading": "Naglo-load"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "utiliser le catalogue",
"show_worksafe_boards_only": "Afficher uniquement les tableaux Worksafe",
"show_all_content": "Afficher tout le contenu",
"link_type": "Type de lien"
"link_type": "Type de lien",
"comment_edited_at_timestamp": "Commentaire modifié à {{timestamp}}.",
"reason_reason": "Raison: \"{{reason}}\".",
"click_here_to_show_original": "<1>Cliquez ici</1> pour afficher l'original.",
"click_here_to_hide_original": "<1>Cliquez ici</1> pour masquer l'original.",
"loading": "Chargement"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "השתמש בקטלוג",
"show_worksafe_boards_only": "הצג לוחות עבודה בטוחים בלבד",
"show_all_content": "הצג את כל התוכן",
"link_type": "סוג קישור"
"link_type": "סוג קישור",
"comment_edited_at_timestamp": "התגובה עודכנה ב {{timestamp}}.",
"reason_reason": "סיבה: \"{{reason}}\".",
"click_here_to_show_original": "<1>לחץ כאן</1> כדי להציג את המקור.",
"click_here_to_hide_original": "<1>לחץ כאן</1> כדי להסתיר את המקור.",
"loading": "טוען"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "कैटलॉग का उपयोग करें",
"show_worksafe_boards_only": "केवल कामसुरक्षित बोर्ड्स दिखाएं",
"show_all_content": "सभी सामग्री दिखाएं",
"link_type": "लिंक प्रकार"
"link_type": "लिंक प्रकार",
"comment_edited_at_timestamp": "टिप्पणी {{timestamp}} पर संपादित की गई।",
"reason_reason": "कारण: \"{{reason}}\".",
"click_here_to_show_original": "<1>यहां क्लिक करें</1> मूल दिखाने के लिए।",
"click_here_to_hide_original": "<1>यहां क्लिक करें</1> मूल छुपाने के लिए।",
"loading": "लोड हो रहा है"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "használja a katalógust",
"show_worksafe_boards_only": "Csak munkabiztos táblák mutatása",
"show_all_content": "Mutasd az összes tartalmat",
"link_type": "Link típusa"
"link_type": "Link típusa",
"comment_edited_at_timestamp": "Hozzászólás szerkesztve itt: {{timestamp}}.",
"reason_reason": "Ok: \"{{reason}}\".",
"click_here_to_show_original": "<1>Kattints ide</1> az eredeti megjelenítéséhez.",
"click_here_to_hide_original": "<1>Kattints ide</1> az eredeti elrejtéséhez.",
"loading": "Betöltés"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "gunakan katalog",
"show_worksafe_boards_only": "Tampilkan Hanya Board Worksafe",
"show_all_content": "Tampilkan Semua Konten",
"link_type": "Tipe tautan"
"link_type": "Tipe tautan",
"comment_edited_at_timestamp": "Komentar diedit pada {{timestamp}}.",
"reason_reason": "Alasan: \"{{reason}}\".",
"click_here_to_show_original": "<1>Klik di sini</1> untuk menampilkan aslinya.",
"click_here_to_hide_original": "<1>Klik di sini</1> untuk menyembunyikan aslinya.",
"loading": "Memuat"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "usa catalogo",
"show_worksafe_boards_only": "Mostra solo le board Worksafe",
"show_all_content": "Mostra tutti i contenuti",
"link_type": "Tipo di link"
"link_type": "Tipo di link",
"comment_edited_at_timestamp": "Commento modificato il {{timestamp}}.",
"reason_reason": "Motivo: \"{{reason}}\".",
"click_here_to_show_original": "<1>Clicca qui</1> per mostrare l'originale.",
"click_here_to_hide_original": "<1>Clicca qui</1> per nascondere l'originale.",
"loading": "Caricamento"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "カタログを使用する",
"show_worksafe_boards_only": "Worksafeボードのみ表示",
"show_all_content": "すべてのコンテンツを表示",
"link_type": "リンクの種類"
"link_type": "リンクの種類",
"comment_edited_at_timestamp": "コメントは{{timestamp}}に編集されました。",
"reason_reason": "理由: \"{{reason}}\".",
"click_here_to_show_original": "<1>ここをクリック</1> して元の表示。",
"click_here_to_hide_original": "<1>ここをクリック</1> して元を非表示にする。",
"loading": "読み込み中"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "카탈로그 사용",
"show_worksafe_boards_only": "작업 안전 보드만 표시",
"show_all_content": "모든 콘텐츠 보기",
"link_type": "링크 유형"
"link_type": "링크 유형",
"comment_edited_at_timestamp": "댓글 편집 날짜: {{timestamp}}",
"reason_reason": "이유: \"{{reason}}\".",
"click_here_to_show_original": "<1>여기를 클릭</1> 하여 원본 표시.",
"click_here_to_hide_original": "<1>여기를 클릭</1> 하여 원본 숨기기.",
"loading": "로딩 중"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "कॅटलॉग वापरा",
"show_worksafe_boards_only": "केवळ कामसुरक्षित बोर्ड्स दाखवा",
"show_all_content": "सर्व सामग्री दाखवा",
"link_type": "लिंक प्रकार"
"link_type": "लिंक प्रकार",
"comment_edited_at_timestamp": "टिप्पणी {{timestamp}} वर संपादित केली आहे.",
"reason_reason": "कारण: \"{{reason}}\".",
"click_here_to_show_original": "<1>येथे क्लिक करा</1> मूळ पाहण्यासाठी।",
"click_here_to_hide_original": "<1>येथे क्लिक करा</1> मूळ लपविण्यासाठी।",
"loading": "लोड होत आहे"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "gebruik catalogus",
"show_worksafe_boards_only": "Toon alleen Worksafe boards",
"show_all_content": "Toon alle inhoud",
"link_type": "Link type"
"link_type": "Link type",
"comment_edited_at_timestamp": "Reactie bewerkt op {{timestamp}}.",
"reason_reason": "Reden: \"{{reason}}\".",
"click_here_to_show_original": "<1>Klik hier</1> om de originele te tonen.",
"click_here_to_hide_original": "<1>Klik hier</1> om de originele te verbergen.",
"loading": "Laden"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "bruk katalog",
"show_worksafe_boards_only": "Vis kun Worksafe boards",
"show_all_content": "Vis allt innhold",
"link_type": "Lenketype"
"link_type": "Lenketype",
"comment_edited_at_timestamp": "Kommentaren ble redigert på {{timestamp}}.",
"reason_reason": "Årsak: \"{{reason}}\".",
"click_here_to_show_original": "<1>Klikk her</1> for å vise originalen.",
"click_here_to_hide_original": "<1>Klikk her</1> for å skjule originalen.",
"loading": "Laster"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "użyj katalogu",
"show_worksafe_boards_only": "Pokaż tylko bezpieczne tablice",
"show_all_content": "Pokaż całą zawartość",
"link_type": "Typ łącza"
"link_type": "Typ łącza",
"comment_edited_at_timestamp": "Komentarz edytowany o {{timestamp}}.",
"reason_reason": "Powód: \"{{reason}}\".",
"click_here_to_show_original": "<1>Kliknij tutaj</1>, aby pokazać oryginał.",
"click_here_to_hide_original": "<1>Kliknij tutaj</1>, aby ukryć oryginał.",
"loading": "Ładowanie"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "usar catálogo",
"show_worksafe_boards_only": "Mostrar apenas boards Worksafe",
"show_all_content": "Mostrar Todo o Conteúdo",
"link_type": "Tipo de link"
"link_type": "Tipo de link",
"comment_edited_at_timestamp": "Comentário editado em {{timestamp}}.",
"reason_reason": "Razão: \"{{reason}}\".",
"click_here_to_show_original": "<1>Clique aqui</1> para mostrar o original.",
"click_here_to_hide_original": "<1>Clique aqui</1> para ocultar o original.",
"loading": "Carregando"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "folosește catalogul",
"show_worksafe_boards_only": "Afișați doar tablourile Worksafe",
"show_all_content": "Afișați tot conținutul",
"link_type": "Tipul linkului"
"link_type": "Tipul linkului",
"comment_edited_at_timestamp": "Comentariu editat la {{timestamp}}.",
"reason_reason": "Motiv: \"{{reason}}\".",
"click_here_to_show_original": "<1>Click aici</1> pentru a arăta originalul.",
"click_here_to_hide_original": "<1>Click aici</1> pentru a ascunde originalul.",
"loading": "Încărcare"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "использовать каталог",
"show_worksafe_boards_only": "Показывать только безопасные доски",
"show_all_content": "Показать весь контент",
"link_type": "Тип ссылки"
"link_type": "Тип ссылки",
"comment_edited_at_timestamp": "Комментарий изменён {{timestamp}}.",
"reason_reason": "Причина: \"{{reason}}\".",
"click_here_to_show_original": "<1>Нажмите здесь</1> для отображения оригинала.",
"click_here_to_hide_original": "<1>Нажмите здесь</1> чтобы скрыть оригинал.",
"loading": "Загрузка"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "përdor katalogun",
"show_worksafe_boards_only": "Shfaq vetëm taulat e sigurta të punës",
"show_all_content": "Shfaq të gjitha përmbajtjet",
"link_type": "Lloji i lidhjes"
"link_type": "Lloji i lidhjes",
"comment_edited_at_timestamp": "Komenti është ndryshuar në {{timestamp}}.",
"reason_reason": "Arsye: \"{{reason}}\".",
"click_here_to_show_original": "<1>Kliko këtu</1> për të treguar origjinalin.",
"click_here_to_hide_original": "<1>Kliko këtu</1> për të fshehur origjinalin.",
"loading": "Ngarkimi"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "använd katalog",
"show_worksafe_boards_only": "Visa endast Worksafe-styrelser",
"show_all_content": "Visa allt innehåll",
"link_type": "Länktyp"
"link_type": "Länktyp",
"comment_edited_at_timestamp": "Kommentaren redigerades den {{timestamp}}.",
"reason_reason": "Anledning: \"{{reason}}\".",
"click_here_to_show_original": "<1>Klicka här</1> för att visa original.",
"click_here_to_hide_original": "<1>Klicka här</1> för att dölja original.",
"loading": "Laddar"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "కాటలాగ్ ఉపయోగించు",
"show_worksafe_boards_only": "పనిమాడు భద్రపరిచిన బోర్డులను మాత్రమే చూపించు",
"show_all_content": "అన్ని కాంటెంట్ చూపించు",
"link_type": "లింక్ రకం"
"link_type": "లింక్ రకం",
"comment_edited_at_timestamp": "వ్యాఖ్యను {{timestamp}} లో సవరించబడింది.",
"reason_reason": "కారణం: \"{{reason}}\".",
"click_here_to_show_original": "<1>ఇక్కడ క్లిక్ చేయండి</1> అసలు చూపించడానికి.",
"click_here_to_hide_original": "<1>ఇక్కడ క్లిక్ చేయండి</1> అసలు దాచడానికి.",
"loading": "లోడ్ అవుతోంది"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "ใช้แคตตาล็อก",
"show_worksafe_boards_only": "แสดงบอร์ด Worksafe เท่านั้น",
"show_all_content": "แสดงเนื้อหาทั้งหมด",
"link_type": "ประเภทลิงก์"
"link_type": "ประเภทลิงก์",
"comment_edited_at_timestamp": "แก้ไขความคิดเห็นที่ {{timestamp}}",
"reason_reason": "เหตุผล: \"{{reason}}\".",
"click_here_to_show_original": "<1>คลิกที่นี่</1> เพื่อแสดงข้อมูลต้นฉบับ",
"click_here_to_hide_original": "<1>คลิกที่นี่</1> เพื่อซ่อนข้อมูลต้นฉบับ",
"loading": "กำลังโหลด"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "katalog kullan",
"show_worksafe_boards_only": "Sadece Worksafe Panoları Göster",
"show_all_content": "Tüm İçeriği Göster",
"link_type": "Bağlantı türü"
"link_type": "Bağlantı türü",
"comment_edited_at_timestamp": "Yorum {{timestamp}} tarihinde düzenlendi.",
"reason_reason": "Sebep: \"{{reason}}\".",
"click_here_to_show_original": "<1>Buraya tıklayın</1> orijinali göstermek için.",
"click_here_to_hide_original": "<1>Buraya tıklayın</1> orijinali gizlemek için.",
"loading": "Yükleniyor"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "використовуйте каталог",
"show_worksafe_boards_only": "Показувати лише безпечні дошки",
"show_all_content": "Показати весь вміст",
"link_type": "Тип посилання"
"link_type": "Тип посилання",
"comment_edited_at_timestamp": "Коментар було відредаговано {{timestamp}}.",
"reason_reason": "Причина: \"{{reason}}\".",
"click_here_to_show_original": "<1>Натисніть тут</1> для відображення оригіналу.",
"click_here_to_hide_original": "<1>Натисніть тут</1> для приховання оригіналу.",
"loading": "Завантаження"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "استعمال کیٹالوگ",
"show_worksafe_boards_only": "صرف کام سے بچائے گئے بورڈز دکھائیں",
"show_all_content": "تمام مواد دکھائیں",
"link_type": "لنک کی قسم"
"link_type": "لنک کی قسم",
"comment_edited_at_timestamp": "تبدیل کی گئی تبدیلی کا {{timestamp}}۔",
"reason_reason": "وجہ: \"{{reason}}\".",
"click_here_to_show_original": "<1>یہاں کلک کریں</1> تاکہ اصل دکھائی دے۔",
"click_here_to_hide_original": "<1>یہاں کلک کریں</1> تاکہ اصل چھپ جائے۔",
"loading": "لوڈ ہو رہا ہے"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "sử dụng danh mục",
"show_worksafe_boards_only": "Chỉ hiển thị bảng Worksafe",
"show_all_content": "Hiển thị tất cả nội dung",
"link_type": "Loại liên kết"
"link_type": "Loại liên kết",
"comment_edited_at_timestamp": "Bình luận được chỉnh sửa lúc {{timestamp}}.",
"reason_reason": "Lý do: \"{{reason}}\".",
"click_here_to_show_original": "<1>Nhấp vào đây</1> để hiển thị nguyên bản.",
"click_here_to_hide_original": "<1>Nhấp vào đây</1> để ẩn nguyên bản.",
"loading": "Đang tải"
}
+6 -1
View File
@@ -194,5 +194,10 @@
"use_catalog": "使用目录",
"show_worksafe_boards_only": "仅显示安全工作板",
"show_all_content": "显示所有内容",
"link_type": "链接类型"
"link_type": "链接类型",
"comment_edited_at_timestamp": "评论于{{timestamp}}进行了编辑。",
"reason_reason": "原因: \"{{reason}}\".",
"click_here_to_show_original": "<1>点击这里</1> 显示原文。",
"click_here_to_hide_original": "<1>点击这里</1> 隐藏原文。",
"loading": "加载中"
}
+15 -5
View File
@@ -197,11 +197,21 @@ const PostMessage = ({ post }: PostProps) => {
<span className={styles.editedInfo}>
{showOriginal && <Markdown content={original?.content} />}
<br />
Comment edited at {getFormattedDate(edit?.timestamp)}. {reason && 'Reason: "' + reason + '". '}
<span className={styles.showOriginal} onClick={() => setShowOriginal(!showOriginal)}>
Click here
</span>
{showOriginal ? ' to hide the original.' : ' to show the original.'}
{t('comment_edited_at_timestamp', { timestamp: getFormattedDate(edit?.timestamp), interpolation: { escapeValue: false } })}
{reason && <> {t('reason_reason', { reason: reason, interpolation: { escapeValue: false } })}</>}
{showOriginal ? (
<Trans
i18nKey={'click_here_to_hide_original'}
shouldUnescape={true}
components={{ 1: <span className={styles.showOriginal} onClick={() => setShowOriginal(!showOriginal)} /> }}
/>
) : (
<Trans
i18nKey={'click_here_to_show_original'}
shouldUnescape={true}
components={{ 1: <span className={styles.showOriginal} onClick={() => setShowOriginal(!showOriginal)} /> }}
/>
)}
</span>
)}
</>
+15 -5
View File
@@ -154,11 +154,21 @@ const PostMessageMobile = ({ post }: PostProps) => {
<span className={styles.editedInfo}>
{showOriginal && <Markdown content={original?.content} />}
<br />
Comment edited at {getFormattedDate(edit?.timestamp)}. {reason && 'Reason: "' + reason + '". '}
<span className={styles.showOriginal} onClick={() => setShowOriginal(!showOriginal)}>
Click here
</span>
{showOriginal ? ' to hide the original.' : ' to show the original.'}
{t('comment_edited_at_timestamp', { timestamp: getFormattedDate(edit?.timestamp), interpolation: { escapeValue: false } })}
{reason && <> {t('reason_reason', { reason: reason, interpolation: { escapeValue: false } })}</>}
{showOriginal ? (
<Trans
i18nKey={'click_here_to_hide_original'}
shouldUnescape={true}
components={{ 1: <span className={styles.showOriginal} onClick={() => setShowOriginal(!showOriginal)} /> }}
/>
) : (
<Trans
i18nKey={'click_here_to_show_original'}
shouldUnescape={true}
components={{ 1: <span className={styles.showOriginal} onClick={() => setShowOriginal(!showOriginal)} /> }}
/>
)}
</span>
)}
</>