From 35a5cb241155dffcca46d97604e3e2e3c108e08b Mon Sep 17 00:00:00 2001 From: Tommaso Casaburi Date: Thu, 16 Apr 2026 13:51:54 +0700 Subject: [PATCH] chore: add translations --- public/translations/ar/default.json | 3 ++- public/translations/bn/default.json | 3 ++- public/translations/cs/default.json | 3 ++- public/translations/da/default.json | 3 ++- public/translations/de/default.json | 3 ++- public/translations/el/default.json | 3 ++- public/translations/en/default.json | 3 ++- public/translations/es/default.json | 3 ++- public/translations/fa/default.json | 3 ++- public/translations/fi/default.json | 3 ++- public/translations/fil/default.json | 3 ++- public/translations/fr/default.json | 3 ++- public/translations/he/default.json | 3 ++- public/translations/hi/default.json | 3 ++- public/translations/hu/default.json | 3 ++- public/translations/id/default.json | 3 ++- public/translations/it/default.json | 3 ++- public/translations/ja/default.json | 3 ++- public/translations/ko/default.json | 3 ++- public/translations/mr/default.json | 3 ++- public/translations/nl/default.json | 3 ++- public/translations/no/default.json | 3 ++- public/translations/pl/default.json | 3 ++- public/translations/pt/default.json | 3 ++- public/translations/ro/default.json | 3 ++- public/translations/ru/default.json | 3 ++- public/translations/sq/default.json | 3 ++- public/translations/sv/default.json | 3 ++- public/translations/te/default.json | 3 ++- public/translations/th/default.json | 3 ++- public/translations/tr/default.json | 3 ++- public/translations/uk/default.json | 3 ++- public/translations/ur/default.json | 3 ++- public/translations/vi/default.json | 3 ++- public/translations/zh/default.json | 3 ++- src/components/site-legal-meta/site-legal-meta.tsx | 7 ++++++- 36 files changed, 76 insertions(+), 36 deletions(-) diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index 5a8a571d..57b1ea7a 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "إلغاء كتم الصوت تلقائياً عند تشغيل الفيديو", "download": "تحميل", "checking_for_updates": "جاري التحقق من التحديثات...", - "new_version_found": "تم العثور على إصدار جديد" + "new_version_found": "تم العثور على إصدار جديد", + "site_legal_meta_license_text": "5chan هو برنامج مجاني ومفتوح المصدر بموجب GPL-3.0-or-later." } diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index e66547d1..81f6151b 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "ভিডিও চালানোর সময় স্বয়ংক্রিয়ভাবে সাউন্ড আনমিউট করুন", "download": "ডাউনলোড", "checking_for_updates": "আপডেট পরীক্ষা করা হচ্ছে...", - "new_version_found": "নতুন সংস্করণ পাওয়া গেছে" + "new_version_found": "নতুন সংস্করণ পাওয়া গেছে", + "site_legal_meta_license_text": "5chan হলো GPL-3.0-or-later-এর অধীনে মুক্ত এবং ওপেন-সোর্স সফটওয়্যার।" } diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index 945655a8..18f1a0c0 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Automaticky zapnout zvuk při přehrávání videa", "download": "stáhnout", "checking_for_updates": "Kontroluji aktualizace...", - "new_version_found": "nalezena nová verze" + "new_version_found": "nalezena nová verze", + "site_legal_meta_license_text": "5chan je svobodný software s otevřeným zdrojovým kódem pod licencí GPL-3.0-or-later." } diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 88fd07e9..61b0c2b6 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Slå automatisk lyd til under videoafspilning", "download": "hent", "checking_for_updates": "Tjekker for opdateringer...", - "new_version_found": "ny version fundet" + "new_version_found": "ny version fundet", + "site_legal_meta_license_text": "5chan er fri software med åben kildekode under GPL-3.0-or-later." } diff --git a/public/translations/de/default.json b/public/translations/de/default.json index 3b7f3484..67e243c3 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Ton beim Videowiedergabe automatisch aktivieren", "download": "herunterladen", "checking_for_updates": "Suche nach Updates...", - "new_version_found": "neue Version gefunden" + "new_version_found": "neue Version gefunden", + "site_legal_meta_license_text": "5chan ist freie Open-Source-Software unter GPL-3.0-or-later." } diff --git a/public/translations/el/default.json b/public/translations/el/default.json index baa95687..743a80c9 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Αυτόματη ενεργοποίηση ήχου κατά την αναπαραγωγή βίντεο", "download": "λήψη", "checking_for_updates": "Έλεγχος για ενημερώσεις...", - "new_version_found": "βρέθηκε νέα έκδοση" + "new_version_found": "βρέθηκε νέα έκδοση", + "site_legal_meta_license_text": "Το 5chan είναι ελεύθερο λογισμικό ανοιχτού κώδικα υπό την GPL-3.0-or-later." } diff --git a/public/translations/en/default.json b/public/translations/en/default.json index 56bc3495..7cb5c7ba 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -323,5 +323,6 @@ "view": "View", "download": "download", "checking_for_updates": "checking for updates...", - "new_version_found": "new version found" + "new_version_found": "new version found", + "site_legal_meta_license_text": "5chan is free and open-source software under GPL-3.0-or-later." } diff --git a/public/translations/es/default.json b/public/translations/es/default.json index d09002dc..061d7911 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Activar el sonido automáticamente al reproducir vídeo", "download": "descargar", "checking_for_updates": "Buscando actualizaciones...", - "new_version_found": "nueva versión encontrada" + "new_version_found": "nueva versión encontrada", + "site_legal_meta_license_text": "5chan es software libre y de código abierto bajo GPL-3.0-or-later." } diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index f0852766..40af443b 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "غیرفعال کردن بی‌صدا به‌طور خودکار برای پخش ویدیو", "download": "بارگیری", "checking_for_updates": "در حال بررسی به‌روزرسانی‌ها...", - "new_version_found": "نسخه جدید یافت شد" + "new_version_found": "نسخه جدید یافت شد", + "site_legal_meta_license_text": "5chan نرم‌افزار آزاد و متن‌باز تحت GPL-3.0-or-later است." } diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index daea90aa..f5541a4c 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Ota ääni automaattisesti päälle videotoiston yhteydessä", "download": "lataa", "checking_for_updates": "Tarkistetaan päivityksiä...", - "new_version_found": "uusi versio löytyi" + "new_version_found": "uusi versio löytyi", + "site_legal_meta_license_text": "5chan on vapaata ja avoimen lähdekoodin ohjelmistoa GPL-3.0-or-later -lisenssillä." } diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index 547b9ce2..1600b7bf 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "I-unmute ang tunog nang awtomatiko kapag nagpe-play ng video", "download": "i-download", "checking_for_updates": "Sinusuri ang mga update...", - "new_version_found": "may bagong bersyon na nahanap" + "new_version_found": "may bagong bersyon na nahanap", + "site_legal_meta_license_text": "Ang 5chan ay libre at open-source na software sa ilalim ng GPL-3.0-or-later." } diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index 44df3b1b..17076815 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Activer le son automatiquement lors de la lecture vidéo", "download": "télécharger", "checking_for_updates": "Vérification des mises à jour...", - "new_version_found": "nouvelle version trouvée" + "new_version_found": "nouvelle version trouvée", + "site_legal_meta_license_text": "5chan est un logiciel libre et open source sous GPL-3.0-or-later." } diff --git a/public/translations/he/default.json b/public/translations/he/default.json index c682d0f4..a3fb1bbd 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "הפעל אוטומטית את הצליל בעת השמעת וידאו", "download": "הורדה", "checking_for_updates": "בודק עדכונים...", - "new_version_found": "נמצאה גרסה חדשה" + "new_version_found": "נמצאה גרסה חדשה", + "site_legal_meta_license_text": "5chan היא תוכנה חופשית וקוד פתוח תחת GPL-3.0-or-later." } diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index f47d368c..2478eb16 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "वीडियो चलाने पर स्वचालित रूप से साउंड अनम्यूट करें", "download": "डाउनलोड", "checking_for_updates": "अपडेट जाँच रहा है...", - "new_version_found": "नया संस्करण मिला" + "new_version_found": "नया संस्करण मिला", + "site_legal_meta_license_text": "5chan GPL-3.0-or-later के तहत मुक्त और ओपन-सोर्स सॉफ़्टवेयर है।" } diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index 6f29558c..42f19d12 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Hang automatikus bekapcsolása videólejátszáskor", "download": "letöltés", "checking_for_updates": "Frissítések keresése...", - "new_version_found": "új verzió található" + "new_version_found": "új verzió található", + "site_legal_meta_license_text": "Az 5chan szabad és nyílt forráskódú szoftver a GPL-3.0-or-later alatt." } diff --git a/public/translations/id/default.json b/public/translations/id/default.json index 4fb2ca9c..de05a6b2 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Aktifkan suara secara otomatis saat memutar video", "download": "unduh", "checking_for_updates": "Memeriksa pembaruan...", - "new_version_found": "versi baru ditemukan" + "new_version_found": "versi baru ditemukan", + "site_legal_meta_license_text": "5chan adalah perangkat lunak bebas dan open-source di bawah GPL-3.0-or-later." } diff --git a/public/translations/it/default.json b/public/translations/it/default.json index e2f10593..564f6760 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Attiva l'audio automaticamente durante la riproduzione video", "download": "scarica", "checking_for_updates": "Controllo aggiornamenti...", - "new_version_found": "nuova versione trovata" + "new_version_found": "nuova versione trovata", + "site_legal_meta_license_text": "5chan è software libero e open-source sotto GPL-3.0-or-later." } diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index 47c7a4cc..d1debd73 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "動画再生時に自動で音声をオンにする", "download": "ダウンロード", "checking_for_updates": "更新を確認しています...", - "new_version_found": "新しいバージョンが見つかりました" + "new_version_found": "新しいバージョンが見つかりました", + "site_legal_meta_license_text": "5chanはGPL-3.0-or-laterのもとで提供される自由かつオープンソースのソフトウェアです。" } diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index 8cbc3c29..b1d2e0b1 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "동영상 재생 시 자동으로 소리 켜기", "download": "다운로드", "checking_for_updates": "업데이트 확인 중...", - "new_version_found": "새 버전을 찾았습니다" + "new_version_found": "새 버전을 찾았습니다", + "site_legal_meta_license_text": "5chan은 GPL-3.0-or-later에 따른 자유 오픈 소스 소프트웨어입니다." } diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index 460f1a5e..524491ce 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "व्हिडिओ प्ले करताना आवाज स्वयंचलितपणे अनम्यूट करा", "download": "डाउनलोड", "checking_for_updates": "अपडेट तपासत आहे...", - "new_version_found": "नवीन आवृत्ती सापडली" + "new_version_found": "नवीन आवृत्ती सापडली", + "site_legal_meta_license_text": "5chan हे GPL-3.0-or-later अंतर्गत मुक्त आणि ओपन-सोर्स सॉफ्टवेअर आहे." } diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index 54711e2f..ffd949bf 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Geluid automatisch aanzetten bij videoweergave", "download": "downloaden", "checking_for_updates": "Controleren op updates...", - "new_version_found": "nieuwe versie gevonden" + "new_version_found": "nieuwe versie gevonden", + "site_legal_meta_license_text": "5chan is vrije en open-source software onder GPL-3.0-or-later." } diff --git a/public/translations/no/default.json b/public/translations/no/default.json index a9b4560d..6814a349 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Slå på lyd automatisk ved videospilling", "download": "last ned", "checking_for_updates": "Sjekker etter oppdateringer...", - "new_version_found": "ny versjon funnet" + "new_version_found": "ny versjon funnet", + "site_legal_meta_license_text": "5chan er fri programvare med åpen kildekode under GPL-3.0-or-later." } diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 86c77f6e..217c823c 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Automatycznie włączaj dźwięk podczas odtwarzania wideo", "download": "pobierz", "checking_for_updates": "Sprawdzanie aktualizacji...", - "new_version_found": "znaleziono nową wersję" + "new_version_found": "znaleziono nową wersję", + "site_legal_meta_license_text": "5chan to wolne i otwarte oprogramowanie na licencji GPL-3.0-or-later." } diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index bb3d6270..6e6e273c 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Ativar o som automaticamente na reprodução de vídeo", "download": "baixar", "checking_for_updates": "Verificando atualizações...", - "new_version_found": "nova versão encontrada" + "new_version_found": "nova versão encontrada", + "site_legal_meta_license_text": "5chan é software livre e de código aberto sob GPL-3.0-or-later." } diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index 62c79e34..40bbaeb8 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Activează automat sunetul la redarea videoclipului", "download": "descarcă", "checking_for_updates": "Se verifică actualizările...", - "new_version_found": "versiune nouă găsită" + "new_version_found": "versiune nouă găsită", + "site_legal_meta_license_text": "5chan este software liber și open-source sub GPL-3.0-or-later." } diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index 7e16b62f..2483e345 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Автоматически включать звук при воспроизведении видео", "download": "скачать", "checking_for_updates": "Проверка обновлений...", - "new_version_found": "найдена новая версия" + "new_version_found": "найдена новая версия", + "site_legal_meta_license_text": "5chan — свободное программное обеспечение с открытым исходным кодом под GPL-3.0-or-later." } diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index 6d53827e..f0a155c9 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Aktivizo zërin automatikisht gjatë riprodhimit të videos", "download": "shkarko", "checking_for_updates": "Duke kontrolluar për përditësime...", - "new_version_found": "u gjet version i ri" + "new_version_found": "u gjet version i ri", + "site_legal_meta_license_text": "5chan është softuer i lirë dhe me burim të hapur nën GPL-3.0-or-later." } diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index f5f76634..3ccf956c 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Aktivera ljud automatiskt vid videouppspelning", "download": "ladda ner", "checking_for_updates": "Söker efter uppdateringar...", - "new_version_found": "ny version hittades" + "new_version_found": "ny version hittades", + "site_legal_meta_license_text": "5chan är fri programvara med öppen källkod under GPL-3.0-or-later." } diff --git a/public/translations/te/default.json b/public/translations/te/default.json index c3985981..085a839d 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "వీడియో ప్లే చేసేటప్పుడు స్వయంచాలకంగా సౌండ్ అన్-మ్యూట్ చేయండి", "download": "డౌన్లోడ్", "checking_for_updates": "నవీకరణలను తనిఖీ చేస్తోంది...", - "new_version_found": "కొత్త వెర్షన్ కనుగొనబడింది" + "new_version_found": "కొత్త వెర్షన్ కనుగొనబడింది", + "site_legal_meta_license_text": "5chan GPL-3.0-or-later కింద ఉచిత మరియు ఓపెన్-సోర్స్ సాఫ్ట్‌వేర్." } diff --git a/public/translations/th/default.json b/public/translations/th/default.json index d23fafe8..c650db3c 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "เปิดเสียงอัตโนมัติเมื่อเล่นวิดีโอ", "download": "ดาวน์โหลด", "checking_for_updates": "กำลังตรวจสอบการอัปเดต...", - "new_version_found": "พบเวอร์ชันใหม่" + "new_version_found": "พบเวอร์ชันใหม่", + "site_legal_meta_license_text": "5chan เป็นซอฟต์แวร์เสรีและโอเพนซอร์สภายใต้ GPL-3.0-or-later" } diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index 76e54a91..34edd694 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Video oynatırken sesi otomatik aç", "download": "indir", "checking_for_updates": "Güncellemeler kontrol ediliyor...", - "new_version_found": "yeni sürüm bulundu" + "new_version_found": "yeni sürüm bulundu", + "site_legal_meta_license_text": "5chan, GPL-3.0-or-later kapsamında özgür ve açık kaynaklı yazılımdır." } diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index ba04dada..cbae53c5 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Автоматично вмикати звук під час відтворення відео", "download": "завантажити", "checking_for_updates": "Перевірка оновлень...", - "new_version_found": "знайдено нову версію" + "new_version_found": "знайдено нову версію", + "site_legal_meta_license_text": "5chan — це вільне програмне забезпечення з відкритим кодом за GPL-3.0-or-later." } diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index b6396a31..9f5fc7b6 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "ویڈیو پلے ہونے پر آواز خود بخود آن کریں", "download": "ڈاؤن لوڈ", "checking_for_updates": "اپڈیٹس چیک کیے جا رہے ہیں...", - "new_version_found": "نیا ورژن ملا" + "new_version_found": "نیا ورژن ملا", + "site_legal_meta_license_text": "5chan GPL-3.0-or-later کے تحت آزاد اور اوپن سورس سافٹ ویئر ہے۔" } diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index c4fa0d1a..5d50ed69 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "Tự động bật tiếng khi phát video", "download": "tải xuống", "checking_for_updates": "Đang kiểm tra cập nhật...", - "new_version_found": "đã tìm thấy phiên bản mới" + "new_version_found": "đã tìm thấy phiên bản mới", + "site_legal_meta_license_text": "5chan là phần mềm miễn phí và mã nguồn mở theo GPL-3.0-or-later." } diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index 95291cdf..14d4e1fb 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -323,5 +323,6 @@ "unmute_video_sound": "视频播放时自动开启声音", "download": "下载", "checking_for_updates": "正在检查更新...", - "new_version_found": "发现新版本" + "new_version_found": "发现新版本", + "site_legal_meta_license_text": "5chan 是采用 GPL-3.0-or-later 的自由开源软件。" } diff --git a/src/components/site-legal-meta/site-legal-meta.tsx b/src/components/site-legal-meta/site-legal-meta.tsx index 1022d520..30af0810 100644 --- a/src/components/site-legal-meta/site-legal-meta.tsx +++ b/src/components/site-legal-meta/site-legal-meta.tsx @@ -1,4 +1,5 @@ import Version from '../version'; +import { useTranslation } from 'react-i18next'; type SiteLegalMetaOrder = 'version-first' | 'license-first'; @@ -7,7 +8,11 @@ type SiteLegalMetaProps = { order?: SiteLegalMetaOrder; }; -const LicenseText = () => 5chan is free and open-source software under GPL-3.0-or-later.; +const LicenseText = () => { + const { t } = useTranslation(); + + return {t('site_legal_meta_license_text')}; +}; const VersionFeedbackContact = () => ( <>