chore(translations): rules, welcome to board, comment too long, replies omitted, replies and links omitted

This commit is contained in:
plebeius.eth
2024-04-28 22:05:06 +02:00
parent 20fe683e5b
commit 72f15c3566
38 changed files with 236 additions and 50 deletions
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "فيديو",
"audio": "صوت",
"webpage": "صفحة ويب",
"iframe": "إطار"
"iframe": "إطار",
"rules": "القواعد",
"welcome_to_board": "مرحبًا بك في {{board}}",
"comment_too_long": "التعليق طويل جدًا. <1>اضغط هنا</1> لعرض النص الكامل.",
"replies_omitted": "{{repliesCount}} ردود محذوفة. <1>اضغط هنا</1> لعرضها.",
"replies_and_links_omitted": "{{repliesCount}} ردود و{{linksCount}} روابط محذوفة. <1>اضغط هنا</1> لعرضها."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "ভিডিও",
"audio": "অডিও",
"webpage": "ওয়েবপেজ",
"iframe": "আইফ্রেম"
"iframe": "আইফ্রেম",
"rules": "নিয়ম",
"welcome_to_board": "স্বাগতম {{board}}",
"comment_too_long": "মন্তব্য খুব দীর্ঘ। <1>পূর্ণ পাঠ্য দেখতে এখানে ক্লিক করুন</1>।",
"replies_omitted": "{{repliesCount}}টি উত্তর বাদ দেওয়া হয়েছে। <1>দেখতে এখানে ক্লিক করুন</1>।",
"replies_and_links_omitted": "{{repliesCount}}টি উত্তর এবং {{linksCount}}টি লিঙ্ক বাদ দেওয়া হয়েছে। <1>দেখতে এখানে ক্লিক করুন</1>।"
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "webová stránka",
"iframe": "iframe"
"iframe": "iframe",
"rules": "pravidla",
"welcome_to_board": "Vítejte na {{board}}",
"comment_too_long": "Komentář je příliš dlouhý. <1>Klikněte zde</1> pro zobrazení celého textu.",
"replies_omitted": "{{repliesCount}} odpovědí vynecháno. <1>Klikněte zde</1> pro zobrazení.",
"replies_and_links_omitted": "{{repliesCount}} odpovědí a {{linksCount}} odkazů vynecháno. <1>Klikněte zde</1> pro zobrazení."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "lyd",
"webpage": "websted",
"iframe": "iframe"
"iframe": "iframe",
"rules": "regler",
"welcome_to_board": "Velkommen til {{board}}",
"comment_too_long": "Kommentaren er for lang. <1>Klik her</1> for at se hele teksten.",
"replies_omitted": "{{repliesCount}} svar udeladt. <1>Klik her</1> for at se dem.",
"replies_and_links_omitted": "{{repliesCount}} svar og {{linksCount}} links udeladt. <1>Klik her</1> for at se dem."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "Video",
"audio": "Audio",
"webpage": "Webseite",
"iframe": "iframe"
"iframe": "iframe",
"rules": "Regeln",
"welcome_to_board": "Willkommen bei {{board}}",
"comment_too_long": "Kommentar zu lang. <1>Klicken Sie hier</1>, um den vollständigen Text anzuzeigen.",
"replies_omitted": "{{repliesCount}} Antworten ausgelassen. <1>Klicken Sie hier</1>, um sie anzuzeigen.",
"replies_and_links_omitted": "{{repliesCount}} Antworten und {{linksCount}} Links ausgelassen. <1>Klicken Sie hier</1>, um sie anzuzeigen."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "βίντεο",
"audio": "ήχος",
"webpage": "ιστοσελίδα",
"iframe": "πλαίσιο"
"iframe": "πλαίσιο",
"rules": "κανόνες",
"welcome_to_board": "Καλώς ήρθατε στο {{board}}",
"comment_too_long": "Το σχόλιο είναι πολύ μακροσκελές. <1>Κάντε κλικ εδώ</1> για να δείτε το πλήρες κείμενο.",
"replies_omitted": "{{repliesCount}} απαντήσεις παραλείφθηκαν. <1>Κάντε κλικ εδώ</1> για να τις δείτε.",
"replies_and_links_omitted": "{{repliesCount}} απαντήσεις και {{linksCount}} σύνδεσμοι παραλείφθηκαν. <1>Κάντε κλικ εδώ</1> για να τις δείτε."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "webpage",
"iframe": "iframe"
"iframe": "iframe",
"rules": "rules",
"welcome_to_board": "Welcome to {{board}}",
"comment_too_long": "Comment too long. <1>Click here</1> to view the full text.",
"replies_omitted": "{{repliesCount}} replies omitted. <1>Click here</1> to view.",
"replies_and_links_omitted": "{{repliesCount}} replies and {{linksCount}} links omitted. <1>Click here</1> to view."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "página web",
"iframe": "iframe"
"iframe": "iframe",
"rules": "reglas",
"welcome_to_board": "Bienvenido a {{board}}",
"comment_too_long": "Comentario demasiado largo. <1>Haz clic aquí</1> para ver el texto completo.",
"replies_omitted": "{{repliesCount}} respuestas omitidas. <1>Haz clic aquí</1> para verlas.",
"replies_and_links_omitted": "{{repliesCount}} respuestas y {{linksCount}} enlaces omitidos. <1>Haz clic aquí</1> para verlos."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "ویدیو",
"audio": "صدا",
"webpage": "صفحه وب",
"iframe": "فریم"
"iframe": "فریم",
"rules": "قوانین",
"welcome_to_board": "خوش آمدید به {{board}}",
"comment_too_long": "نظر بسیار طولانی است. <1>اینجا کلیک کنید</1> تا متن کامل را ببینید.",
"replies_omitted": "{{repliesCount}} پاسخ حذف شده است. <1>اینجا کلیک کنید</1> تا آنها را مشاهده کنید.",
"replies_and_links_omitted": "{{repliesCount}} پاسخ و {{linksCount}} لینک حذف شده است. <1>اینجا کلیک کنید</1> تا آنها را مشاهده کنید."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "verkkosivu",
"iframe": "iframe"
"iframe": "iframe",
"rules": "säännöt",
"welcome_to_board": "Tervetuloa {{board}}",
"comment_too_long": "Kommentti on liian pitkä. <1>Napsauta tästä</1> nähdäksesi koko tekstin.",
"replies_omitted": "{{repliesCount}} vastausta jätetty pois. <1>Napsauta tästä</1> nähdäksesi ne.",
"replies_and_links_omitted": "{{repliesCount}} vastausta ja {{linksCount}} linkkiä jätetty pois. <1>Napsauta tästä</1> nähdäksesi ne."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "pahinahon",
"iframe": "iframe"
"iframe": "iframe",
"rules": "mga patakaran",
"welcome_to_board": "Maligayang pagdating sa {{board}}",
"comment_too_long": "Masyadong mahaba ang komento. <1>I-click dito</1> upang makita ang buong teksto.",
"replies_omitted": "{{repliesCount}} mga tugon ang hindi ipinakita. <1>I-click dito</1> upang makita.",
"replies_and_links_omitted": "{{repliesCount}} mga tugon at {{linksCount}} mga link ang hindi ipinakita. <1>I-click dito</1> upang makita."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "vidéo",
"audio": "audio",
"webpage": "page web",
"iframe": "iframe"
"iframe": "iframe",
"rules": "règles",
"welcome_to_board": "Bienvenue sur {{board}}",
"comment_too_long": "Commentaire trop long. <1>Cliquez ici</1> pour voir le texte complet.",
"replies_omitted": "{{repliesCount}} réponses omises. <1>Cliquez ici</1> pour les afficher.",
"replies_and_links_omitted": "{{repliesCount}} réponses et {{linksCount}} liens omis. <1>Cliquez ici</1> pour les afficher."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "וידאו",
"audio": "שמע",
"webpage": "דף אינטרנט",
"iframe": "מסגרת"
"iframe": "מסגרת",
"rules": "חוקים",
"welcome_to_board": "ברוך הבא ל{{board}}",
"comment_too_long": "התגובה ארוכה מדי. <1>לחץ כאן</1> כדי לראות את הטקסט המלא.",
"replies_omitted": "{{repliesCount}} תגובות נשמטו. <1>לחץ כאן</1> לצפייה.",
"replies_and_links_omitted": "{{repliesCount}} תגובות ו{{linksCount}} קישורים נשמטו. <1>לחץ כאן</1> לצפייה."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "वीडियो",
"audio": "ऑडियो",
"webpage": "वेबपेज",
"iframe": "आइफ्रेम"
"iframe": "आइफ्रेम",
"rules": "नियम",
"welcome_to_board": "{{board}} में आपका स्वागत है",
"comment_too_long": "टिप्पणी बहुत लंबी है। <1>पूरा टेक्स्ट देखने के लिए यहां क्लिक करें</1>।",
"replies_omitted": "{{repliesCount}} उत्तर छोड़े गए हैं। <1>देखने के लिए यहां क्लिक करें</1>।",
"replies_and_links_omitted": "{{repliesCount}} उत्तर और {{linksCount}} लिंक छोड़े गए हैं। <1>देखने के लिए यहां क्लिक करें</1>।"
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "videó",
"audio": "hang",
"webpage": "weboldal",
"iframe": "iframe"
"iframe": "iframe",
"rules": "szabályok",
"welcome_to_board": "Üdvözöljük a(z) {{board}} oldalon",
"comment_too_long": "A megjegyzés túl hosszú. <1>Kattintson ide</1> a teljes szöveg megtekintéséhez.",
"replies_omitted": "{{repliesCount}} válasz kihagyva. <1>Kattintson ide</1> a megtekintéshez.",
"replies_and_links_omitted": "{{repliesCount}} válasz és {{linksCount}} link kihagyva. <1>Kattintson ide</1> a megtekintéshez."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "halaman web",
"iframe": "iframe"
"iframe": "iframe",
"rules": "aturan",
"welcome_to_board": "Selamat datang di {{board}}",
"comment_too_long": "Komentar terlalu panjang. <1>Klik di sini</1> untuk melihat teks lengkap.",
"replies_omitted": "{{repliesCount}} balasan dihilangkan. <1>Klik di sini</1> untuk melihat.",
"replies_and_links_omitted": "{{repliesCount}} balasan dan {{linksCount}} tautan dihilangkan. <1>Klik di sini</1> untuk melihat."
}
+7 -2
View File
@@ -12,7 +12,7 @@
"whitepaper": "Libro bianco",
"token": "Token",
"download_app": "Scarica app",
"start_new_thread": "Inizia un Nuovo Thread",
"start_new_thread": "Invia un Nuovo Thread",
"show_stats": "Mostra Statistiche",
"hide": "Nascondi",
"board_stats_hour": "Nell'ultima ora, <1>{{userCount}}</1> utenti hanno inviato <1>{{postCount}}</1> post",
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "pagina web",
"iframe": "iframe"
"iframe": "iframe",
"rules": "regole",
"welcome_to_board": "Benvenuti su {{board}}",
"comment_too_long": "Commento troppo lungo. <1>Clicca qui</1> per vedere il testo completo.",
"replies_omitted": "{{repliesCount}} risposte omesse. <1>Clicca qui</1> per visualizzare.",
"replies_and_links_omitted": "{{repliesCount}} risposte e {{linksCount}} link omessi. <1>Clicca qui</1> per visualizzare."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "ビデオ",
"audio": "音声",
"webpage": "ウェブページ",
"iframe": "アイフレーム"
"iframe": "アイフレーム",
"rules": "ルール",
"welcome_to_board": "{{board}}へようこそ",
"comment_too_long": "コメントが長すぎます。 <1>ここをクリック</1>して全文を表示。",
"replies_omitted": "{{repliesCount}}件の返信が省略されました。 <1>ここをクリック</1>して表示。",
"replies_and_links_omitted": "{{repliesCount}}件の返信と{{linksCount}}件のリンクが省略されました。 <1>ここをクリック</1>して表示。"
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "비디오",
"audio": "오디오",
"webpage": "웹 페이지",
"iframe": "iframe"
"iframe": "iframe",
"rules": "규칙",
"welcome_to_board": "{{board}}에 오신 것을 환영합니다",
"comment_too_long": "댓글이 너무 깁니다. <1>여기를 클릭하십시오</1> 전체 텍스트를 보려면.",
"replies_omitted": "{{repliesCount}}개의 답글이 생략되었습니다. <1>여기를 클릭하십시오</1> 보려면.",
"replies_and_links_omitted": "{{repliesCount}}개의 답글과 {{linksCount}}개의 링크가 생략되었습니다. <1>여기를 클릭하십시오</1> 보려면."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "व्हिडिओ",
"audio": "ऑडिओ",
"webpage": "वेबपेज",
"iframe": "आयफ्रेम"
"iframe": "आयफ्रेम",
"rules": "नियम",
"welcome_to_board": "{{board}} वर आपले स्वागत आहे",
"comment_too_long": "टिप्पणी खूप लांब आहे. <1>पूर्ण मजकूर पाहण्यासाठी येथे क्लिक करा</1>.",
"replies_omitted": "{{repliesCount}} प्रतिसाद वगळले गेले आहेत. <1>पाहण्यासाठी येथे क्लिक करा</1>.",
"replies_and_links_omitted": "{{repliesCount}} प्रतिसाद आणि {{linksCount}} दुवे वगळले गेले आहेत. <1>पाहण्यासाठी येथे क्लिक करा</1>."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "webpagina",
"iframe": "iframe"
"iframe": "iframe",
"rules": "regels",
"welcome_to_board": "Welkom bij {{board}}",
"comment_too_long": "Reactie te lang. <1>Klik hier</1> om de volledige tekst te bekijken.",
"replies_omitted": "{{repliesCount}} reacties weggelaten. <1>Klik hier</1> om ze te bekijken.",
"replies_and_links_omitted": "{{repliesCount}} reacties en {{linksCount}} links weggelaten. <1>Klik hier</1> om ze te bekijken."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "lyd",
"webpage": "nettside",
"iframe": "iframe"
"iframe": "iframe",
"rules": "regler",
"welcome_to_board": "Velkommen til {{board}}",
"comment_too_long": "Kommentaren er for lang. <1>Klikk her</1> for å se hele teksten.",
"replies_omitted": "{{repliesCount}} svar utelatt. <1>Klikk her</1> for å se dem.",
"replies_and_links_omitted": "{{repliesCount}} svar og {{linksCount}} lenker utelatt. <1>Klikk her</1> for å se dem."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "wideo",
"audio": "audio",
"webpage": "strona internetowa",
"iframe": "iframe"
"iframe": "iframe",
"rules": "zasady",
"welcome_to_board": "Witaj na {{board}}",
"comment_too_long": "Komentarz jest za długi. <1>Kliknij tutaj</1>, aby zobaczyć pełny tekst.",
"replies_omitted": "Pominięto {{repliesCount}} odpowiedzi. <1>Kliknij tutaj</1>, aby je zobaczyć.",
"replies_and_links_omitted": "Pominięto {{repliesCount}} odpowiedzi i {{linksCount}} linków. <1>Kliknij tutaj</1>, aby je zobaczyć."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "vídeo",
"audio": "áudio",
"webpage": "página da web",
"iframe": "iframe"
"iframe": "iframe",
"rules": "regras",
"welcome_to_board": "Bem-vindo ao {{board}}",
"comment_too_long": "Comentário muito longo. <1>Clique aqui</1> para ver o texto completo.",
"replies_omitted": "{{repliesCount}} respostas omitidas. <1>Clique aqui</1> para visualizar.",
"replies_and_links_omitted": "{{repliesCount}} respostas e {{linksCount}} links omitidos. <1>Clique aqui</1> para visualizar."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "pagină web",
"iframe": "iframe"
"iframe": "iframe",
"rules": "reguli",
"welcome_to_board": "Bine ați venit la {{board}}",
"comment_too_long": "Comentariul este prea lung. <1>Click aici</1> pentru a vedea textul complet.",
"replies_omitted": "{{repliesCount}} răspunsuri omise. <1>Click aici</1> pentru a le vizualiza.",
"replies_and_links_omitted": "{{repliesCount}} răspunsuri și {{linksCount}} linkuri omise. <1>Click aici</1> pentru a le vizualiza."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "видео",
"audio": "аудио",
"webpage": "веб-страница",
"iframe": "iframe"
"iframe": "iframe",
"rules": "правила",
"welcome_to_board": "Добро пожаловать на {{board}}",
"comment_too_long": "Комментарий слишком длинный. <1>Нажмите здесь</1>, чтобы прочитать полный текст.",
"replies_omitted": "{{repliesCount}} ответов пропущено. <1>Нажмите здесь</1>, чтобы посмотреть.",
"replies_and_links_omitted": "{{repliesCount}} ответов и {{linksCount}} ссылок пропущено. <1>Нажмите здесь</1>, чтобы посмотреть."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "audio",
"webpage": "faqja web",
"iframe": "iframe"
"iframe": "iframe",
"rules": "rregullat",
"welcome_to_board": "Mirë se vini te {{board}}",
"comment_too_long": "Komenti është shumë i gjatë. <1>Kliko këtu</1> për të parë tekstin e plotë.",
"replies_omitted": "{{repliesCount}} përgjigje janë lënë jashtë. <1>Kliko këtu</1> për t'i shikuar.",
"replies_and_links_omitted": "{{repliesCount}} përgjigje dhe {{linksCount}} lidhje janë lënë jashtë. <1>Kliko këtu</1> për t'i shikuar."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "ljud",
"webpage": "webbsida",
"iframe": "iframe"
"iframe": "iframe",
"rules": "regler",
"welcome_to_board": "Välkommen till {{board}}",
"comment_too_long": "Kommentaren är för lång. <1>Klicka här</1> för att se hela texten.",
"replies_omitted": "{{repliesCount}} svar utelämnade. <1>Klicka här</1> för att visa dem.",
"replies_and_links_omitted": "{{repliesCount}} svar och {{linksCount}} länkar utelämnade. <1>Klicka här</1> för att visa dem."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "వీడియో",
"audio": "ఆడియో",
"webpage": "వెబ్ పేజీ",
"iframe": "iframe"
"iframe": "iframe",
"rules": "నియమాలు",
"welcome_to_board": "{{board}} కు స్వాగతం",
"comment_too_long": "వ్యాఖ్య చాలా పొడవుగా ఉంది. <1>పూర్తి టెక్స్ట్ చూడటానికి ఇక్కడ క్లిక్ చేయండి</1>.",
"replies_omitted": "{{repliesCount}} స్పందనలు వదిలివేయబడ్డాయి. <1>చూడటానికి ఇక్కడ క్లిక్ చేయండి</1>.",
"replies_and_links_omitted": "{{repliesCount}} స్పందనలు మరియు {{linksCount}} లింకులు వదిలివేయబడ్డాయి. <1>చూడటానికి ఇక్కడ క్లిక్ చేయండి</1>."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "วิดีโอ",
"audio": "เสียง",
"webpage": "หน้าเว็บ",
"iframe": "iframe"
"iframe": "iframe",
"rules": "กฎ",
"welcome_to_board": "ยินดีต้อนรับสู่ {{board}}",
"comment_too_long": "ความคิดเห็นยาวเกินไป <1>คลิกที่นี่</1> เพื่อดูข้อความเต็ม.",
"replies_omitted": "ข้าม {{repliesCount}} คำตอบ <1>คลิกที่นี่</1> เพื่อดู.",
"replies_and_links_omitted": "ข้าม {{repliesCount}} คำตอบและ {{linksCount}} ลิงก์ <1>คลิกที่นี่</1> เพื่อดู."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "ses",
"webpage": "web sayfası",
"iframe": "iframe"
"iframe": "iframe",
"rules": "kurallar",
"welcome_to_board": "{{board}}'a hoş geldiniz",
"comment_too_long": "Yorum çok uzun. <1>Buraya tıklayın</1> tam metni görüntülemek için.",
"replies_omitted": "{{repliesCount}} yanıt göz ardı edildi. <1>Buraya tıklayın</1> görüntülemek için.",
"replies_and_links_omitted": "{{repliesCount}} yanıt ve {{linksCount}} bağlantı göz ardı edildi. <1>Buraya tıklayın</1> görüntülemek için."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "відео",
"audio": "аудіо",
"webpage": "веб-сторінка",
"iframe": "iframe"
"iframe": "iframe",
"rules": "правила",
"welcome_to_board": "Ласкаво просимо до {{board}}",
"comment_too_long": "Коментар занадто довгий. <1>Натисніть тут</1>, щоб переглянути повний текст.",
"replies_omitted": "{{repliesCount}} відповідей пропущено. <1>Натисніть тут</1>, щоб переглянути.",
"replies_and_links_omitted": "{{repliesCount}} відповідей та {{linksCount}} посилань пропущено. <1>Натисніть тут</1>, щоб переглянути."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "ویڈیو",
"audio": "آڈیو",
"webpage": "ویب پیج",
"iframe": "آئی فریم"
"iframe": "آئی فریم",
"rules": "اصول",
"welcome_to_board": "{{board}} میں خوش آمدید",
"comment_too_long": "تبصرہ بہت طویل ہے۔ <1>مکمل متن دیکھنے کے لیے یہاں کلک کریں</1>۔",
"replies_omitted": "{{repliesCount}} جوابات چھوڑ دیے گئے ہیں۔ <1>مکمل دیکھنے کے لیے یہاں کلک کریں</1>۔",
"replies_and_links_omitted": "{{repliesCount}} جوابات اور {{linksCount}} لنکس چھوڑ دیے گئے ہیں۔ <1>مکمل دیکھنے کے لیے یہاں کلک کریں</1>۔"
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "video",
"audio": "âm thanh",
"webpage": "trang web",
"iframe": "iframe"
"iframe": "iframe",
"rules": "quy tắc",
"welcome_to_board": "Chào mừng bạn đến với {{board}}",
"comment_too_long": "Bình luận quá dài. <1>Nhấn vào đây</1> để xem toàn bộ văn bản.",
"replies_omitted": "{{repliesCount}} câu trả lời bị bỏ qua. <1>Nhấn vào đây</1> để xem.",
"replies_and_links_omitted": "{{repliesCount}} câu trả lời và {{linksCount}} liên kết bị bỏ qua. <1>Nhấn vào đây</1> để xem."
}
+6 -1
View File
@@ -53,5 +53,10 @@
"video": "视频",
"audio": "音频",
"webpage": "网页",
"iframe": "框架"
"iframe": "框架",
"rules": "规则",
"welcome_to_board": "欢迎来到{{board}}",
"comment_too_long": "评论太长。 <1>点击这里</1>查看完整文本。",
"replies_omitted": "省略了{{repliesCount}}条回复。 <1>点击这里</1>查看。",
"replies_and_links_omitted": "省略了{{repliesCount}}条回复和{{linksCount}}个链接。 <1>点击这里</1>查看。"
}
+18 -12
View File
@@ -1,6 +1,6 @@
import { useState } from 'react';
import { Link, useLocation, useParams } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { Trans, useTranslation } from 'react-i18next';
import { Role, useAccount, useSubplebbit } from '@plebbit/plebbit-react-hooks';
import Plebbit from '@plebbit/plebbit-js/dist/browser/index.js';
import { getCommentMediaInfo, getHasThumbnail } from '../../lib/utils/media-utils';
@@ -50,10 +50,10 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
const [showThumbnail, setShowThumbnail] = useState(true);
const replies = useReplies(post);
const visibleLinkCount = useCountLinksInReplies(post, 5);
const totalLinkCount = useCountLinksInReplies(post);
const visiblelinksCount = useCountLinksInReplies(post, 5);
const totallinksCount = useCountLinksInReplies(post);
const repliesCount = pinned ? replyCount : replyCount - 5;
const linkCount = pinned ? totalLinkCount : totalLinkCount - visibleLinkCount;
const linksCount = pinned ? totallinksCount : totallinksCount - visiblelinksCount;
const [menuBtnRotated, setMenuBtnRotated] = useState(false);
@@ -176,7 +176,7 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
{content.length > 1000 && !isInPostPage && (
<span className={styles.abbr}>
<br />
Comment too long. <Link to={`/p/${subplebbitAddress}/c/${cid}`}>Click here</Link> to view the full text.
<Trans i18nKey={'comment_too_long'} shouldUnescape={true} components={{ 1: <Link to={`/p/${subplebbitAddress}/c/${cid}`} /> }} />
</span>
)}
</blockquote>
@@ -186,10 +186,16 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
<span className={styles.expandButtonWrapper}>
<span className={styles.expandButton} />
</span>
<span>
{repliesCount} replies {linkCount > 0 && `and ${linkCount} links`} omitted.{' '}
</span>
<Link to={`/p/${subplebbitAddress}/c/${cid}`}>Click here</Link> to view.
{linksCount > 0 ? (
<Trans
i18nKey={'replies_and_links_omitted'}
shouldUnescape={true}
components={{ 1: <Link to={`/p/${subplebbitAddress}/c/${cid}`} /> }}
values={{ repliesCount, linksCount }}
/>
) : (
<Trans i18nKey={'replies_omitted'} shouldUnescape={true} components={{ 1: <Link to={`/p/${subplebbitAddress}/c/${cid}`} /> }} values={{ repliesCount }} />
)}
</span>
)}
{!(pinned && !isInPostPage) &&
@@ -351,7 +357,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
const location = useLocation();
const isInPostPage = isPostPageView(location.pathname, params);
const linkCount = useCountLinksInReplies(post);
const linksCount = useCountLinksInReplies(post);
const displayTitle = title && title.length > 30 ? title?.slice(0, 30) + '(...)' : title;
const displayContent = content && !isInPostPage && content.length > 1000 ? content?.slice(0, 1000) : content;
@@ -435,7 +441,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
{content.length > 1000 && !isInPostPage && (
<span className={styles.abbr}>
<br />
Comment too long. <Link to={`/p/${subplebbitAddress}/c/${cid}`}>Click here</Link> to view the full text.
<Trans i18nKey={'comment_too_long'} shouldUnescape={true} components={{ 1: <Link to={`/p/${subplebbitAddress}/c/${cid}`} /> }} />
</span>
)}
</blockquote>
@@ -445,7 +451,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
<div className={styles.postLink}>
<span className={styles.info}>
{replyCount > 0 && `${replyCount} Replies`}
{linkCount > 0 && ` / ${linkCount} Links`}
{linksCount > 0 && ` / ${linksCount} Links`}
</span>
<Link to={`/p/${subplebbitAddress}/${isDescription ? 'description' : isRules ? 'rules' : `c/${cid}`}`} className='button'>
{t('view_thread')}
@@ -1,4 +1,5 @@
import Post from '../post';
import { useTranslation } from 'react-i18next';
interface DescriptionPostProps {
subplebbitAddress: string | undefined;
@@ -9,6 +10,7 @@ interface DescriptionPostProps {
}
const SubplebbitDescription = ({ subplebbitAddress, createdAt, description, avatarUrl, title }: DescriptionPostProps) => {
const { t } = useTranslation();
const post = {
isDescription: true,
subplebbitAddress,
@@ -16,7 +18,7 @@ const SubplebbitDescription = ({ subplebbitAddress, createdAt, description, avat
author: { displayName: '## Board Mods' },
content: description,
link: avatarUrl,
title: 'Welcome to ' + title,
title: t('welcome_to_board', { board: title }),
pinned: true,
locked: true,
};
@@ -1,4 +1,6 @@
import Post from '../post';
import { useTranslation } from 'react-i18next';
import _ from 'lodash';
interface RulesPostProps {
subplebbitAddress: string | undefined;
@@ -7,6 +9,7 @@ interface RulesPostProps {
}
const SubplebbitRules = ({ subplebbitAddress, createdAt, rules }: RulesPostProps) => {
const { t } = useTranslation();
const content = rules.map((rule, index) => `${index + 1}. ${rule}`).join('\n');
const post = {
isRules: true,
@@ -14,7 +17,7 @@ const SubplebbitRules = ({ subplebbitAddress, createdAt, rules }: RulesPostProps
timestamp: createdAt,
author: { displayName: '## Board Mods' },
content,
title: 'Rules',
title: _.capitalize(t('rules')),
pinned: true,
locked: true,
};