chore: add translations

This commit is contained in:
Tom (plebeius.eth)
2024-05-31 16:51:22 +02:00
parent 6223cb0b24
commit 088a887686
42 changed files with 659 additions and 55 deletions
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "بيانات الحساب الكاملة", "full_account_data": "بيانات الحساب الكاملة",
"this_account": "هذا الحساب", "this_account": "هذا الحساب",
"delete": "حذف", "delete": "حذف",
"delete_account": "حذف الحساب" "delete_account": "حذف الحساب",
"file_type": "نوع الملف",
"version": "الإصدار",
"spoiler": "تحذير",
"interface": "واجهة",
"invalid_url": "رابط غير صالح",
"no_link_provided": "لم يتم توفير رابط",
"image_search": "البحث عن صورة",
"view_on": "عرض على",
"copy_link": "نسخ الرابط",
"hide_post": "إخفاء المنشور",
"hide_thread": "إخفاء الموضوع",
"unhide_post": "إظهار المنشور",
"unhide_thread": "إظهار الموضوع",
"search_image_on_google": "البحث عن صورة على جوجل",
"search_image_on_yandex": "البحث عن صورة على Yandex",
"search_image_on_saucenao": "البحث عن صورة على SauceNAO",
"view_on_client": "عرض على {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "সম্পূর্ণ অ্যাকাউন্ট ডেটা", "full_account_data": "সম্পূর্ণ অ্যাকাউন্ট ডেটা",
"this_account": "এই অ্যাকাউন্ট", "this_account": "এই অ্যাকাউন্ট",
"delete": "মুছে ফেলা", "delete": "মুছে ফেলা",
"delete_account": "অ্যাকাউন্ট মুছুন" "delete_account": "অ্যাকাউন্ট মুছুন",
"file_type": "ফাইলের ধরন",
"version": "সংস্করণ",
"spoiler": "স্পোয়েলার",
"interface": "ইন্টারফেস",
"invalid_url": "অবৈধ ইউআরএল",
"no_link_provided": "কোনো লিঙ্ক উপস্থিত নেই",
"image_search": "চিত্র অনুসন্ধান",
"view_on": "উপর দেখুন",
"copy_link": "লিংক অনুলিপি করুন",
"hide_post": "পোস্ট লুকাও",
"hide_thread": "থ্রেড লুকাও",
"unhide_post": "পোস্ট প্রদর্শন করুন",
"unhide_thread": "থ্রেড প্রদর্শন করুন",
"search_image_on_google": "গুগলে চিত্র অনুসন্ধান করুন",
"search_image_on_yandex": "Yandexে চিত্র অনুসন্ধান করুন",
"search_image_on_saucenao": "SauceNAO এ চিত্র অনুসন্ধান করুন",
"view_on_client": "{{client}} উপর দেখুন"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "plná účetní data", "full_account_data": "plná účetní data",
"this_account": "tento účet", "this_account": "tento účet",
"delete": "smazat", "delete": "smazat",
"delete_account": "smazat účet" "delete_account": "smazat účet",
"file_type": "Typ souboru",
"version": "Verze",
"spoiler": "spoiler",
"interface": "rozhraní",
"invalid_url": "Neplatná adresa URL",
"no_link_provided": "Není poskytnut žádný odkaz",
"image_search": "hledání obrázku",
"view_on": "zobrazit na",
"copy_link": "kopírovat odkaz",
"hide_post": "skrýt příspěvek",
"hide_thread": "skrýt vlákno",
"unhide_post": "zobrazit příspěvek",
"unhide_thread": "zobrazit vlákno",
"search_image_on_google": "hledat obrázek na Googlu",
"search_image_on_yandex": "hledat obrázek na Yandexu",
"search_image_on_saucenao": "hledat obrázek na SauceNAO",
"view_on_client": "Zobrazit na {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "fulde kontodata", "full_account_data": "fulde kontodata",
"this_account": "denne konto", "this_account": "denne konto",
"delete": "slet", "delete": "slet",
"delete_account": "slet konto" "delete_account": "slet konto",
"file_type": "Filtype",
"version": "Version",
"spoiler": "spoiler",
"interface": "interface",
"invalid_url": "Ugyldig webadresse",
"no_link_provided": "Ingen link angivet",
"image_search": "billedsøgning",
"view_on": "se på",
"copy_link": "kopier link",
"hide_post": "skjul post",
"hide_thread": "skjul tråd",
"unhide_post": "vis indlæg",
"unhide_thread": "vis tråd",
"search_image_on_google": "søg billede på Google",
"search_image_on_yandex": "søg billede på Yandex",
"search_image_on_saucenao": "søg billede på SauceNAO",
"view_on_client": "Se på {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "vollständige Kontodaten", "full_account_data": "vollständige Kontodaten",
"this_account": "dieses Konto", "this_account": "dieses Konto",
"delete": "löschen", "delete": "löschen",
"delete_account": "Konto löschen" "delete_account": "Konto löschen",
"file_type": "Dateityp",
"version": "Version",
"spoiler": "Spoiler",
"interface": "Schnittstelle",
"invalid_url": "Ungültige URL",
"no_link_provided": "Kein Link angegeben",
"image_search": "Bildersuche",
"view_on": "anzeigen auf",
"copy_link": "Link kopieren",
"hide_post": "Beitrag ausblenden",
"hide_thread": "Thread ausblenden",
"unhide_post": "Beitrag anzeigen",
"unhide_thread": "Thread anzeigen",
"search_image_on_google": "Bild auf Google suchen",
"search_image_on_yandex": "Bild auf Yandex suchen",
"search_image_on_saucenao": "Bild auf SauceNAO suchen",
"view_on_client": "Anzeigen auf {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "πλήρα δεδομένα λογαριασμού", "full_account_data": "πλήρα δεδομένα λογαριασμού",
"this_account": "αυτός ο λογαριασμός", "this_account": "αυτός ο λογαριασμός",
"delete": "διαγραφή", "delete": "διαγραφή",
"delete_account": "διαγραφή λογαριασμού" "delete_account": "διαγραφή λογαριασμού",
"file_type": "Τύπος αρχείου",
"version": "Έκδοση",
"spoiler": "spoiler",
"interface": "διεπαφή",
"invalid_url": "Μη έγκυρη διεύθυνση URL",
"no_link_provided": "Δεν παρέχεται σύνδεσμος",
"image_search": "αναζήτηση εικόνων",
"view_on": "προβολή σε",
"copy_link": "αντιγραφή συνδέσμου",
"hide_post": "απόκρυψη ανάρτησης",
"hide_thread": "απόκρυψη νήματος",
"unhide_post": "εμφάνιση ανάρτησης",
"unhide_thread": "εμφάνιση νήματος",
"search_image_on_google": "αναζήτηση εικόνας στο Google",
"search_image_on_yandex": "αναζήτηση εικόνας στο Yandex",
"search_image_on_saucenao": "αναζήτηση εικόνας στο SauceNAO",
"view_on_client": "Προβολή στο {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "full account data", "full_account_data": "full account data",
"this_account": "this account", "this_account": "this account",
"delete": "delete", "delete": "delete",
"delete_account": "delete account" "delete_account": "delete account",
"file_type": "File type",
"version": "Version",
"spoiler": "spoiler",
"interface": "interface",
"invalid_url": "Invalid URL",
"no_link_provided": "No link provided",
"image_search": "image search",
"view_on": "view on",
"copy_link": "Copy link",
"hide_post": "Hide post",
"hide_thread": "Hide thread",
"unhide_post": "Unhide post",
"unhide_thread": "Unhide thread",
"search_image_on_google": "Search image on Google",
"search_image_on_yandex": "Search image on Yandex",
"search_image_on_saucenao": "Search image on SauceNAO",
"view_on_client": "View on {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "datos completos de la cuenta", "full_account_data": "datos completos de la cuenta",
"this_account": "esta cuenta", "this_account": "esta cuenta",
"delete": "eliminar", "delete": "eliminar",
"delete_account": "eliminar cuenta" "delete_account": "eliminar cuenta",
"file_type": "Tipo de archivo",
"version": "Versión",
"spoiler": "spoiler",
"interface": "interfaz",
"invalid_url": "URL no válida",
"no_link_provided": "No se proporcionó ningún enlace",
"image_search": "búsqueda de imágenes",
"view_on": "ver en",
"copy_link": "Copiar enlace",
"hide_post": "Ocultar publicación",
"hide_thread": "Ocultar hilo",
"unhide_post": "Mostrar publicación",
"unhide_thread": "Mostrar hilo",
"search_image_on_google": "Buscar imagen en Google",
"search_image_on_yandex": "Buscar imagen en Yandex",
"search_image_on_saucenao": "Buscar imagen en SauceNAO",
"view_on_client": "Ver en {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "داده حساب کامل", "full_account_data": "داده حساب کامل",
"this_account": "این حساب", "this_account": "این حساب",
"delete": "حذف کنید", "delete": "حذف کنید",
"delete_account": "حذف حساب" "delete_account": "حذف حساب",
"file_type": "نوع فایل",
"version": "نسخه",
"spoiler": "اسپویلر",
"interface": "رابط",
"invalid_url": "آدرس اینترنتی نامعتبر است",
"no_link_provided": "لینکی ارائه نشده است",
"image_search": "جستجوی تصویر",
"view_on": "نمایش در",
"copy_link": "رونوشت لینک",
"hide_post": "پنهان کردن پست",
"hide_thread": "پنهان کردن موضوع",
"unhide_post": "نمایش پست",
"unhide_thread": "نمایش موضوع",
"search_image_on_google": "جستجوی تصویر در گوگل",
"search_image_on_yandex": "جستجوی تصویر در Yandex",
"search_image_on_saucenao": "جستجوی تصویر در SauceNAO",
"view_on_client": "مشاهده در {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "täydelliset tilitiedot", "full_account_data": "täydelliset tilitiedot",
"this_account": "tämä tili", "this_account": "tämä tili",
"delete": "poista", "delete": "poista",
"delete_account": "poista tili" "delete_account": "poista tili",
"file_type": "Tiedostotyyppi",
"version": "Versio",
"spoiler": "spoiler",
"interface": "liitäntä",
"invalid_url": "Virheellinen URL-osoite",
"no_link_provided": "Ei linkkiä annettu",
"image_search": "kuvahaku",
"view_on": "näytä",
"copy_link": "kopioi linkki",
"hide_post": "piilota viesti",
"hide_thread": "piilota keskustelu",
"unhide_post": "näytä viesti",
"unhide_thread": "näytä keskustelu",
"search_image_on_google": "etsi kuva Googlesta",
"search_image_on_yandex": "etsi kuva Yandexistä",
"search_image_on_saucenao": "etsi kuva SauceNAO: sta",
"view_on_client": "Näytä {{client}}: ssä"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "buong account data", "full_account_data": "buong account data",
"this_account": "ang account na ito", "this_account": "ang account na ito",
"delete": "burahin", "delete": "burahin",
"delete_account": "tanggalin ang account" "delete_account": "tanggalin ang account",
"file_type": "Uri ng file",
"version": "Bersyon",
"spoiler": "spoiler",
"interface": "interface",
"invalid_url": "Hindi wastong URL",
"no_link_provided": "Walang link na ibinigay",
"image_search": "paghahanap ng larawan",
"view_on": "tingnan sa",
"copy_link": "kopyahin ang link",
"hide_post": "itago ang post",
"hide_thread": "itago ang thread",
"unhide_post": "ipakita ang post",
"unhide_thread": "ipakita ang thread",
"search_image_on_google": "maghanap ng larawan sa Google",
"search_image_on_yandex": "maghanap ng larawan sa Yandex",
"search_image_on_saucenao": "maghanap ng larawan sa SauceNAO",
"view_on_client": "Tingnan sa {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "données complètes du compte", "full_account_data": "données complètes du compte",
"this_account": "ce compte", "this_account": "ce compte",
"delete": "supprimer", "delete": "supprimer",
"delete_account": "supprimer le compte" "delete_account": "supprimer le compte",
"file_type": "Type de fichier",
"version": "Version",
"spoiler": "spoiler",
"interface": "interface",
"invalid_url": "URL non valide",
"no_link_provided": "Aucun lien fourni",
"image_search": "recherche d'images",
"view_on": "voir sur",
"copy_link": "Copier le lien",
"hide_post": "Masquer la publication",
"hide_thread": "Masquer le fil",
"unhide_post": "Afficher la publication",
"unhide_thread": "Afficher le fil",
"search_image_on_google": "Rechercher une image sur Google",
"search_image_on_yandex": "Rechercher une image sur Yandex",
"search_image_on_saucenao": "Rechercher une image sur SauceNAO",
"view_on_client": "Voir sur {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "נתוני החשבון המלאים", "full_account_data": "נתוני החשבון המלאים",
"this_account": "החשבון הזה", "this_account": "החשבון הזה",
"delete": "מחק", "delete": "מחק",
"delete_account": "מחק חשבון" "delete_account": "מחק חשבון",
"file_type": "סוג הקובץ",
"version": "גרסה",
"spoiler": "ספוילר",
"interface": "ממשק",
"invalid_url": "כתובת אינטרנט לא תקינה",
"no_link_provided": "לא סופק קישור",
"image_search": "חיפוש תמונות",
"view_on": "צפה ב",
"copy_link": "העתק קישור",
"hide_post": "הסתר פוסט",
"hide_thread": "הסתר ת’רד",
"unhide_post": "הצג פוסט",
"unhide_thread": "הצג ת’רד",
"search_image_on_google": "חפש תמונה ב-Google",
"search_image_on_yandex": "חפש תמונה ב-Yandex",
"search_image_on_saucenao": "חפש תמונה ב- SauceNAO",
"view_on_client": "הצג ב {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "पूरे खाते का डेटा", "full_account_data": "पूरे खाते का डेटा",
"this_account": "इस खाता", "this_account": "इस खाता",
"delete": "हटाएँ", "delete": "हटाएँ",
"delete_account": "खाता हटाएं" "delete_account": "खाता हटाएं",
"file_type": "फ़ाइल का प्रकार",
"version": "संस्करण",
"spoiler": "स्पॉइलर",
"interface": "इंटरफेस",
"invalid_url": "अमान्य URL",
"no_link_provided": "कोई लिंक नहीं दिया गया है",
"image_search": "चित्र खोज",
"view_on": "पर देखें",
"copy_link": "लिंक कॉपी करें",
"hide_post": "पोस्ट छुपाएं",
"hide_thread": "धागा छुपाएं",
"unhide_post": "पोस्ट प्रदर्शित करें",
"unhide_thread": "धागा प्रदर्शित करें",
"search_image_on_google": "गूगल पर छवि खोजें",
"search_image_on_yandex": "Yandex पर छवि खोजें",
"search_image_on_saucenao": "SauceNAO पर छवि खोजें",
"view_on_client": "{{client}} पर देखें"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "teljes fiókadata", "full_account_data": "teljes fiókadata",
"this_account": "ez a fiók", "this_account": "ez a fiók",
"delete": "töröl", "delete": "töröl",
"delete_account": "fiók törlése" "delete_account": "fiók törlése",
"file_type": "Fájltípus",
"version": "Verzió",
"spoiler": "spoiler",
"interface": "felület",
"invalid_url": "Érvénytelen URL-cím",
"no_link_provided": "Nincs megadva link",
"image_search": "képkeresés",
"view_on": "nézet",
"copy_link": "link másolása",
"hide_post": "bejegyzés elrejtése",
"hide_thread": "szál elrejtése",
"unhide_post": "bejegyzés megjelenítése",
"unhide_thread": "szál megjelenítése",
"search_image_on_google": "keresés kép a Google-ben",
"search_image_on_yandex": "keresés kép a Yandex-ben",
"search_image_on_saucenao": "keresés kép a SauceNAO-n",
"view_on_client": "Megtekintés itt: {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "data akun lengkap", "full_account_data": "data akun lengkap",
"this_account": "akun ini", "this_account": "akun ini",
"delete": "hapus", "delete": "hapus",
"delete_account": "hapus akun" "delete_account": "hapus akun",
"file_type": "Tipe file",
"version": "Versi",
"spoiler": "spoiler",
"interface": "antarmuka",
"invalid_url": "URL tidak valid",
"no_link_provided": "Tidak ada tautan yang diberikan",
"image_search": "pencarian gambar",
"view_on": "lihat di",
"copy_link": "salin tautan",
"hide_post": "sembunyikan pos",
"hide_thread": "sembunyikan utas",
"unhide_post": "tampilkan pos",
"unhide_thread": "tampilkan utas",
"search_image_on_google": "cari gambar di Google",
"search_image_on_yandex": "cari gambar di Yandex",
"search_image_on_saucenao": "cari gambar di SauceNAO",
"view_on_client": "Lihat di {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "i dati completi dell'account", "full_account_data": "i dati completi dell'account",
"this_account": "questo account", "this_account": "questo account",
"delete": "elimina", "delete": "elimina",
"delete_account": "elimina account" "delete_account": "elimina account",
"file_type": "Tipo di file",
"version": "Versione",
"spoiler": "spoiler",
"interface": "interfaccia",
"invalid_url": "URL non valido",
"no_link_provided": "Nessun link fornito",
"image_search": "ricerca immagini",
"view_on": "Vedi su",
"copy_link": "Copia link",
"hide_post": "Nascondi post",
"hide_thread": "Nascondi thread",
"unhide_post": "Mostra post",
"unhide_thread": "Mostra thread",
"search_image_on_google": "Cerca immagine su Google",
"search_image_on_yandex": "Cerca immagine su Yandex",
"search_image_on_saucenao": "Cerca immagine su SauceNAO",
"view_on_client": "Vedi su {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "フルアカウントデータ", "full_account_data": "フルアカウントデータ",
"this_account": "このアカウント", "this_account": "このアカウント",
"delete": "削除", "delete": "削除",
"delete_account": "アカウントを削除" "delete_account": "アカウントを削除",
"file_type": "ファイルタイプ",
"version": "バージョン",
"spoiler": "ネタバレ",
"interface": "インターフェース",
"invalid_url": "無効なURL",
"no_link_provided": "リンクが指定されていません",
"image_search": "画像検索",
"view_on": "で表示",
"copy_link": "リンクをコピー",
"hide_post": "投稿を非表示",
"hide_thread": "スレッドを非表示",
"unhide_post": "投稿を表示",
"unhide_thread": "スレッドを表示",
"search_image_on_google": "Google で画像を検索",
"search_image_on_yandex": "Yandex で画像を検索",
"search_image_on_saucenao": "SauceNAO で画像を検索",
"view_on_client": "{{client}} で表示"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "전체 계정 데이터", "full_account_data": "전체 계정 데이터",
"this_account": "이 계정", "this_account": "이 계정",
"delete": "삭제", "delete": "삭제",
"delete_account": "계정 삭제" "delete_account": "계정 삭제",
"file_type": "파일 유형",
"version": "버전",
"spoiler": "스포일러",
"interface": "인터페이스",
"invalid_url": "잘못된 URL",
"no_link_provided": "링크가 제공되지 않았습니다",
"image_search": "이미지 검색",
"view_on": "보기",
"copy_link": "링크 복사",
"hide_post": "게시물 숨기기",
"hide_thread": "스레드 숨기기",
"unhide_post": "게시물 숨기기 해제",
"unhide_thread": "스레드 숨기기 해제",
"search_image_on_google": "Google 이미지 검색",
"search_image_on_yandex": "Yandex 이미지 검색",
"search_image_on_saucenao": "SauceNAO 이미지 검색",
"view_on_client": "{{client}}에서 보기"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "पूर्ण खाते डेटा", "full_account_data": "पूर्ण खाते डेटा",
"this_account": "हे खाते", "this_account": "हे खाते",
"delete": "काढा", "delete": "काढा",
"delete_account": "खाते हटवा" "delete_account": "खाते हटवा",
"file_type": "फाइल प्रकार",
"version": "आवृत्ती",
"spoiler": "स्पॉइलर",
"interface": "इंटरफेस",
"invalid_url": "अवैध URL",
"no_link_provided": "कोणतेही लिंक दिले नाहीत",
"image_search": "प्रतिमा शोध",
"view_on": "पाहा",
"copy_link": "लिंक कॉपी करा",
"hide_post": "पोस्ट लपवा",
"hide_thread": "थ्रेड लपवा",
"unhide_post": "पोस्ट दाखवा",
"unhide_thread": "थ्रेड दाखवा",
"search_image_on_google": "Google वर छायाचित्र शोधा",
"search_image_on_yandex": "Yandex वर छायाचित्र शोधा",
"search_image_on_saucenao": "SauceNAO वर छायाचित्र शोधा",
"view_on_client": "{{client}} वर पहा"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "volledige accountgegevens", "full_account_data": "volledige accountgegevens",
"this_account": "dit account", "this_account": "dit account",
"delete": "verwijderen", "delete": "verwijderen",
"delete_account": "account verwijderen" "delete_account": "account verwijderen",
"file_type": "Bestandstype",
"version": "Versie",
"spoiler": "spoiler",
"interface": "interface",
"invalid_url": "Ongeldige URL",
"no_link_provided": "Geen link opgegeven",
"image_search": "afbeeldingen zoeken",
"view_on": "bekijk op",
"copy_link": "link kopiëren",
"hide_post": "bericht verbergen",
"hide_thread": "thread verbergen",
"unhide_post": "bericht weergeven",
"unhide_thread": "thread weergeven",
"search_image_on_google": "zoek afbeelding op Google",
"search_image_on_yandex": "zoek afbeelding op Yandex",
"search_image_on_saucenao": "zoek afbeelding op SauceNAO",
"view_on_client": "Bekijk op {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "full kontodata", "full_account_data": "full kontodata",
"this_account": "denne kontoen", "this_account": "denne kontoen",
"delete": "slett", "delete": "slett",
"delete_account": "slett konto" "delete_account": "slett konto",
"file_type": "Filtype",
"version": "Versjon",
"spoiler": "spoiler",
"interface": "grensesnitt",
"invalid_url": "Ugyldig URL",
"no_link_provided": "Ingen lenke oppgitt",
"image_search": "bilde søk",
"view_on": "se på",
"copy_link": "kopier lenke",
"hide_post": "skjul innlegg",
"hide_thread": "skjul tråd",
"unhide_post": "vis innlegg",
"unhide_thread": "vis tråd",
"search_image_on_google": "søk etter bilde på Google",
"search_image_on_yandex": "søk etter bilde på Yandex",
"search_image_on_saucenao": "søk etter bilde på SauceNAO",
"view_on_client": "Vis på {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "pełne dane konta", "full_account_data": "pełne dane konta",
"this_account": "ten rachunek", "this_account": "ten rachunek",
"delete": "usuń", "delete": "usuń",
"delete_account": "usuń konto" "delete_account": "usuń konto",
"file_type": "Typ pliku",
"version": "Wersja",
"spoiler": "spoiler",
"interface": "interfejs",
"invalid_url": "Nieprawidłowy adres URL",
"no_link_provided": "Nie podano linku",
"image_search": "wyszukiwanie obrazów",
"view_on": "zobacz na",
"copy_link": "skopiuj link",
"hide_post": "ukryj post",
"hide_thread": "ukryj wątek",
"unhide_post": "pokaż post",
"unhide_thread": "pokaż wątek",
"search_image_on_google": "szukaj obrazu w Google",
"search_image_on_yandex": "szukaj obrazu w Yandex",
"search_image_on_saucenao": "szukaj obrazu w SauceNAO",
"view_on_client": "Zobacz na {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "dados completos da conta", "full_account_data": "dados completos da conta",
"this_account": "esta conta", "this_account": "esta conta",
"delete": "apagar", "delete": "apagar",
"delete_account": "excluir conta" "delete_account": "excluir conta",
"file_type": "Tipo de arquivo",
"version": "Versão",
"spoiler": "spoiler",
"interface": "interface",
"invalid_url": "URL inválida",
"no_link_provided": "Nenhum link fornecido",
"image_search": "pesquisa de imagens",
"view_on": "ver em",
"copy_link": "Copiar link",
"hide_post": "Ocultar postagem",
"hide_thread": "Ocultar tópico",
"unhide_post": "Mostrar postagem",
"unhide_thread": "Mostrar tópico",
"search_image_on_google": "Pesquisar imagem no Google",
"search_image_on_yandex": "Pesquisar imagem no Yandex",
"search_image_on_saucenao": "Pesquisar imagem no SauceNAO",
"view_on_client": "Ver no {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "date complete ale contului", "full_account_data": "date complete ale contului",
"this_account": "acest cont", "this_account": "acest cont",
"delete": "ștergeți", "delete": "ștergeți",
"delete_account": "șterge contul" "delete_account": "șterge contul",
"file_type": "Tip de fișier",
"version": "Versiune",
"spoiler": "spoiler",
"interface": "interfață",
"invalid_url": "URL invalid",
"no_link_provided": "Nu s-a furnizat niciun link",
"image_search": "căutare de imagini",
"view_on": "vezi pe",
"copy_link": "copiați linkul",
"hide_post": "ascundeți postarea",
"hide_thread": "ascundeți firul",
"unhide_post": "afișează postarea",
"unhide_thread": "afișează firul",
"search_image_on_google": "căutați imaginea pe Google",
"search_image_on_yandex": "căutați imaginea pe Yandex",
"search_image_on_saucenao": "căutați imaginea pe SauceNAO",
"view_on_client": "Vezi pe {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "полные данные аккаунта", "full_account_data": "полные данные аккаунта",
"this_account": "этот аккаунт", "this_account": "этот аккаунт",
"delete": "удалить", "delete": "удалить",
"delete_account": "удалить аккаунт" "delete_account": "удалить аккаунт",
"file_type": "Тип файла",
"version": "Версия",
"spoiler": "спойлер",
"interface": "интерфейс",
"invalid_url": "Недействительный URL",
"no_link_provided": "Ссылка не предоставлена",
"image_search": "поиск изображений",
"view_on": "просмотр на",
"copy_link": "копировать ссылку",
"hide_post": "скрыть пост",
"hide_thread": "скрыть ветку",
"unhide_post": "показать пост",
"unhide_thread": "показать ветку",
"search_image_on_google": "поиск изображения в Google",
"search_image_on_yandex": "поиск изображения в Yandex",
"search_image_on_saucenao": "поиск изображения на SauceNAO",
"view_on_client": "Посмотреть на {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "të dhënat e plotë të llogarisë", "full_account_data": "të dhënat e plotë të llogarisë",
"this_account": "kjo llogaria", "this_account": "kjo llogaria",
"delete": "fshij", "delete": "fshij",
"delete_account": "fshi llogarinë" "delete_account": "fshi llogarinë",
"file_type": "Lloji i skedarit",
"version": "Version",
"spoiler": "spoiler",
"interface": "ndërfaqe",
"invalid_url": "URL jo e vlefshëm",
"no_link_provided": "Nuk është dhënë asnjë lidhje",
"image_search": "kërkim imazhesh",
"view_on": "shiko në",
"copy_link": "kopjo linkun",
"hide_post": "fsheh postën",
"hide_thread": "fsheh fijen",
"unhide_post": "shfaq postën",
"unhide_thread": "shfaq fijen",
"search_image_on_google": "kërko imazhin në Google",
"search_image_on_yandex": "kërko imazhin në Yandex",
"search_image_on_saucenao": "kërko imazhin në SauceNAO",
"view_on_client": "Shiko në {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "fullständig kontodata", "full_account_data": "fullständig kontodata",
"this_account": "detta konto", "this_account": "detta konto",
"delete": "ta bort", "delete": "ta bort",
"delete_account": "ta bort konto" "delete_account": "ta bort konto",
"file_type": "Filtyp",
"version": "Version",
"spoiler": "spoiler",
"interface": "gränssnitt",
"invalid_url": "Ogiltig URL",
"no_link_provided": "Ingen länk angiven",
"image_search": "bildsökning",
"view_on": "se på",
"copy_link": "kopiera länk",
"hide_post": "dölj inlägg",
"hide_thread": "dölj tråd",
"unhide_post": "visa inlägg",
"unhide_thread": "visa tråd",
"search_image_on_google": "sök bild på Google",
"search_image_on_yandex": "sök bild på Yandex",
"search_image_on_saucenao": "sök bild på SauceNAO",
"view_on_client": "Visa på {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "పూర్తి ఖాతా డేటా", "full_account_data": "పూర్తి ఖాతా డేటా",
"this_account": "ఈ ఖాతా", "this_account": "ఈ ఖాతా",
"delete": "తొలగించండి", "delete": "తొలగించండి",
"delete_account": "ఖాతాను తొలగించు" "delete_account": "ఖాతాను తొలగించు",
"file_type": "ఫైల్ రకం",
"version": "వెర్షన్",
"spoiler": "స్పోయ్లర్",
"interface": "అంతరాఫ్సు",
"invalid_url": "చెల్లని URL",
"no_link_provided": "లింక్ ఇవ్వబడలేదు",
"image_search": "చిత్రాల శోధన",
"view_on": "వీక్షించు",
"copy_link": "లింక్ ను కాపీ చేయండి",
"hide_post": "పోస్ట్ దాచు",
"hide_thread": "థ్రెడ్ దాచు",
"unhide_post": "పోస్ట్ చూపించు",
"unhide_thread": "థ్రెడ్ చూపించు",
"search_image_on_google": "గూగుల్‌లో చిత్రాన్ని వెతుకోండి",
"search_image_on_yandex": "యాండెక్స్‌లో చిత్రాన్ని వెతుకోండి",
"search_image_on_saucenao": "SauceNAOలో చిత్రాన్ని వెతుకోండి",
"view_on_client": "{{client}} లో చూడండి"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "ข้อมูลบัญชีเต็มรูปแบบ", "full_account_data": "ข้อมูลบัญชีเต็มรูปแบบ",
"this_account": "บัญชีนี้", "this_account": "บัญชีนี้",
"delete": "ลบ", "delete": "ลบ",
"delete_account": "ลบบัญชี" "delete_account": "ลบบัญชี",
"file_type": "ประเภทไฟล์",
"version": "รุ่น",
"spoiler": "สปอยล์เลอร์",
"interface": "อินเทอร์เฟซ",
"invalid_url": "URL ไม่ถูกต้อง",
"no_link_provided": "ไม่มีการให้ลิงก์",
"image_search": "ค้นหารูปภาพ",
"view_on": "ดูที่",
"copy_link": "คัดลอกลิงก์",
"hide_post": "ซ่อนโพสต์",
"hide_thread": "ซ่อนเธรด",
"unhide_post": "แสดงโพสต์",
"unhide_thread": "แสดงเธรด",
"search_image_on_google": "ค้นหารูปภาพใน Google",
"search_image_on_yandex": "ค้นหารูปภาพใน Yandex",
"search_image_on_saucenao": "ค้นหารูปภาพใน SauceNAO",
"view_on_client": "ดูบน {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "tam hesap verisi", "full_account_data": "tam hesap verisi",
"this_account": "bu hesap", "this_account": "bu hesap",
"delete": "sil", "delete": "sil",
"delete_account": "hesabı sil" "delete_account": "hesabı sil",
"file_type": "Dosya türü",
"version": "Sürüm",
"spoiler": "spoiler",
"interface": "arayüz",
"invalid_url": "Geçersiz URL",
"no_link_provided": "Hiçbir bağlantı sağlanmadı",
"image_search": "resim arama",
"view_on": "üzerinde görüntüle",
"copy_link": "bağlantıyı kopyala",
"hide_post": "gönderiyi gizle",
"hide_thread": "konuyu gizle",
"unhide_post": "gönderiyi göster",
"unhide_thread": "konuyu göster",
"search_image_on_google": "Google'da resim ara",
"search_image_on_yandex": "Yandex'da resim ara",
"search_image_on_saucenao": "SauceNAO'da resim ara",
"view_on_client": "{{client}}'de görüntüle"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "повні дані аккаунта", "full_account_data": "повні дані аккаунта",
"this_account": "цей аккаунт", "this_account": "цей аккаунт",
"delete": "видалити", "delete": "видалити",
"delete_account": "видалити обліковий запис" "delete_account": "видалити обліковий запис",
"file_type": "Тип файлу",
"version": "Версія",
"spoiler": "спойлер",
"interface": "інтерфейс",
"invalid_url": "Недійсний URL",
"no_link_provided": "Не надано жодного посилання",
"image_search": "пошук зображень",
"view_on": "перегляд на",
"copy_link": "копіювати посилання",
"hide_post": "сховати допис",
"hide_thread": "сховати нитку",
"unhide_post": "показати допис",
"unhide_thread": "показати нитку",
"search_image_on_google": "пошук зображення в Google",
"search_image_on_yandex": "пошук зображення в Yandex",
"search_image_on_saucenao": "пошук зображення в SauceNAO",
"view_on_client": "Переглянути на {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "مکمل اکاؤنٹ ڈیٹا", "full_account_data": "مکمل اکاؤنٹ ڈیٹا",
"this_account": "یہ اکاؤنٹ", "this_account": "یہ اکاؤنٹ",
"delete": "حذف کریں", "delete": "حذف کریں",
"delete_account": "اکاؤنٹ حذف کریں" "delete_account": "اکاؤنٹ حذف کریں",
"file_type": "فائل کی قسم",
"version": "ورژن",
"spoiler": "سپوائلر",
"interface": "انٹرفیس",
"invalid_url": "غیر درست یو آر ایل",
"no_link_provided": "کوئی لنک فراہم نہیں کیا گیا",
"image_search": "تصویر کی تلاش",
"view_on": "پر دیکھیں",
"copy_link": "لنک کاپی کریں",
"hide_post": "پوسٹ چھپائیں",
"hide_thread": "دھاگہ چھپائیں",
"unhide_post": "پوسٹ دکھائیں",
"unhide_thread": "دھاگہ دکھائیں",
"search_image_on_google": "گوگل پر تصویر کا مطالعہ کریں",
"search_image_on_yandex": "یانڈیکس پر تصویر کا مطالعہ کریں",
"search_image_on_saucenao": "SauceNAO پر تصویر کا مطالعہ کریں",
"view_on_client": "{{client}} پر دیکھیں"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "dữ liệu tài khoản đầy đủ", "full_account_data": "dữ liệu tài khoản đầy đủ",
"this_account": "tài khoản này", "this_account": "tài khoản này",
"delete": "xóa", "delete": "xóa",
"delete_account": "xóa tài khoản" "delete_account": "xóa tài khoản",
"file_type": "Loại tệp",
"version": "Phiên bản",
"spoiler": "spoiler",
"interface": "giao diện",
"invalid_url": "URL không hợp lệ",
"no_link_provided": "Không có liên kết được cung cấp",
"image_search": "tìm kiếm hình ảnh",
"view_on": "xem trên",
"copy_link": "sao chép liên kết",
"hide_post": "Ẩn bài viết",
"hide_thread": "Ẩn chủ đề",
"unhide_post": "Hiện bài viết",
"unhide_thread": "Hiện chủ đề",
"search_image_on_google": "Tìm kiếm hình ảnh trên Google",
"search_image_on_yandex": "Tìm kiếm hình ảnh trên Yandex",
"search_image_on_saucenao": "Tìm kiếm hình ảnh trên SauceNAO",
"view_on_client": "Xem trên {{client}}"
} }
+18 -1
View File
@@ -114,5 +114,22 @@
"full_account_data": "完整帐户数据", "full_account_data": "完整帐户数据",
"this_account": "此帐户", "this_account": "此帐户",
"delete": "删除", "delete": "删除",
"delete_account": "删除账户" "delete_account": "删除账户",
"file_type": "文件类型",
"version": "版本",
"spoiler": "spoiler",
"interface": "界面",
"invalid_url": "无效的网址",
"no_link_provided": "未提供链接",
"image_search": "图像搜索",
"view_on": "查看",
"copy_link": "复制链接",
"hide_post": "隐藏帖子",
"hide_thread": "隐藏主题",
"unhide_post": "显示帖子",
"unhide_thread": "显示主题",
"search_image_on_google": "在Google上搜索图像",
"search_image_on_yandex": "在Yandex上搜索图像",
"search_image_on_saucenao": "在SauceNAO上搜索图像",
"view_on_client": "在{{client}}上查看"
} }
+5 -4
View File
@@ -58,8 +58,9 @@ const useSubmitStore = create<SubmitState>((set) => ({
})); }));
export const LinkTypePreviewer = ({ link }: { link: string }) => { export const LinkTypePreviewer = ({ link }: { link: string }) => {
const { t } = useTranslation();
const mediaInfo = getLinkMediaInfo(link); const mediaInfo = getLinkMediaInfo(link);
return isValidURL(link) ? mediaInfo?.type : 'Invalid URL'; return isValidURL(link) ? mediaInfo?.type : t('invalid_url');
}; };
const PostFormTable = ({ closeForm }: { closeForm: () => void }) => { const PostFormTable = ({ closeForm }: { closeForm: () => void }) => {
@@ -215,8 +216,8 @@ const PostFormTable = ({ closeForm }: { closeForm: () => void }) => {
</td> </td>
</tr> </tr>
<tr className={styles.linkType}> <tr className={styles.linkType}>
<td>file type</td> <td>{t('file_type')}</td>
<td>{url ? <LinkTypePreviewer link={url} /> : 'No link provided'}</td> <td>{url ? <LinkTypePreviewer link={url} /> : t('no_link_provided')}</td>
</tr> </tr>
<tr className={styles.spoilerButton}> <tr className={styles.spoilerButton}>
<td>{t('options')}</td> <td>{t('options')}</td>
@@ -224,7 +225,7 @@ const PostFormTable = ({ closeForm }: { closeForm: () => void }) => {
[ [
<label> <label>
<input type='checkbox' onChange={(e) => (isInPostView ? setContent.spoiler(e.target.checked) : setSubmitStore({ spoiler: e.target.checked }))} /> <input type='checkbox' onChange={(e) => (isInPostView ? setContent.spoiler(e.target.checked) : setSubmitStore({ spoiler: e.target.checked }))} />
Spoiler? {t('spoiler')}?
</label> </label>
] ]
</td> </td>
@@ -1,6 +1,7 @@
import { useState } from 'react'; import { useState } from 'react';
import { createPortal } from 'react-dom'; import { createPortal } from 'react-dom';
import { useLocation, useParams } from 'react-router-dom'; import { useLocation, useParams } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { autoUpdate, flip, FloatingFocusManager, offset, shift, useClick, useDismiss, useFloating, useId, useInteractions, useRole } from '@floating-ui/react'; import { autoUpdate, flip, FloatingFocusManager, offset, shift, useClick, useDismiss, useFloating, useId, useInteractions, useRole } from '@floating-ui/react';
import { Comment, useBlock } from '@plebbit/plebbit-react-hooks'; import { Comment, useBlock } from '@plebbit/plebbit-react-hooks';
import styles from './post-menu-desktop.module.css'; import styles from './post-menu-desktop.module.css';
@@ -17,6 +18,7 @@ interface PostMenuDesktopProps {
} }
const CopyLinkButton = ({ cid, subplebbitAddress, onClose }: PostMenuDesktopProps) => { const CopyLinkButton = ({ cid, subplebbitAddress, onClose }: PostMenuDesktopProps) => {
const { t } = useTranslation();
return ( return (
<div <div
onClick={() => { onClick={() => {
@@ -24,12 +26,13 @@ const CopyLinkButton = ({ cid, subplebbitAddress, onClose }: PostMenuDesktopProp
onClose(); onClose();
}} }}
> >
<div className={styles.postMenuItem}>Copy link</div> <div className={styles.postMenuItem}>{t('copy_link')}</div>
</div> </div>
); );
}; };
const ImageSearchButton = ({ url, onClose }: { url: string; onClose: () => void }) => { const ImageSearchButton = ({ url, onClose }: { url: string; onClose: () => void }) => {
const { t } = useTranslation();
const [isImageSearchMenuOpen, setIsImageSearchMenuOpen] = useState(false); const [isImageSearchMenuOpen, setIsImageSearchMenuOpen] = useState(false);
const { refs, floatingStyles } = useFloating({ const { refs, floatingStyles } = useFloating({
@@ -45,7 +48,7 @@ const ImageSearchButton = ({ url, onClose }: { url: string; onClose: () => void
ref={refs.setReference} ref={refs.setReference}
onClick={onClose} onClick={onClose}
> >
Image search » {t('image_search')} »
{isImageSearchMenuOpen && ( {isImageSearchMenuOpen && (
<div ref={refs.setFloating} style={floatingStyles} className={styles.dropdownMenu}> <div ref={refs.setFloating} style={floatingStyles} className={styles.dropdownMenu}>
<a href={`https://lens.google.com/uploadbyurl?url=${url}`} target='_blank' rel='noreferrer'> <a href={`https://lens.google.com/uploadbyurl?url=${url}`} target='_blank' rel='noreferrer'>
@@ -64,6 +67,7 @@ const ImageSearchButton = ({ url, onClose }: { url: string; onClose: () => void
}; };
const ViewOnButton = ({ cid, isDescription, isRules, subplebbitAddress, onClose }: PostMenuDesktopProps) => { const ViewOnButton = ({ cid, isDescription, isRules, subplebbitAddress, onClose }: PostMenuDesktopProps) => {
const { t } = useTranslation();
const [isClientRedirectMenuOpen, setIsClientRedirectMenuOpen] = useState(false); const [isClientRedirectMenuOpen, setIsClientRedirectMenuOpen] = useState(false);
const viewOnOtherClientLink = `p/${subplebbitAddress}${isDescription || isRules ? '' : `/c/${cid}`}`; const viewOnOtherClientLink = `p/${subplebbitAddress}${isDescription || isRules ? '' : `/c/${cid}`}`;
@@ -80,7 +84,7 @@ const ViewOnButton = ({ cid, isDescription, isRules, subplebbitAddress, onClose
ref={refs.setReference} ref={refs.setReference}
onClick={onClose} onClick={onClose}
> >
View on » {t('view_on')} »
{isClientRedirectMenuOpen && ( {isClientRedirectMenuOpen && (
<div ref={refs.setFloating} style={floatingStyles} className={styles.dropdownMenu}> <div ref={refs.setFloating} style={floatingStyles} className={styles.dropdownMenu}>
<a href={`https://seedit.app/#/${viewOnOtherClientLink}`} target='_blank' rel='noreferrer'> <a href={`https://seedit.app/#/${viewOnOtherClientLink}`} target='_blank' rel='noreferrer'>
@@ -96,6 +100,7 @@ const ViewOnButton = ({ cid, isDescription, isRules, subplebbitAddress, onClose
}; };
const PostMenuDesktop = ({ post }: { post: Comment }) => { const PostMenuDesktop = ({ post }: { post: Comment }) => {
const { t } = useTranslation();
const { cid, isDescription, isRules, link, postCid, subplebbitAddress } = post || {}; const { cid, isDescription, isRules, link, postCid, subplebbitAddress } = post || {};
const commentMediaInfo = getCommentMediaInfo(post); const commentMediaInfo = getCommentMediaInfo(post);
const { thumbnail, type, url } = commentMediaInfo || {}; const { thumbnail, type, url } = commentMediaInfo || {};
@@ -148,7 +153,7 @@ const PostMenuDesktop = ({ post }: { post: Comment }) => {
handleClose(); handleClose();
}} }}
> >
{blocked ? 'Unhide' : 'Hide'} {postCid === cid ? 'thread' : 'post'} {blocked ? (postCid === cid ? t('unhide_thread') : t('unhide_post')) : postCid === cid ? t('hide_thread') : t('hide_post')}
</div> </div>
)} )}
{link && isValidURL(link) && (type === 'image' || type === 'gif' || thumbnail) && url && <ImageSearchButton url={url} onClose={handleClose} />} {link && isValidURL(link) && (type === 'image' || type === 'gif' || thumbnail) && url && <ImageSearchButton url={url} onClose={handleClose} />}
@@ -22,12 +22,12 @@
padding: 0; padding: 0;
margin: 0; margin: 0;
white-space: nowrap; white-space: nowrap;
outline: none;
} }
.postMenu a { .postMenu a {
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;
outline: none;
} }
.postMenuItem { .postMenuItem {
@@ -1,6 +1,7 @@
import { useState } from 'react'; import { useState } from 'react';
import { createPortal } from 'react-dom'; import { createPortal } from 'react-dom';
import { autoUpdate, flip, FloatingFocusManager, offset, shift, useClick, useDismiss, useFloating, useId, useInteractions, useRole } from '@floating-ui/react'; import { autoUpdate, flip, FloatingFocusManager, offset, shift, useClick, useDismiss, useFloating, useId, useInteractions, useRole } from '@floating-ui/react';
import { useTranslation } from 'react-i18next';
import { Comment } from '@plebbit/plebbit-react-hooks'; import { Comment } from '@plebbit/plebbit-react-hooks';
import styles from './post-menu-mobile.module.css'; import styles from './post-menu-mobile.module.css';
import { getCommentMediaInfo } from '../../../../lib/utils/media-utils'; import { getCommentMediaInfo } from '../../../../lib/utils/media-utils';
@@ -15,6 +16,7 @@ interface PostMenuMobileProps {
} }
const CopyLinkButton = ({ cid, subplebbitAddress, onClose }: PostMenuMobileProps) => { const CopyLinkButton = ({ cid, subplebbitAddress, onClose }: PostMenuMobileProps) => {
const { t } = useTranslation();
return ( return (
<div <div
onClick={() => { onClick={() => {
@@ -22,37 +24,38 @@ const CopyLinkButton = ({ cid, subplebbitAddress, onClose }: PostMenuMobileProps
onClose(); onClose();
}} }}
> >
<div className={styles.postMenuItem}>Copy link</div> <div className={styles.postMenuItem}>{t('copy_link')}</div>
</div> </div>
); );
}; };
const ImageSearchButtons = ({ url, onClose }: { url: string; onClose: () => void }) => { const ImageSearchButtons = ({ url, onClose }: { url: string; onClose: () => void }) => {
const { t } = useTranslation();
return ( return (
<div onClick={onClose}> <div onClick={onClose}>
<a href={`https://lens.google.com/uploadbyurl?url=${url}`} target='_blank' rel='noreferrer'> <a href={`https://lens.google.com/uploadbyurl?url=${url}`} target='_blank' rel='noreferrer'>
<div className={styles.postMenuItem}>Search image on Google</div> <div className={styles.postMenuItem}>{t('search_image_on_google')}</div>
</a> </a>
<a href={`https://www.yandex.com/images/search?img_url=${url}&rpt=imageview`} target='_blank' rel='noreferrer'> <a href={`https://www.yandex.com/images/search?img_url=${url}&rpt=imageview`} target='_blank' rel='noreferrer'>
<div className={styles.postMenuItem}>Search image on Yandex</div> <div className={styles.postMenuItem}>{t('search_image_on_yandex')}</div>
</a> </a>
<a href={`https://saucenao.com/search.php?url=${url}`} target='_blank' rel='noreferrer'> <a href={`https://saucenao.com/search.php?url=${url}`} target='_blank' rel='noreferrer'>
<div className={styles.postMenuItem}>Search image on SauceNAO</div> <div className={styles.postMenuItem}>{t('search_image_on_saucenao')}</div>
</a> </a>
</div> </div>
); );
}; };
const ViewOnButtons = ({ cid, isDescription, isRules, subplebbitAddress, onClose }: PostMenuMobileProps) => { const ViewOnButtons = ({ cid, isDescription, isRules, subplebbitAddress, onClose }: PostMenuMobileProps) => {
const { t } = useTranslation();
const viewOnOtherClientLink = `p/${subplebbitAddress}${isDescription || isRules ? '' : `/c/${cid}`}`; const viewOnOtherClientLink = `p/${subplebbitAddress}${isDescription || isRules ? '' : `/c/${cid}`}`;
return ( return (
<div onClick={onClose}> <div onClick={onClose}>
<a href={`https://seedit.app/#/${viewOnOtherClientLink}`} target='_blank' rel='noreferrer'> <a href={`https://seedit.app/#/${viewOnOtherClientLink}`} target='_blank' rel='noreferrer'>
<div className={styles.postMenuItem}>View on Seedit</div> <div className={styles.postMenuItem}>{t('view_on_client', { client: 'Seedit' })}</div>
</a> </a>
<a href={`https://plebones.netlify.app/#/${viewOnOtherClientLink}`} target='_blank' rel='noreferrer'> <a href={`https://plebones.netlify.app/#/${viewOnOtherClientLink}`} target='_blank' rel='noreferrer'>
<div className={styles.postMenuItem}>View on Plebones</div> <div className={styles.postMenuItem}>{t('view_on_client', { client: 'Plebones' })}</div>
</a> </a>
</div> </div>
); );
+2 -2
View File
@@ -127,14 +127,14 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => {
<div className={styles.footer}> <div className={styles.footer}>
{url && ( {url && (
<> <>
Embed: <LinkTypePreviewer link={url} />{' '} {t('file_type')}: <LinkTypePreviewer link={url} />{' '}
</> </>
)} )}
<span className={styles.spoilerButton}> <span className={styles.spoilerButton}>
[ [
<label> <label>
<input type='checkbox' onChange={(e) => setContent.spoiler(e.target.checked)} /> <input type='checkbox' onChange={(e) => setContent.spoiler(e.target.checked)} />
Spoiler? {t('spoiler')}?
</label> </label>
] ]
</span> </span>
@@ -107,7 +107,7 @@ const InterfaceSettings = () => {
return ( return (
<div className={styles.interfaceSettings}> <div className={styles.interfaceSettings}>
<div className={styles.version}> <div className={styles.version}>
Version:{' '} {t('version')}:{' '}
<a href={`https://github.com/plebbit/plebchan/releases/tag/v${packageJson.version}`} target='_blank' rel='noopener noreferrer'> <a href={`https://github.com/plebbit/plebchan/releases/tag/v${packageJson.version}`} target='_blank' rel='noopener noreferrer'>
{packageJson.version} {packageJson.version}
</a> </a>
@@ -44,7 +44,7 @@ const SettingsModal = () => {
<div className={`${styles.setting} ${styles.category}`}> <div className={`${styles.setting} ${styles.category}`}>
<label onClick={() => setShowInterfaceSettings(!showInterfaceSettings)}> <label onClick={() => setShowInterfaceSettings(!showInterfaceSettings)}>
<span className={showInterfaceSettings ? styles.hideButton : styles.showButton} /> <span className={showInterfaceSettings ? styles.hideButton : styles.showButton} />
Interface {t('interface')}
</label> </label>
</div> </div>
{showInterfaceSettings && <InterfaceSettings />} {showInterfaceSettings && <InterfaceSettings />}