diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index 01658d6a..d94c3256 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "عرض لوحات NSFW فقط", "use_catalog": "استخدام الكتالوج", "show_worksafe_boards_only": "عرض لوحات آمنة للعمل فقط", - "show_all_content": "عرض جميع المحتويات" + "show_all_content": "عرض جميع المحتويات", + "link_type": "نوع الرابط", + "comment_edited_at_timestamp": "تم تحرير التعليق في {{timestamp}}.", + "reason_reason": "السبب: \"{{reason}}\".", + "click_here_to_show_original": "<1>انقر هنا لعرض الأصل.", + "click_here_to_hide_original": "<1>انقر هنا لإخفاء الأصل.", + "loading": "جار التحميل" } \ No newline at end of file diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index 7caf99a7..d2918dcf 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "শুধুমাত্র NSFW বোর্ড দেখান", "use_catalog": "ক্যাটালগ ব্যবহার", "show_worksafe_boards_only": "শুধুমাত্র কাজ-সম্পূর্ণ বোর্ড দেখান", - "show_all_content": "সমস্ত কন্টেন্ট দেখান" + "show_all_content": "সমস্ত কন্টেন্ট দেখান", + "link_type": "লিংক প্রকার", + "comment_edited_at_timestamp": "মন্তব্য সম্পাদনা করা হয়েছে {{timestamp}} তারিখে।", + "reason_reason": "কারণ: \"{{reason}}\".", + "click_here_to_show_original": "<1>এখানে ক্লিক করুন অসল দেখানোর জন্য।", + "click_here_to_hide_original": "<1>এখানে ক্লিক করুন অসল লুকাতে।", + "loading": "লোড হচ্ছে" } \ No newline at end of file diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index db1e80ba..3e997023 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Zobrazit pouze NSFW desky", "use_catalog": "použít katalog", "show_worksafe_boards_only": "Zobrazit pouze bezpečné pracovní desky", - "show_all_content": "Zobrazit veškerý obsah" + "show_all_content": "Zobrazit veškerý obsah", + "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 pro zobrazení původního.", + "click_here_to_hide_original": "Klikněte <1>zde pro skrytí původního.", + "loading": "Načítání" } \ No newline at end of file diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 91b61d49..1aa191bf 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Vis kun NSFW boards", "use_catalog": "brug katalog", "show_worksafe_boards_only": "Vis kun Worksafe boards", - "show_all_content": "Vis alt indhold" + "show_all_content": "Vis alt indhold", + "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 for at vise originalen.", + "click_here_to_hide_original": "<1>Klik her for at skjule originalen.", + "loading": "Indlæser" } \ No newline at end of file diff --git a/public/translations/de/default.json b/public/translations/de/default.json index 10415610..949fae44 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Nur NSFW-Boards anzeigen", "use_catalog": "Benutze Katalog", "show_worksafe_boards_only": "Nur sichere Boards anzeigen", - "show_all_content": "Alle Inhalte anzeigen" + "show_all_content": "Alle Inhalte anzeigen", + "link_type": "Linktyp", + "comment_edited_at_timestamp": "Kommentar bearbeitet am {{timestamp}}.", + "reason_reason": "Grund: \"{{reason}}\".", + "click_here_to_show_original": "<1>Hier klicken, um das Original anzuzeigen.", + "click_here_to_hide_original": "<1>Hier klicken, um das Original zu verstecken.", + "loading": "Laden" } \ No newline at end of file diff --git a/public/translations/el/default.json b/public/translations/el/default.json index 8107774a..d001b6dd 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Εμφάνιση μόνο NSFW πινάκων", "use_catalog": "χρησιμοποίηση καταλόγου", "show_worksafe_boards_only": "Εμφάνιση μόνο ασφαλών πινάκων εργασίας", - "show_all_content": "Εμφάνιση όλων των περιεχομένων" + "show_all_content": "Εμφάνιση όλων των περιεχομένων", + "link_type": "Τύπος συνδέσμου", + "comment_edited_at_timestamp": "Επεξεργασία σχολίου στις {{timestamp}}.", + "reason_reason": "Λόγος: \"{{reason}}\".", + "click_here_to_show_original": "<1>Κάντε κλικ εδώ για να εμφανιστεί το αρχικό.", + "click_here_to_hide_original": "<1>Κάντε κλικ εδώ για να κρύψετε το αρχικό.", + "loading": "Φόρτωση" } \ No newline at end of file diff --git a/public/translations/en/default.json b/public/translations/en/default.json index f607265b..20037068 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Show NSFW Boards Only", "use_catalog": "use catalog", "show_worksafe_boards_only": "Show Worksafe Boards Only", - "show_all_content": "Show All Content" + "show_all_content": "Show All Content", + "link_type": "Link type", + "comment_edited_at_timestamp": "Comment edited at {{timestamp}}.", + "reason_reason": "Reason: \"{{reason}}\".", + "click_here_to_show_original": "<1>Click here to show the original.", + "click_here_to_hide_original": "<1>Click here to hide the original.", + "loading": "Loading" } \ No newline at end of file diff --git a/public/translations/es/default.json b/public/translations/es/default.json index bfcddc4e..df435913 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Mostrar solo tableros NSFW", "use_catalog": "usar catálogo", "show_worksafe_boards_only": "Mostrar solo tableros seguros para el trabajo", - "show_all_content": "Mostrar todo el contenido" + "show_all_content": "Mostrar todo el contenido", + "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í para mostrar el original.", + "click_here_to_hide_original": "<1>Haga clic aquí para ocultar el original.", + "loading": "Cargando" } \ No newline at end of file diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index 287739ca..cdac29f1 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "نمایش تنها بوردهای NSFW", "use_catalog": "استفاده از کاتالوگ", "show_worksafe_boards_only": "نمایش تنها بوردهای ایمن برای کار", - "show_all_content": "نمایش تمام محتوا" + "show_all_content": "نمایش تمام محتوا", + "link_type": "نوع پیوند", + "comment_edited_at_timestamp": "ویرایش نظر در {{timestamp}}.", + "reason_reason": "دلیل: \"{{reason}}\".", + "click_here_to_show_original": "<1>برای نمایش اصلی اینجا کلیک کنید.", + "click_here_to_hide_original": "<1>برای پنهان کردن اصل اینجا کلیک کنید.", + "loading": "در حال بارگذاری" } \ No newline at end of file diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index 4e73e738..9454991b 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Näytä vain NSFW-laudat", "use_catalog": "käytä luetteloa", "show_worksafe_boards_only": "Näytä vain työturvalliset hallit", - "show_all_content": "Näytä kaikki sisällöt" + "show_all_content": "Näytä kaikki sisällöt", + "link_type": "Linkin tyyppi", + "comment_edited_at_timestamp": "Kommentti muokattu {{timestamp}}.", + "reason_reason": "Syy: \"{{reason}}\".", + "click_here_to_show_original": "<1>Klikkaa tästä näyttääksesi alkuperäisen.", + "click_here_to_hide_original": "<1>Klikkaa tästä piilottaaksesi alkuperäisen.", + "loading": "Lataa" } \ No newline at end of file diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index 28dc1e49..4ada3377 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Ipakita lamang ang NSFW na boards", "use_catalog": "gamitin ang catalog", "show_worksafe_boards_only": "Ipakita lamang ang mga Worksafe boards", - "show_all_content": "Ipakita lahat ng nilalaman" + "show_all_content": "Ipakita lahat ng nilalaman", + "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 upang ipakita ang orihinal.", + "click_here_to_hide_original": "<1>I-click dito upang itago ang orihinal.", + "loading": "Naglo-load" } \ No newline at end of file diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index 76e9f117..7b5320ab 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Afficher uniquement les boards NSFW", "use_catalog": "utiliser le catalogue", "show_worksafe_boards_only": "Afficher uniquement les tableaux Worksafe", - "show_all_content": "Afficher tout le contenu" + "show_all_content": "Afficher tout le contenu", + "link_type": "Type de lien", + "comment_edited_at_timestamp": "Commentaire modifié à {{timestamp}}.", + "reason_reason": "Raison: \"{{reason}}\".", + "click_here_to_show_original": "<1>Cliquez ici pour afficher l'original.", + "click_here_to_hide_original": "<1>Cliquez ici pour masquer l'original.", + "loading": "Chargement" } \ No newline at end of file diff --git a/public/translations/he/default.json b/public/translations/he/default.json index 64d08f5a..079ead71 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "הצג רק לוחות NSFW", "use_catalog": "השתמש בקטלוג", "show_worksafe_boards_only": "הצג לוחות עבודה בטוחים בלבד", - "show_all_content": "הצג את כל התוכן" + "show_all_content": "הצג את כל התוכן", + "link_type": "סוג קישור", + "comment_edited_at_timestamp": "התגובה עודכנה ב {{timestamp}}.", + "reason_reason": "סיבה: \"{{reason}}\".", + "click_here_to_show_original": "<1>לחץ כאן כדי להציג את המקור.", + "click_here_to_hide_original": "<1>לחץ כאן כדי להסתיר את המקור.", + "loading": "טוען" } \ No newline at end of file diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index b1937377..8313442f 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "केवल NSFW बोर्ड्स दिखाएं", "use_catalog": "कैटलॉग का उपयोग करें", "show_worksafe_boards_only": "केवल कामसुरक्षित बोर्ड्स दिखाएं", - "show_all_content": "सभी सामग्री दिखाएं" + "show_all_content": "सभी सामग्री दिखाएं", + "link_type": "लिंक प्रकार", + "comment_edited_at_timestamp": "टिप्पणी {{timestamp}} पर संपादित की गई।", + "reason_reason": "कारण: \"{{reason}}\".", + "click_here_to_show_original": "<1>यहां क्लिक करें मूल दिखाने के लिए।", + "click_here_to_hide_original": "<1>यहां क्लिक करें मूल छुपाने के लिए।", + "loading": "लोड हो रहा है" } \ No newline at end of file diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index 8115a529..ca793c3f 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Csak NSFW táblák mutatása", "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" + "show_all_content": "Mutasd az összes tartalmat", + "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 az eredeti megjelenítéséhez.", + "click_here_to_hide_original": "<1>Kattints ide az eredeti elrejtéséhez.", + "loading": "Betöltés" } \ No newline at end of file diff --git a/public/translations/id/default.json b/public/translations/id/default.json index f54cf6a0..1c0d3c4e 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Tampilkan Hanya Board NSFW", "use_catalog": "gunakan katalog", "show_worksafe_boards_only": "Tampilkan Hanya Board Worksafe", - "show_all_content": "Tampilkan Semua Konten" + "show_all_content": "Tampilkan Semua Konten", + "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 untuk menampilkan aslinya.", + "click_here_to_hide_original": "<1>Klik di sini untuk menyembunyikan aslinya.", + "loading": "Memuat" } \ No newline at end of file diff --git a/public/translations/it/default.json b/public/translations/it/default.json index 976b33ae..3036881d 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Mostra solo le board NSFW", "use_catalog": "usa catalogo", "show_worksafe_boards_only": "Mostra solo le board Worksafe", - "show_all_content": "Mostra tutti i contenuti" + "show_all_content": "Mostra tutti i contenuti", + "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 per mostrare l'originale.", + "click_here_to_hide_original": "<1>Clicca qui per nascondere l'originale.", + "loading": "Caricamento" } \ No newline at end of file diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index e4473623..5320f67d 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "NSFWボードのみ表示", "use_catalog": "カタログを使用する", "show_worksafe_boards_only": "Worksafeボードのみ表示", - "show_all_content": "すべてのコンテンツを表示" + "show_all_content": "すべてのコンテンツを表示", + "link_type": "リンクの種類", + "comment_edited_at_timestamp": "コメントは{{timestamp}}に編集されました。", + "reason_reason": "理由: \"{{reason}}\".", + "click_here_to_show_original": "<1>ここをクリック して元の表示。", + "click_here_to_hide_original": "<1>ここをクリック して元を非表示にする。", + "loading": "読み込み中" } \ No newline at end of file diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index efac5551..2e3dd7ae 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "NSFW 보드만 표시", "use_catalog": "카탈로그 사용", "show_worksafe_boards_only": "작업 안전 보드만 표시", - "show_all_content": "모든 콘텐츠 보기" + "show_all_content": "모든 콘텐츠 보기", + "link_type": "링크 유형", + "comment_edited_at_timestamp": "댓글 편집 날짜: {{timestamp}}", + "reason_reason": "이유: \"{{reason}}\".", + "click_here_to_show_original": "<1>여기를 클릭 하여 원본 표시.", + "click_here_to_hide_original": "<1>여기를 클릭 하여 원본 숨기기.", + "loading": "로딩 중" } \ No newline at end of file diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index 587a8adf..076fa2fb 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "केवळ NSFW बोर्ड्स दाखवा", "use_catalog": "कॅटलॉग वापरा", "show_worksafe_boards_only": "केवळ कामसुरक्षित बोर्ड्स दाखवा", - "show_all_content": "सर्व सामग्री दाखवा" + "show_all_content": "सर्व सामग्री दाखवा", + "link_type": "लिंक प्रकार", + "comment_edited_at_timestamp": "टिप्पणी {{timestamp}} वर संपादित केली आहे.", + "reason_reason": "कारण: \"{{reason}}\".", + "click_here_to_show_original": "<1>येथे क्लिक करा मूळ पाहण्यासाठी।", + "click_here_to_hide_original": "<1>येथे क्लिक करा मूळ लपविण्यासाठी।", + "loading": "लोड होत आहे" } \ No newline at end of file diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index 904c3309..1ee2efda 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Toon alleen NSFW boards", "use_catalog": "gebruik catalogus", "show_worksafe_boards_only": "Toon alleen Worksafe boards", - "show_all_content": "Toon alle inhoud" + "show_all_content": "Toon alle inhoud", + "link_type": "Link type", + "comment_edited_at_timestamp": "Reactie bewerkt op {{timestamp}}.", + "reason_reason": "Reden: \"{{reason}}\".", + "click_here_to_show_original": "<1>Klik hier om de originele te tonen.", + "click_here_to_hide_original": "<1>Klik hier om de originele te verbergen.", + "loading": "Laden" } \ No newline at end of file diff --git a/public/translations/no/default.json b/public/translations/no/default.json index fa5ccee0..12e3316c 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Vis kun NSFW boards", "use_catalog": "bruk katalog", "show_worksafe_boards_only": "Vis kun Worksafe boards", - "show_all_content": "Vis allt innhold" + "show_all_content": "Vis allt innhold", + "link_type": "Lenketype", + "comment_edited_at_timestamp": "Kommentaren ble redigert på {{timestamp}}.", + "reason_reason": "Årsak: \"{{reason}}\".", + "click_here_to_show_original": "<1>Klikk her for å vise originalen.", + "click_here_to_hide_original": "<1>Klikk her for å skjule originalen.", + "loading": "Laster" } \ No newline at end of file diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 30cc417d..f71b8e93 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Pokaż tylko tablice NSFW", "use_catalog": "użyj katalogu", "show_worksafe_boards_only": "Pokaż tylko bezpieczne tablice", - "show_all_content": "Pokaż całą zawartość" + "show_all_content": "Pokaż całą zawartość", + "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, aby pokazać oryginał.", + "click_here_to_hide_original": "<1>Kliknij tutaj, aby ukryć oryginał.", + "loading": "Ładowanie" } \ No newline at end of file diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index ed5384c7..424ebb93 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Mostrar apenas boards NSFW", "use_catalog": "usar catálogo", "show_worksafe_boards_only": "Mostrar apenas boards Worksafe", - "show_all_content": "Mostrar Todo o Conteúdo" + "show_all_content": "Mostrar Todo o Conteúdo", + "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 para mostrar o original.", + "click_here_to_hide_original": "<1>Clique aqui para ocultar o original.", + "loading": "Carregando" } \ No newline at end of file diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index 25825228..c2c0f442 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Afișați doar tablourile NSFW", "use_catalog": "folosește catalogul", "show_worksafe_boards_only": "Afișați doar tablourile Worksafe", - "show_all_content": "Afișați tot conținutul" + "show_all_content": "Afișați tot conținutul", + "link_type": "Tipul linkului", + "comment_edited_at_timestamp": "Comentariu editat la {{timestamp}}.", + "reason_reason": "Motiv: \"{{reason}}\".", + "click_here_to_show_original": "<1>Click aici pentru a arăta originalul.", + "click_here_to_hide_original": "<1>Click aici pentru a ascunde originalul.", + "loading": "Încărcare" } \ No newline at end of file diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index 9a36865e..e36972bb 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Показывать только NSFW доски", "use_catalog": "использовать каталог", "show_worksafe_boards_only": "Показывать только безопасные доски", - "show_all_content": "Показать весь контент" + "show_all_content": "Показать весь контент", + "link_type": "Тип ссылки", + "comment_edited_at_timestamp": "Комментарий изменён {{timestamp}}.", + "reason_reason": "Причина: \"{{reason}}\".", + "click_here_to_show_original": "<1>Нажмите здесь для отображения оригинала.", + "click_here_to_hide_original": "<1>Нажмите здесь чтобы скрыть оригинал.", + "loading": "Загрузка" } \ No newline at end of file diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index 994e925f..66830a3d 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Shfaq vetëm taulat NSFW", "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" + "show_all_content": "Shfaq të gjitha përmbajtjet", + "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 për të treguar origjinalin.", + "click_here_to_hide_original": "<1>Kliko këtu për të fshehur origjinalin.", + "loading": "Ngarkimi" } \ No newline at end of file diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index 65ec292b..e375d452 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Visa endast NSFW-styrelser", "use_catalog": "använd katalog", "show_worksafe_boards_only": "Visa endast Worksafe-styrelser", - "show_all_content": "Visa allt innehåll" + "show_all_content": "Visa allt innehåll", + "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 för att visa original.", + "click_here_to_hide_original": "<1>Klicka här för att dölja original.", + "loading": "Laddar" } \ No newline at end of file diff --git a/public/translations/te/default.json b/public/translations/te/default.json index d9ae8516..03981811 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "పనిమాడు బోర్డులను మాత్రమే చూపించు", "use_catalog": "కాటలాగ్ ఉపయోగించు", "show_worksafe_boards_only": "పనిమాడు భద్రపరిచిన బోర్డులను మాత్రమే చూపించు", - "show_all_content": "అన్ని కాంటెంట్ చూపించు" + "show_all_content": "అన్ని కాంటెంట్ చూపించు", + "link_type": "లింక్ రకం", + "comment_edited_at_timestamp": "వ్యాఖ్యను {{timestamp}} లో సవరించబడింది.", + "reason_reason": "కారణం: \"{{reason}}\".", + "click_here_to_show_original": "<1>ఇక్కడ క్లిక్ చేయండి అసలు చూపించడానికి.", + "click_here_to_hide_original": "<1>ఇక్కడ క్లిక్ చేయండి అసలు దాచడానికి.", + "loading": "లోడ్ అవుతోంది" } \ No newline at end of file diff --git a/public/translations/th/default.json b/public/translations/th/default.json index f3c07b41..a1427646 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "แสดงบอร์ด NSFW เท่านั้น", "use_catalog": "ใช้แคตตาล็อก", "show_worksafe_boards_only": "แสดงบอร์ด Worksafe เท่านั้น", - "show_all_content": "แสดงเนื้อหาทั้งหมด" + "show_all_content": "แสดงเนื้อหาทั้งหมด", + "link_type": "ประเภทลิงก์", + "comment_edited_at_timestamp": "แก้ไขความคิดเห็นที่ {{timestamp}}", + "reason_reason": "เหตุผล: \"{{reason}}\".", + "click_here_to_show_original": "<1>คลิกที่นี่ เพื่อแสดงข้อมูลต้นฉบับ", + "click_here_to_hide_original": "<1>คลิกที่นี่ เพื่อซ่อนข้อมูลต้นฉบับ", + "loading": "กำลังโหลด" } \ No newline at end of file diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index ad1ee355..b65333c4 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Sadece NSFW Panoları Göster", "use_catalog": "katalog kullan", "show_worksafe_boards_only": "Sadece Worksafe Panoları Göster", - "show_all_content": "Tüm İçeriği Göster" + "show_all_content": "Tüm İçeriği Göster", + "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 orijinali göstermek için.", + "click_here_to_hide_original": "<1>Buraya tıklayın orijinali gizlemek için.", + "loading": "Yükleniyor" } \ No newline at end of file diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index 7c3b1f90..65358007 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Показувати лише NSFW дошки", "use_catalog": "використовуйте каталог", "show_worksafe_boards_only": "Показувати лише безпечні дошки", - "show_all_content": "Показати весь вміст" + "show_all_content": "Показати весь вміст", + "link_type": "Тип посилання", + "comment_edited_at_timestamp": "Коментар було відредаговано {{timestamp}}.", + "reason_reason": "Причина: \"{{reason}}\".", + "click_here_to_show_original": "<1>Натисніть тут для відображення оригіналу.", + "click_here_to_hide_original": "<1>Натисніть тут для приховання оригіналу.", + "loading": "Завантаження" } \ No newline at end of file diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index f3bed83c..0934c423 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "صرف NSFW بورڈز دکھائیں", "use_catalog": "استعمال کیٹالوگ", "show_worksafe_boards_only": "صرف کام سے بچائے گئے بورڈز دکھائیں", - "show_all_content": "تمام مواد دکھائیں" + "show_all_content": "تمام مواد دکھائیں", + "link_type": "لنک کی قسم", + "comment_edited_at_timestamp": "تبدیل کی گئی تبدیلی کا {{timestamp}}۔", + "reason_reason": "وجہ: \"{{reason}}\".", + "click_here_to_show_original": "<1>یہاں کلک کریں تاکہ اصل دکھائی دے۔", + "click_here_to_hide_original": "<1>یہاں کلک کریں تاکہ اصل چھپ جائے۔", + "loading": "لوڈ ہو رہا ہے" } \ No newline at end of file diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index 184e84b8..626ef549 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "Chỉ hiển thị bảng NSFW", "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" + "show_all_content": "Hiển thị tất cả nội dung", + "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 để hiển thị nguyên bản.", + "click_here_to_hide_original": "<1>Nhấp vào đây để ẩn nguyên bản.", + "loading": "Đang tải" } \ No newline at end of file diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index 346ee792..758dcaa3 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -193,5 +193,11 @@ "show_nsfw_boards_only": "仅显示NSFW板块", "use_catalog": "使用目录", "show_worksafe_boards_only": "仅显示安全工作板", - "show_all_content": "显示所有内容" + "show_all_content": "显示所有内容", + "link_type": "链接类型", + "comment_edited_at_timestamp": "评论于{{timestamp}}进行了编辑。", + "reason_reason": "原因: \"{{reason}}\".", + "click_here_to_show_original": "<1>点击这里 显示原文。", + "click_here_to_hide_original": "<1>点击这里 隐藏原文。", + "loading": "加载中" } \ No newline at end of file diff --git a/src/components/comment-media/comment-media.tsx b/src/components/comment-media/comment-media.tsx index a21ad044..fdc48e74 100644 --- a/src/components/comment-media/comment-media.tsx +++ b/src/components/comment-media/comment-media.tsx @@ -151,7 +151,7 @@ const CommentMedia = ({ commentMediaInfo, isFloatingEmbed, post, showThumbnail, {url && } - {isMobile && type &&
{`${post?.spoiler && `${t('spoiler')} - `} ${getDisplayMediaInfoType(type, t)}`}
} + {isMobile && type &&
{`${post?.spoiler ? `${t('spoiler')} - ` : ''} ${getDisplayMediaInfoType(type, t)}`}
}
{!showThumbnail && }
diff --git a/src/components/edit-menu/edit-menu.module.css b/src/components/edit-menu/edit-menu.module.css index 660a0176..2c7acfdc 100644 --- a/src/components/edit-menu/edit-menu.module.css +++ b/src/components/edit-menu/edit-menu.module.css @@ -90,11 +90,8 @@ @media (max-width: 640px) { .checkbox { + padding-top: 0; padding-left: 0; padding-bottom: 0; } - - .replyCheckbox { - padding-top: 0; - } } \ No newline at end of file diff --git a/src/components/post-desktop/post-desktop.tsx b/src/components/post-desktop/post-desktop.tsx index d4fdcaff..43f14bc4 100644 --- a/src/components/post-desktop/post-desktop.tsx +++ b/src/components/post-desktop/post-desktop.tsx @@ -78,7 +78,7 @@ const PostInfo = ({ openReplyModal, post, roles, isHidden }: PostProps) => { {!cid ? ( {state === 'failed' || stateString === 'Failed' ? 'Failed' : 'Pending'} ) : ( - openReplyModal && openReplyModal(cid)}> + openReplyModal && openReplyModal(cid)}> {shortCid} )} @@ -197,11 +197,21 @@ const PostMessage = ({ post }: PostProps) => { {showOriginal && }
- (Edited at {getFormattedDate(edit?.timestamp)},{' '} - setShowOriginal(!showOriginal)}> - {showOriginal ? 'hide original' : 'show original'} - - ) + {t('comment_edited_at_timestamp', { timestamp: getFormattedDate(edit?.timestamp), interpolation: { escapeValue: false } })}{' '} + {reason && <>{t('reason_reason', { reason: reason, interpolation: { escapeValue: false } })} } + {showOriginal ? ( + setShowOriginal(!showOriginal)} /> }} + /> + ) : ( + setShowOriginal(!showOriginal)} /> }} + /> + )}
)} diff --git a/src/components/post-mobile/post-mobile.tsx b/src/components/post-mobile/post-mobile.tsx index 49af16ad..215b8929 100644 --- a/src/components/post-mobile/post-mobile.tsx +++ b/src/components/post-mobile/post-mobile.tsx @@ -89,7 +89,7 @@ const PostInfoAndMedia = ({ openReplyModal, post, roles }: PostProps) => { {!cid ? ( {state === 'failed' || stateString === 'Failed' ? 'Failed' : 'Pending'} ) : ( - openReplyModal && openReplyModal(cid)}> + openReplyModal && openReplyModal(cid)}> {shortCid} )} @@ -154,11 +154,21 @@ const PostMessageMobile = ({ post }: PostProps) => { {showOriginal && }
- (Edited at {getFormattedDate(edit?.timestamp)},{' '} - setShowOriginal(!showOriginal)}> - {showOriginal ? 'hide original' : 'show original'} - - ) + {t('comment_edited_at_timestamp', { timestamp: getFormattedDate(edit?.timestamp), interpolation: { escapeValue: false } })}{' '} + {reason && <>{t('reason_reason', { reason: reason, interpolation: { escapeValue: false } })} } + {showOriginal ? ( + setShowOriginal(!showOriginal)} /> }} + /> + ) : ( + setShowOriginal(!showOriginal)} /> }} + /> + )}
)} diff --git a/src/components/reply-modal/reply-modal.module.css b/src/components/reply-modal/reply-modal.module.css index ada47ed3..8daaf256 100644 --- a/src/components/reply-modal/reply-modal.module.css +++ b/src/components/reply-modal/reply-modal.module.css @@ -62,7 +62,6 @@ .content textarea { vertical-align: top; - padding-top: 18px; } .footer button { @@ -81,14 +80,9 @@ padding-top: 2px; } -.parentCid { - color: var(--post-form-field-input-color); - position: absolute; - width: auto; - background-color: var(--post-form-field-input-background-color, white); - padding: 2px; - left: 1px; - top: 1px; +.publishButton { + width: 75px; + filter: var(--filter80) } .offlineBoard { diff --git a/src/components/reply-modal/reply-modal.tsx b/src/components/reply-modal/reply-modal.tsx index 7884a7c1..b4a1a440 100644 --- a/src/components/reply-modal/reply-modal.tsx +++ b/src/components/reply-modal/reply-modal.tsx @@ -7,6 +7,7 @@ import Plebbit from '@plebbit/plebbit-js/dist/browser/index.js'; import { getFormattedTimeAgo } from '../../lib/utils/time-utils'; import { isValidURL } from '../../lib/utils/url-utils'; import { isAllView, isSubscriptionsView } from '../../lib/utils/view-utils'; +import useSelectedTextStore from '../../stores/use-selected-text-store'; import useReply from '../../hooks/use-reply'; import useIsMobile from '../../hooks/use-is-mobile'; import styles from './reply-modal.module.css'; @@ -22,15 +23,13 @@ interface ReplyModalProps { const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => { const { t } = useTranslation(); const { subplebbitAddress } = useParams() as { subplebbitAddress: string }; - const { setContent, resetContent, replyIndex, publishReply } = useReply({ cid: parentCid, subplebbitAddress }); - + const { setContent, publishReply } = useReply({ cid: parentCid, subplebbitAddress }); const account = useAccount(); const { displayName } = account?.author || {}; - const [url, setUrl] = useState(''); - - const textRef = useRef(null); + const textRef = useRef(null); const urlRef = useRef(null); + const { selectedText } = useSelectedTextStore(); const onPublishReply = () => { const currentContent = textRef.current?.value || ''; @@ -46,15 +45,9 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => { return; } publishReply(); + closeModal(); }; - useEffect(() => { - if (typeof replyIndex === 'number') { - closeModal(); - resetContent(); - } - }, [replyIndex, resetContent, closeModal]); - const nodeRef = useRef(null); const isMobile = useIsMobile(); @@ -89,6 +82,32 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => { ) : `The subplebbit might be offline and publishing might fail.`; + const setTextRef = (ref: HTMLTextAreaElement | null) => { + if (ref) { + textRef.current = ref; + !isMobile && ref.focus(); + const len = ref.value.length; + ref.setSelectionRange(len, len); + } + }; + + const contentPrefix = `c/${parentCid && Plebbit.getShortCid(parentCid)}\n`; + + const handleContentInput = (e: React.ChangeEvent) => { + const { value } = e.target; + if (!value.startsWith(contentPrefix)) { + e.target.value = contentPrefix + value.slice(contentPrefix.length); + } + }; + + const handleContentChange = (e: React.ChangeEvent) => { + // remove the prefix from the content to publish, and also add newlines for markdown + const contentWithoutPrefix = e.target.value.slice(contentPrefix.length).replace(/\n/g, '\n\n'); + if (textRef.current && textRef.current.value !== contentWithoutPrefix) { + setContent.content(contentWithoutPrefix); + } + }; + const modalContent = (
@@ -123,19 +142,15 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => { />
- - {`c/${parentCid && Plebbit.getShortCid(parentCid)}`} -