From 8cd1b4ca6dd9fc1d597685acf1784128e56028c9 Mon Sep 17 00:00:00 2001 From: Vanessa Christopher Date: Wed, 1 Jul 2026 19:10:06 +0100 Subject: [PATCH] Update translations and adjust layout in Landing component --- public/locales/en/translation.json | 8 ++++++++ public/locales/es/translation.json | 8 ++++++++ public/locales/fa/translation.json | 8 ++++++++ public/locales/fr/translation.json | 8 ++++++++ src/Components/Landing.js | 4 ++-- src/Components/Project.js | 6 ++++-- 6 files changed, 38 insertions(+), 4 deletions(-) diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index bc89cb1c5..351e810a2 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -54,8 +54,16 @@ "bridge": "Allows users to communicate with online platforms via SMS entirely, without needing any internet. Enables a secure handshake and encrypted exchange over SMS only.", "publisher": "Middleware sitting between Gateway and backend. Pluggable PNBA adapters for Telegram and other platforms. Handles decryption and routing." }, + "libraryTitles": { + "smsmms-library": "lib_smsmms_android", + "lib-image": "Lib Image", + "adapter-interface": "Publisher Adapters", + "rusty_relaysms_payload_specs": "Rusty Specs" + }, "libraryDescriptions": { "smsmms-library": "Android SMS and MMS transport library used by RelaySMS and DekuSMS. Handles carrier messaging flows, runtime permissions, MMS sending, and default-SMS integration.", + "lib-image": "Image helper library for MMS and media processing in the mobile messaging stack. Used by both RelaySMS Android and iOS.", + "rusty_relaysms_payload_specs": "Implementation of the RelaySMS specifications paper and security implementation details from the technical paper.", "double-ratchet-java": "Android encryption helper library implementing Signal Double Ratchet primitives for mobile apps in the RelaySMS stack.", "double-ratchet-python": "Python cryptography library implementing Signal Double Ratchet and supporting helpers for secure exchange across backend services.", "double-ratchet-ios": "Swift implementation of SMSWithoutBorders' Signal Double Ratchet cryptography helpers for secure message exchange on iOS.", diff --git a/public/locales/es/translation.json b/public/locales/es/translation.json index 4c769dea1..6dc0c60ba 100644 --- a/public/locales/es/translation.json +++ b/public/locales/es/translation.json @@ -54,8 +54,16 @@ "bridge": "Permite a los usuarios comunicarse con plataformas en línea totalmente por SMS, sin necesidad de internet. Habilita un intercambio seguro y cifrado solo por SMS.", "publisher": "Middleware entre Gateway y backend. Adaptadores PNBA conectables para Telegram y otras plataformas. Gestiona descifrado y enrutamiento." }, + "libraryTitles": { + "smsmms-library": "lib_smsmms_android", + "lib-image": "Lib Image", + "adapter-interface": "Adaptadores del publicador", + "rusty_relaysms_payload_specs": "Especificaciones Rusty" + }, "libraryDescriptions": { "smsmms-library": "Biblioteca Android de transporte SMS y MMS utilizada por RelaySMS y DekuSMS. Gestiona flujos de mensajería del operador, permisos en tiempo de ejecución, envío MMS e integración como app SMS predeterminada.", + "lib-image": "Biblioteca auxiliar de imágenes para MMS y procesamiento multimedia en la pila de mensajería móvil. Utilizada tanto por RelaySMS Android como por iOS.", + "rusty_relaysms_payload_specs": "Implementación del documento de especificaciones de RelaySMS y de los detalles de implementación de seguridad del documento técnico.", "double-ratchet-java": "Biblioteca auxiliar de cifrado para Android que implementa primitivas Signal Double Ratchet para apps móviles de la pila RelaySMS.", "double-ratchet-python": "Biblioteca criptográfica en Python que implementa Signal Double Ratchet y utilidades de apoyo para intercambio seguro entre servicios backend.", "double-ratchet-ios": "Implementación en Swift de utilidades criptográficas Signal Double Ratchet de SMSWithoutBorders para intercambio seguro de mensajes en iOS.", diff --git a/public/locales/fa/translation.json b/public/locales/fa/translation.json index be31ae655..6103f4391 100644 --- a/public/locales/fa/translation.json +++ b/public/locales/fa/translation.json @@ -54,8 +54,16 @@ "bridge": "به کاربران اجازه می‌دهد کاملا از طریق SMS و بدون نیاز به اینترنت با پلتفرم‌های آنلاین ارتباط برقرار کنند. تبادل امن و رمزگذاری‌شده فقط از طریق پیامک را فراهم می‌کند.", "publisher": "میان‌افزاری بین Gateway و backend. شامل آداپتورهای قابل اتصال PNBA برای Telegram و سایر پلتفرم‌ها است و وظیفه رمزگشایی و مسیردهی را انجام می‌دهد." }, + "libraryTitles": { + "smsmms-library": "lib_smsmms_android", + "lib-image": "Lib Image", + "adapter-interface": "آداپتورهای ناشر", + "rusty_relaysms_payload_specs": "مشخصات Rusty" + }, "libraryDescriptions": { "smsmms-library": "کتابخانه انتقال SMS و MMS در اندروید که توسط RelaySMS و DekuSMS استفاده می‌شود. جریان‌های پیام‌رسانی اپراتور، مجوزهای زمان اجرا، ارسال MMS و یکپارچگی با برنامه پیش‌فرض پیامک را مدیریت می‌کند.", + "lib-image": "کتابخانه کمکی تصویر برای MMS و پردازش رسانه در پشته پیام‌رسانی موبایل. در RelaySMS اندروید و iOS استفاده می‌شود.", + "rusty_relaysms_payload_specs": "پیاده‌سازی سند مشخصات RelaySMS و جزئیات پیاده‌سازی امنیتی از سند فنی.", "double-ratchet-java": "کتابخانه کمکی رمزنگاری اندروید که Primitiveهای Signal Double Ratchet را برای اپلیکیشن‌های موبایل در پشته RelaySMS پیاده‌سازی می‌کند.", "double-ratchet-python": "کتابخانه رمزنگاری پایتون که Signal Double Ratchet و ابزارهای کمکی لازم برای تبادل امن بین سرویس‌های backend را پیاده‌سازی می‌کند.", "double-ratchet-ios": "پیاده‌سازی Swift از ابزارهای رمزنگاری Signal Double Ratchet در SMSWithoutBorders برای تبادل امن پیام در iOS.", diff --git a/public/locales/fr/translation.json b/public/locales/fr/translation.json index b0c79be88..b46697548 100644 --- a/public/locales/fr/translation.json +++ b/public/locales/fr/translation.json @@ -54,8 +54,16 @@ "bridge": "Permet aux utilisateurs de communiquer avec des plateformes en ligne uniquement via SMS, sans internet. Active un échange sécurisé et chiffré uniquement par SMS.", "publisher": "Middleware situé entre Gateway et le backend. Adaptateurs PNBA enfichables pour Telegram et d'autres plateformes. Gère le déchiffrement et le routage." }, + "libraryTitles": { + "smsmms-library": "lib_smsmms_android", + "lib-image": "Lib Image", + "adapter-interface": "Adaptateurs Publisher", + "rusty_relaysms_payload_specs": "Spécifications Rusty" + }, "libraryDescriptions": { "smsmms-library": "Bibliothèque Android de transport SMS et MMS utilisée par RelaySMS et DekuSMS. Gère les flux de messagerie opérateur, les permissions runtime, l'envoi MMS et l'intégration comme application SMS par défaut.", + "lib-image": "Bibliothèque d'aide au traitement d'images pour les MMS et le traitement média dans la pile de messagerie mobile. Utilisée par RelaySMS Android et iOS.", + "rusty_relaysms_payload_specs": "Implémentation du document de spécifications RelaySMS et des détails d'implémentation de sécurité du document technique.", "double-ratchet-java": "Bibliothèque d'aide au chiffrement Android implémentant les primitives Signal Double Ratchet pour les applications mobiles de la pile RelaySMS.", "double-ratchet-python": "Bibliothèque cryptographique Python implémentant Signal Double Ratchet et des assistants pour un échange sécurisé entre services backend.", "double-ratchet-ios": "Implémentation Swift des assistants cryptographiques Signal Double Ratchet de SMSWithoutBorders pour l'échange sécurisé de messages sur iOS.", diff --git a/src/Components/Landing.js b/src/Components/Landing.js index e5026d80c..c362b41a6 100644 --- a/src/Components/Landing.js +++ b/src/Components/Landing.js @@ -73,8 +73,8 @@ function NewHero({ t, isFarsi }) { maxWidth="xl" sx={{ minHeight: "100svh", - py: { xs: 2, md: 0 }, - px: { xs: 2, sm: 3, md: 0 }, + py: { xs: 2 }, + px: { xs: 2, sm: 3 }, display: "grid", alignItems: "center", alignContent: "center", diff --git a/src/Components/Project.js b/src/Components/Project.js index a42ce3af4..83870c123 100644 --- a/src/Components/Project.js +++ b/src/Components/Project.js @@ -386,7 +386,9 @@ function LibraryCardCell({ item, index }) { wordBreak: "break-word", }} > - {item.title} + {t(`libraryTitles.${item.key}`, { + defaultValue: item.title, + })} {t("projectSubHeader", { defaultValue: - "RelaySMS and DekuSMS sit at the front, with the relay infrastructure and shared libraries underneath them. Everything here is public, outlined, and easy to inspect.", + "SMSWithoutBorders Commits to buiding OpenSource Tools That Aid Free speech and Communication", })}