From 3f2434ebd2402916e91852ac44f01c00e48c541d Mon Sep 17 00:00:00 2001 From: Quinten Stokkink Date: Wed, 11 Dec 2024 13:48:40 +0100 Subject: [PATCH] Updated various GUI descriptions --- src/tribler/ui/public/locales/en_US.json | 4 ++++ src/tribler/ui/public/locales/es_ES.json | 4 ++++ src/tribler/ui/public/locales/ko_KR.json | 4 ++++ src/tribler/ui/public/locales/pt_BR.json | 4 ++++ src/tribler/ui/public/locales/ru_RU.json | 4 ++++ src/tribler/ui/public/locales/zh_CN.json | 4 ++++ src/tribler/ui/src/pages/Settings/Anonymity.tsx | 17 +++++++++++++++-- .../ui/src/pages/Settings/Connection.tsx | 2 +- src/tribler/ui/src/pages/Settings/General.tsx | 1 + 9 files changed, 41 insertions(+), 3 deletions(-) diff --git a/src/tribler/ui/public/locales/en_US.json b/src/tribler/ui/public/locales/en_US.json index 02e6487bec..73a45a27ad 100644 --- a/src/tribler/ui/public/locales/en_US.json +++ b/src/tribler/ui/public/locales/en_US.json @@ -39,6 +39,7 @@ "EnableUTP": "Enabled bandwidth management (uTP)", "MaxConnections": "Max connections per download", "ZeroIsUnlimited": "0 = unlimited", + "MinusOneIsUnlimited": "-1 = unlimited", "Password": "Password", "UploadRate": "Upload rate limit", "DownloadRate": "Download rate limit", @@ -51,6 +52,8 @@ "SeedingNote": "Note that these settings also apply to existing downloads.", "MinHops": "High speed\nMinimum anonymity", "MaxHops": "Low speed\nHigh anonymity", + "HopInfo": "Decide how many proxies should be between you and the BitTorrent network by default. You can choose from 1, 2, or 3 proxies. The more you add, the harder it will be to discover you, but your download speed will also be lower.", + "ForMoreInfoRead": "For more information, read", "EnableDevMode": "Enable developer mode", "EnableStats": "Enable network statistics (requires restart)", "LogDir": "Log directory", @@ -127,6 +130,7 @@ "HTTP": "HTTP", "HTTPAuth": "HTTP with authentication", "WebServerSettings": "Web server settings", + "ZeroIsRandomPort": "A value of 0 lets your Operating System decide a random free port (recommended).", "VersionCurrent": "Current version", "VersionOld": "Old version", "VersionAvailable": "NEW VERSION AVAILABLE", diff --git a/src/tribler/ui/public/locales/es_ES.json b/src/tribler/ui/public/locales/es_ES.json index ff41161185..474726ed62 100644 --- a/src/tribler/ui/public/locales/es_ES.json +++ b/src/tribler/ui/public/locales/es_ES.json @@ -39,6 +39,7 @@ "EnableUTP": "Ancho de banda activado gestión (uTP)", "MaxConnections": "Conexiones máximas por descarga", "ZeroIsUnlimited": "0 = ilimitadas", + "MinusOneIsUnlimited": "-1 = ilimitadas", "Password": "Contraseña", "UploadRate": "Límite de velocidad de subida", "DownloadRate": "Límite de velocidad de descarga", @@ -51,6 +52,8 @@ "SeedingNote": "Tenga en cuenta que estos ajustes también se aplican a las descargas existentes.", "MinHops": "Alta velocidad\nMínimo anonimato", "MaxHops": "Baja velocidad\nAlto anonimato", + "HopInfo": "Decida cuántos servidores proxy debe haber entre usted y la red BitTorrent de forma predeterminada. Puede elegir entre 1, 2 o 3 proxies. Cuanto más agregues, más difícil será descubrirte, pero tu velocidad de descarga también será menor.", + "ForMoreInfoRead": "Para más información, lea", "EnableDevMode": "Activar el modo desarrollador", "EnableStats": "Activar las estadísticas de red (requiere reinicio)", "LogDir": "Carpeta de registros", @@ -127,6 +130,7 @@ "HTTP": "HTTP", "HTTPAuth": "HTTP con autenticación", "WebServerSettings": "Configurações do servidor web", + "ZeroIsRandomPort": "Un valor de 0 permite que su sistema operativo decida un puerto libre aleatorio (recomendado).", "VersionCurrent": "Versión actual", "VersionOld": "Versión antigua", "VersionAvailable": "NUEVA VERSIÓN DISPONIBLE", diff --git a/src/tribler/ui/public/locales/ko_KR.json b/src/tribler/ui/public/locales/ko_KR.json index eee4dd0189..ec7b5fc933 100644 --- a/src/tribler/ui/public/locales/ko_KR.json +++ b/src/tribler/ui/public/locales/ko_KR.json @@ -39,6 +39,7 @@ "EnableUTP": "활성화된 대역폭 관리(uTP)", "MaxConnections": "내려받기당 최대 연결 수", "ZeroIsUnlimited": "0 = 무제한", + "MinusOneIsUnlimited": "-1 = 무제한", "Password": "비밀번호", "UploadRate": "올리기 속도 제한", "DownloadRate": "내려받기 속도 제한", @@ -51,6 +52,8 @@ "SeedingNote": "해당 설정은 기존 내려받기에도 적용됩니다.", "MinHops": "고속\n최소 익명성", "MaxHops": "저속\n높은 익명성", + "HopInfo": "기본적으로 귀하와 BitTorrent 네트워크 사이에 몇 개의 프록시가 있어야 하는지 결정하세요. 1개, 2개 또는 3개의 프록시 중에서 선택할 수 있습니다. 더 많이 추가할수록 사용자를 발견하기가 더 어려워지지만 다운로드 속도도 느려집니다.", + "ForMoreInfoRead": "자세한 내용은 다음을 읽어보세요.", "EnableDevMode": "개발자 모드 사용", "EnableStats": "네트워크 통계 사용(다시 시작해야 함)", "LogDir": "로그 디렉터리", @@ -124,6 +127,7 @@ "HTTP": "HTTP", "HTTPAuth": "인증이 포함된 HTTP", "WebServerSettings": "웹 서버 설정", + "ZeroIsRandomPort": "값이 0이면 운영 체제에서 임의의 여유 포트를 결정할 수 있습니다(권장).", "VersionCurrent": "현재 버전", "VersionOld": "이전 버전", "VersionAvailable": "새로운 버전 이용 가능", diff --git a/src/tribler/ui/public/locales/pt_BR.json b/src/tribler/ui/public/locales/pt_BR.json index 37556a89a8..d6c1dab801 100644 --- a/src/tribler/ui/public/locales/pt_BR.json +++ b/src/tribler/ui/public/locales/pt_BR.json @@ -37,6 +37,7 @@ "BittorrentFeatures": "Recursos BitTorrent", "MaxConnections": "Máximo de conexões por download", "ZeroIsUnlimited": "0 = sem limites", + "MinusOneIsUnlimited": "-1 = sem limites", "Password": "Senha", "UploadRate": "Limite de upload", "DownloadRate": "Limite de upload", @@ -49,6 +50,8 @@ "SeedingNote": "Essas configurações também se aplicam à downloads já existentes", "MinHops": "Alta Velocidade\nBaixa anonimidade", "MaxHops": "Baixa Velocidade\nAlta anonimidade", + "HopInfo": "Decida quantos proxies devem existir entre você e a rede BitTorrent por padrão. Você pode escolher entre 1, 2 ou 3 proxies. Quanto mais você adicionar, mais difícil será descobrir você, mas sua velocidade de download também será menor.", + "ForMoreInfoRead": "Para mais informações, leia", "EnableDevMode": "Ativar o modo de desenvolvedor", "EnableStats": "Ativar estatísticas de rede (requer reinicialização)", "LogDir": "Diretório de registro", @@ -121,6 +124,7 @@ "HTTP": "HTTP", "HTTPAuth": "HTTP com autenticação", "WebServerSettings": "Configurações do servidor web", + "ZeroIsRandomPort": "Um valor 0 permite que seu sistema operacional decida uma porta livre aleatória (recomendado).", "VersionCurrent": "Versão atual", "VersionOld": "Versão antiga", "VersionAvailable": "NOVA VERSÃO DISPONÍVEL", diff --git a/src/tribler/ui/public/locales/ru_RU.json b/src/tribler/ui/public/locales/ru_RU.json index c83a8bef6e..4a62d3b11d 100644 --- a/src/tribler/ui/public/locales/ru_RU.json +++ b/src/tribler/ui/public/locales/ru_RU.json @@ -40,6 +40,7 @@ "EnableUTP": "Использовать uTP", "MaxConnections": "Макс. число соединений", "ZeroIsUnlimited": "0 = без ограничения", + "MinusOneIsUnlimited": "-1 = без ограничения", "Password": "Пароль", "UploadRate": "Исходящий трафик", "DownloadRate": "Входящий трафик", @@ -52,6 +53,8 @@ "SeedingNote": "Обратите внимание, что эти настройки применяются", "MinHops": "Высокая скорость\nМинимальная анонимность", "MaxHops": "Низкая скорость\nМаксимальная анонимность", + "HopInfo": "Решите, сколько прокси должно быть между вами и сетью BitTorrent по умолчанию. Вы можете выбрать один, два или три прокси. Чем больше вы добавите, тем сложнее будет вас найти, но и скорость загрузки будет ниже.", + "ForMoreInfoRead": "Для получения дополнительной информации читайте", "EnableDevMode": "Включить "режим разработчика"", "EnableStats": "Включить сбор сетевой статистики", "LogDir": "Папка журнала", @@ -128,6 +131,7 @@ "HTTP": "HTTP", "HTTPAuth": "HTTP с аутентификацией", "WebServerSettings": "Настройки веб-сервера", + "ZeroIsRandomPort": "Значение 0 позволяет вашей операционной системе выбирать случайный свободный порт (рекомендуется).", "VersionCurrent": "Текущая версия", "VersionOld": "Старая версия", "VersionAvailable": "ДОСТУПНА НОВАЯ ВЕРСИЯ", diff --git a/src/tribler/ui/public/locales/zh_CN.json b/src/tribler/ui/public/locales/zh_CN.json index a87cf563f8..c83ab72c8b 100644 --- a/src/tribler/ui/public/locales/zh_CN.json +++ b/src/tribler/ui/public/locales/zh_CN.json @@ -38,6 +38,7 @@ "EnableUTP": "启用带宽管理(uTP)", "MaxConnections": "每个下载任务的最大连接数", "ZeroIsUnlimited": "0 = 无限制", + "MinusOneIsUnlimited": "-1 = 无限制", "Password": "密码", "UploadRate": "上传速率限制", "DownloadRate": "下载速率限制", @@ -50,6 +51,8 @@ "SeedingNote": "注意这些设置也会应用到现有的下载任务。", "MinHops": "高速\n低匿名性", "MaxHops": "低速\n高匿名性", + "HopInfo": "决定默认情况下您和 BitTorrent 网络之间应有多少代理。 您可以选择 1、2 或 3 个代理。 添加的越多,就越难被发现,但你的下载速度也会降低。", + "ForMoreInfoRead": "欲了解更多信息,请阅读", "EnableDevMode": "启用开发者模式", "EnableStats": "启用网络统计(需要重启)", "LogDir": "日志目录", @@ -127,6 +130,7 @@ "HTTP": "HTTP", "HTTPAuth": "带身份验证的 HTTP和", "WebServerSettings": "网络服务器设置", + "ZeroIsRandomPort": "值 0 让您的操作系统决定随机的空闲端口(推荐)。", "VersionCurrent": "当前版本", "VersionOld": "旧版", "VersionAvailable": "新版本上线", diff --git a/src/tribler/ui/src/pages/Settings/Anonymity.tsx b/src/tribler/ui/src/pages/Settings/Anonymity.tsx index 74a004c71b..2640e2541c 100644 --- a/src/tribler/ui/src/pages/Settings/Anonymity.tsx +++ b/src/tribler/ui/src/pages/Settings/Anonymity.tsx @@ -26,8 +26,20 @@ export default function Anonimity() { return null; } + function hopsToString(hops: number | undefined) { + switch(hops){ + case 3: {return t("ThreeHops");} + case 2: {return t("TwoHops");} + default: {return t("OneHop");} + } + } + return ( -
+
+

{t('HopInfo')}

+
+

{t('ForMoreInfoRead')} https://www.tribler.org/anonymity.html.

+
{t('MinHops')} @@ -56,7 +68,8 @@ export default function Anonimity() { {t('MaxHops')}
- +
{hopsToString(settings?.libtorrent?.download_defaults?.number_hops)}
+
{ if (settings){ diff --git a/src/tribler/ui/src/pages/Settings/Connection.tsx b/src/tribler/ui/src/pages/Settings/Connection.tsx index e10cf8a1e0..74dcf366f5 100644 --- a/src/tribler/ui/src/pages/Settings/Connection.tsx +++ b/src/tribler/ui/src/pages/Settings/Connection.tsx @@ -185,7 +185,7 @@ export default function Connection() { }} />
-

{t('ZeroIsUnlimited')}

+

{t('MinusOneIsUnlimited')}

+

{t('ZeroIsRandomPort')}

{t('DefaultDownloadSettings')}