diff --git a/src/tribler/gui/i18n/es_ES.qm b/src/tribler/gui/i18n/es_ES.qm index ef4fc43c09e..acd5c5de356 100644 Binary files a/src/tribler/gui/i18n/es_ES.qm and b/src/tribler/gui/i18n/es_ES.qm differ diff --git a/src/tribler/gui/i18n/es_ES.ts b/src/tribler/gui/i18n/es_ES.ts index ee23c68ec0d..62dc38deb84 100644 --- a/src/tribler/gui/i18n/es_ES.ts +++ b/src/tribler/gui/i18n/es_ES.ts @@ -151,7 +151,7 @@ %d sembradores, %d recolectores - + Copying magnet link Copiar enlace magnet @@ -313,34 +313,34 @@ Nuevos resultados remotos recibidos: %(num_remote_results)i Resultados de la búsqueda de %s - + System default Sistema por defecto - + Please select the log directory Seleccione la carpeta del registro - + Insufficient Permissions Permisos insuficientes - + Versions: - %s Versiones: - %s - + Confirm delete older versions? ¿Confirmar la eliminación de versiones anteriores? - + Are you sure to remove the selected versions? You can not undo this action. ¿Está seguro de eliminar las versiones seleccionadas? @@ -377,22 +377,22 @@ No puede deshacer esta acción. Ha introducido un formato no válido para el número de puerto proxy. Por favor, introduzca un número entero. - + Invalid number of connections Número de conexiones no válido - + You've entered an invalid format for the maximum number of connections. Please enter a whole number. Ha introducido un formato no válido para el número máximo de conexiones. Por favor, introduzca un número entero. - + Invalid value for bandwidth limit Valor no válido para el límite de ancho de banda - + You've entered an invalid value for the maximum upload/download rate. The rate is specified in KB/s and the value permitted is between 0 and %d KB/s. Note that the decimal values are truncated. @@ -401,32 +401,32 @@ La tasa se especifica en KB/s y el valor permitido está entre 0 y %d KB/s. Tenga en cuenta que los valores decimales están truncados. - + Invalid value for api port Valor no válido para el puerto api - + Please enter a valid port for the api (between 0 and 65536) Por favor, introduzca un puerto válido para la api (entre 0 y 65536) - + Invalid seeding time Tiempo de siembra no válido - + You've entered an invalid format for the seeding time (expected HH:MM) Ha introducido un formato no válido para la hora de siembra (esperado HH:MM) - + Tribler settings Configuración de tribler - + Settings saved Configuración guardada @@ -498,14 +498,14 @@ Tenga en cuenta que los valores decimales están truncados. Suscrito - + Subscribed.%s (Click to unsubscribe) Suscrito.%s (Haga clic para darse de baja) - + Not subscribed. (Click to subscribe) No suscrito. @@ -637,37 +637,37 @@ Tenga en cuenta que los valores decimales están truncados. Borrar archivo - + Unexpected error Error inesperado - + What were you doing before this crash happened? This information will help Tribler developers to figure out and fix the issue quickly. ¿Qué estaba haciendo antes de que se produjera el fallo? Esta información ayudará a los desarrolladores de Tribler a averiguar y solucionar el problema rápidamente. - + Remove entry Borrar entrada - + SENDING... ENVIANDO... Not provided - No disponible + No disponible - + Successfully sent the report! Thanks for your contribution. El informe se ha enviado correctamente. Gracias por su contribución. - + Report Sent Informe enviado @@ -692,82 +692,82 @@ Tenga en cuenta que los valores decimales están truncados. Nombre del canal - + directly directamente - + anonymously anónimamente - + Loading torrent files %s... Cargando archivos torrent %s... - + Timeout in fetching files %s. Retrying %i/%i Tiempo de espera para obtener archivos %s. Reintentando %i/%i - + Failed to load files. Click to retry again. No se pudieron cargar los archivos. Haga clic para volver a intentarlo. - + Unable to read torrent file data No se pueden leer los datos del archivo torrent - + Error: %s Error: %s - + Note: this torrent already exists in the Downloads Nota: este torrent ya existe en Descargas - + Torrent size: Tamaño de torrente: - + Selected: Seleccionado: - + Total: Total: - + Please select the destination directory of your download Seleccione la carpeta destino de la descarga - + Tribler cannot download to <i>%s</i> directory. Please add proper write permissions to the directory or choose another download directory. [%s] Tribler no puede descargar en la carpeta <i>%s</i> . Por favor, añada permisos de escritura adecuados a la carpeta o elija otra carpeta de descarga. [%s] - + No files selected Ningún archivo seleccionado - + Please select at least one file to download. Seleccione al menos un archivo para descargar. - + Tribler cannot download to <i>%s</i> directory. Please add proper write permissions to the directory or choose another download directory and try to download again. [%s] Tribler no puede descargar en la carpeta <i>%s</i> . Por favor, añada permisos de escritura adecuados a la carpeta o elija otra carpeta de descarga e intente descargar de nuevo. [%s] @@ -832,7 +832,7 @@ Tenga en cuenta que los valores decimales están truncados. Error de descarga <i>%s</i> - + New version available Disponible una nueva versión @@ -842,17 +842,17 @@ Tenga en cuenta que los valores decimales están truncados. La versión %s de Tribler está disponible. ¿Quieres visitar la página web para descargar la versión más reciente? - + IGNORE IGNORAR - + LATER MAS TARDE - + OK ACEPTAR @@ -1001,7 +1001,7 @@ Tenga en cuenta que los valores decimales están truncados. Error de configuración de Tribler - + Press 'Yes' to remove state directories for older versions of Tribler and reclaim %s of storage space. Tribler used those directories during upgrades from previous versions. Now those directories can be safely deleted. If unsure, press 'No'. You will be able to remove those directories from the Settings->Data page later. @@ -1010,173 +1010,173 @@ If unsure, press 'No'. You will be able to remove those directories fr Si no está seguro, pulse "No". Más adelante podrá eliminar esas carpetas desde la pestaña, Configuración->Datos. - + Backing up state directory, please wait Haciendo copia de seguridad de las carpetas de estado, por favor espere - + Zero popularity Cero popularidad - + Very low popularity Muy baja popularidad - + 3rd tier popularity Popularidad de 3º nivel - + 2nd tier popularity Popularidad de 2º nivel - + 1st tier popularity Popularidad de 1º nivel - + just now ahora mismo - + seconds ago hace unos segundos - + a minute ago hace un minuto - + minutes ago hace unos minutos - + an hour ago hace 1 hora - + hours ago hace unas horas - + yesterday ayer - + days ago hace unos días - + week semana - + weeks semanas - + ago hace - + month mes - + months meses - + year año - + years años - + Forever Para siempre - + %(years)iy %(weeks)iw %(years)ia %(weeks)is - + %(weeks)iw %(days)id %(weeks)is %(days)id - + %(days)id %(hours)ih %(days)id %(hours)ih - + %(hours)ih %(minutes)im %(hours)ih %(minutes)im - + %(minutes)im %(seconds)is %(minutes)im %(seconds)is - + %(seconds)is %(seconds)is - + Please specify the path to the download directory - + The path is not specified - + Version %s of Tribler is available. Do you want to visit the website to download the newest version? - + Delete state directories for old versions? - + Ancient version detected - - You are running an old version of Tribler. It is not possible to upgrade from this version to the most recent one.Please do upgrade incrementally (download Tribler 7.10, upgrade, then download the most recent one, upgrade). + + You are running an old version of Tribler. It is not possible to upgrade from this version to the most recent one. Please do upgrade incrementally (download Tribler 7.10, upgrade, then download the most recent one, upgrade). @@ -1427,11 +1427,6 @@ Si no está seguro, pulse "No". Más adelante podrá eliminar esas car Value - - - Title - - Description @@ -1452,6 +1447,11 @@ Si no está seguro, pulse "No". Más adelante podrá eliminar esas car <html><head/><body><p align="center">You can also help by suggesting several tags below that accurately describe this item (e.g., <span style=" font-style:italic;">video</span>).</p></body></html> + + + Content Item + + MainWindow diff --git a/src/tribler/gui/i18n/pt_BR.ts b/src/tribler/gui/i18n/pt_BR.ts index dd5daf707b3..5706c662c0f 100644 --- a/src/tribler/gui/i18n/pt_BR.ts +++ b/src/tribler/gui/i18n/pt_BR.ts @@ -43,77 +43,77 @@ Saúde - + just now agora mesmo - + seconds ago segundos atrás - + a minute ago um minuto atrás - + minutes ago minutos atrás - + an hour ago uma hora atrás - + hours ago horas atrás - + yesterday ontem - + days ago dias atrás - + week semana - + weeks semanas - + ago atrás - + month mês - + months meses - + year ano - + years anos @@ -143,7 +143,7 @@ Torrent(s) adicionados ao seu canal - + New version available Nova versão disponível @@ -414,24 +414,24 @@ Mudar anonimidade - + Please select the log directory Selecione o diretório de registro - + Insufficient Permissions Permissões insuficiente - + Versions: - %s Versões: - %s - + Confirm delete older versions? Tem certeza que deseja deletar versões antigas? @@ -461,49 +461,49 @@ Você inseriu um formato inválido para o número da porta do proxy. Por favor, insira um número inteiro - + Invalid number of connections Número de conexões inválido - + You've entered an invalid format for the maximum number of connections. Please enter a whole number. Você inseriu um formato inválido para o número máximo de conexões. Por favor, insira um número inteiro - + Invalid value for bandwidth limit Valor inválido para limite de largura de banda - + You've entered an invalid value for the maximum upload/download rate. The rate is specified in KB/s and the value permitted is between 0 and %d KB/s. Note that the decimal values are truncated. Valor inválido para porta api - + Invalid value for api port Valor inválido para porta api - + Please enter a valid port for the api (between 0 and 65536) Insira uma porta válida para a api (entre 0 e 65536 - + Invalid seeding time Tempo de semeadura inválido - + You've entered an invalid format for the seeding time (expected HH:MM) Você inseriu um formato inválido para o tempo de seed (esperado HH: mm) - + Settings saved Configurações salvas @@ -539,13 +539,13 @@ Note that the decimal values are truncated. - + Subscribed.%s (Click to unsubscribe) - + Not subscribed. (Click to subscribe) @@ -606,7 +606,7 @@ Note that the decimal values are truncated. Remover do canal - + Press 'Yes' to remove state directories for older versions of Tribler and reclaim %s of storage space. Tribler used those directories during upgrades from previous versions. Now those directories can be safely deleted. If unsure, press 'No'. You will be able to remove those directories from the Settings->Data page later. @@ -648,22 +648,22 @@ If unsure, press 'No'. You will be able to remove those directories fr - + Version %s of Tribler is available. Do you want to visit the website to download the newest version? Versão %s disponível. Quer visitar o site para baixar a versão mais recente? - + IGNORE IGNORAR - + LATER DEPOIS - + OK OK @@ -805,32 +805,32 @@ If unsure, press 'No'. You will be able to remove those directories fr - + Zero popularity Popularidade zero - + Very low popularity Popularidade muito baixa. - + 3rd tier popularity 3º Nível de Popularidade. - + 2nd tier popularity 2º Nível de Popularidade. - + 1st tier popularity 1ª Nível de popularidade - + Forever Para sempre @@ -855,7 +855,7 @@ If unsure, press 'No'. You will be able to remove those directories fr Excluir arquivo - + Copying magnet link Copiando o link magnet. @@ -880,12 +880,12 @@ If unsure, press 'No'. You will be able to remove those directories fr Arquivos torrent%s - + System default Padrão do sistema - + Tribler settings Configurações @@ -910,38 +910,38 @@ If unsure, press 'No'. You will be able to remove those directories fr - + Are you sure to remove the selected versions? You can not undo this action. - + %(years)iy %(weeks)iw - + %(weeks)iw %(days)id - + %(days)id %(hours)ih - + %(hours)ih %(minutes)im - + %(minutes)im %(seconds)is - + %(seconds)is @@ -1006,40 +1006,35 @@ You can not undo this action. - + Unexpected error - + What were you doing before this crash happened? This information will help Tribler developers to figure out and fix the issue quickly. - + Remove entry - + Successfully sent the report! Thanks for your contribution. - + Report Sent - + SENDING... - - - Not provided - - Create new channel @@ -1061,67 +1056,67 @@ You can not undo this action. - + directly - + anonymously - + Loading torrent files %s... - + Timeout in fetching files %s. Retrying %i/%i - + Failed to load files. Click to retry again. - + Unable to read torrent file data - + Error: %s - + Note: this torrent already exists in the Downloads - + Please select the destination directory of your download - + Tribler cannot download to <i>%s</i> directory. Please add proper write permissions to the directory or choose another download directory. [%s] - + No files selected - + Please select at least one file to download. - + Tribler cannot download to <i>%s</i> directory. Please add proper write permissions to the directory or choose another download directory and try to download again. [%s] @@ -1152,48 +1147,48 @@ New remote results received: %(num_remote_results)i - + Torrent size: - + Selected: - + Total: - + Please specify the path to the download directory - + The path is not specified - + Backing up state directory, please wait - + Delete state directories for old versions? - + Ancient version detected - - You are running an old version of Tribler. It is not possible to upgrade from this version to the most recent one.Please do upgrade incrementally (download Tribler 7.10, upgrade, then download the most recent one, upgrade). + + You are running an old version of Tribler. It is not possible to upgrade from this version to the most recent one. Please do upgrade incrementally (download Tribler 7.10, upgrade, then download the most recent one, upgrade). @@ -1474,11 +1469,6 @@ New remote results received: %(num_remote_results)i Value - - - Title - - Description @@ -1524,6 +1514,11 @@ New remote results received: %(num_remote_results)i SIZE TAMANHO + + + Content Item + + MainWindow diff --git a/src/tribler/gui/i18n/ru_RU.qm b/src/tribler/gui/i18n/ru_RU.qm index 70f8061c083..8e6fd6be97b 100644 Binary files a/src/tribler/gui/i18n/ru_RU.qm and b/src/tribler/gui/i18n/ru_RU.qm differ diff --git a/src/tribler/gui/i18n/ru_RU.ts b/src/tribler/gui/i18n/ru_RU.ts index 8b27d6b157f..e3855b63bf9 100644 --- a/src/tribler/gui/i18n/ru_RU.ts +++ b/src/tribler/gui/i18n/ru_RU.ts @@ -43,77 +43,77 @@ Популярность - + just now только что - + seconds ago секунд назад - + a minute ago минуту назад - + minutes ago минут назад - + an hour ago час назад - + hours ago часов назад - + yesterday вчера - + days ago дней назад - + week неделю - + weeks недель - + ago назад - + month месяц - + months месяцев - + year год - + years лет @@ -138,7 +138,7 @@ Торрент(ы) добавлен(ы) в персональный канал - + New version available Доступна новая версия @@ -406,24 +406,24 @@ Изменить уровень анонимности - + Please select the log directory Пожалуйста, выберите директорию для сохранения журнала - + Insufficient Permissions Недостаточно прав доступа - + Versions: - %s Версии: - %s - + Confirm delete older versions? Подтверждаете удаление данных устаревших версий? @@ -453,22 +453,22 @@ Вы ввели номер порта в неверном формате. Требуется целое положительное число [1024-65535]. - + Invalid number of connections Некорректное число соединений - + You've entered an invalid format for the maximum number of connections. Please enter a whole number. Вы ввели число портов в неверном формате. Требуется целое число. - + Invalid value for bandwidth limit Некорректное ограничение пропускной способности - + You've entered an invalid value for the maximum upload/download rate. The rate is specified in KB/s and the value permitted is between 0 and %d KB/s. Note that the decimal values are truncated. @@ -477,27 +477,27 @@ Note that the decimal values are truncated. Обратите внимание, что число округляется до десятков. - + Invalid value for api port Некорректное значение порта API Tribler - + Please enter a valid port for the api (between 0 and 65536) Пожалуйста, введите корректное значение порта API Tribler [1024, 65535] - + Invalid seeding time Некорректное ограничение времени раздачи - + You've entered an invalid format for the seeding time (expected HH:MM) Вы ввели ограничение времени раздачи в некорректном формате. Ожидаемый формат: ЧЧ:ММ - + Settings saved Настройки сохранены @@ -523,14 +523,14 @@ Note that the decimal values are truncated. Нажмите, чтобы отписаться. - + Subscribed.%s (Click to unsubscribe) Вы подписаны.%s (Нажмите, чтобы отписаться) - + Not subscribed. (Click to subscribe) Вы не подписаны. @@ -592,7 +592,7 @@ Note that the decimal values are truncated. Удалить из канала - + Press 'Yes' to remove state directories for older versions of Tribler and reclaim %s of storage space. Tribler used those directories during upgrades from previous versions. Now those directories can be safely deleted. If unsure, press 'No'. You will be able to remove those directories from the Settings->Data page later. @@ -636,22 +636,22 @@ If unsure, press 'No'. You will be able to remove those directories fr Ошибка загрузки <i>%s</i> - + Version %s of Tribler is available. Do you want to visit the website to download the newest version? Доступна новая версия Tribler: %s. Перейти к веб-сайту разработчиков чтобы загрузить её? - + IGNORE ПРОПУСТИТЬ - + LATER НАПОМНИТЬ ПОЗЖЕ - + OK ОК @@ -795,32 +795,32 @@ If unsure, press 'No'. You will be able to remove those directories fr Ошибка конфигурации Tribler - + Zero popularity Нулевая популярность - + Very low popularity Очень низкая популярность - + 3rd tier popularity Низкая популярность - + 2nd tier popularity Средняя популярность - + 1st tier popularity Высокая популярность - + Forever ♾️Вечность♾️ @@ -845,7 +845,7 @@ If unsure, press 'No'. You will be able to remove those directories fr Исключить файл - + Copying magnet link Копируем magnet-ссылку @@ -865,12 +865,12 @@ If unsure, press 'No'. You will be able to remove those directories fr Результаты поиска для запроса %s - + System default Системный по умолчанию - + Are you sure to remove the selected versions? You can not undo this action. Вы уверены, что хотите удалить данные для выбранных версий? @@ -885,7 +885,7 @@ You can not undo this action. - + Tribler settings Настройки Tribler @@ -915,32 +915,32 @@ You can not undo this action. Торрент-файлы%s - + %(years)iy %(weeks)iw %(years)iл %(weeks)iн - + %(weeks)iw %(days)id %(weeks)iн %(days)iд - + %(days)id %(hours)ih %(days)iд %(hours)iч - + %(hours)ih %(minutes)im %(hours)iч %(minutes)iм - + %(minutes)im %(seconds)is %(minutes)iм %(seconds)iс - + %(seconds)is %(seconds)iс @@ -1010,39 +1010,39 @@ You can not undo this action. Убрать файл - + Unexpected error Отчёт об ошибке - + What were you doing before this crash happened? This information will help Tribler developers to figure out and fix the issue quickly. Какие действия вы совершали, прежде чем произошёл сбой? Подробное описание произошедшего поможет разработчикам выяснить причину ошибки и исправить её. - + Remove entry Удалить запись - + Successfully sent the report! Thanks for your contribution. Отчет об ошибке отправлен успешно! Спасибо за помощь! - + Report Sent Отчет отправлен - + SENDING... ОТПРАВЛЯЕМ... Not provided - Не указано + Не указано @@ -1065,67 +1065,67 @@ You can not undo this action. Имя канала - + directly напрямую - + anonymously анонимно - + Loading torrent files %s... Загружаем список файлов торрента %s... - + Timeout in fetching files %s. Retrying %i/%i Истекло время ожидания загрузки списка файлов %s. Попытка %i/%i - + Failed to load files. Click to retry again. Не удалось загрузить список файлов. Нажмите здесь, чтобы повторить попытку. - + Unable to read torrent file data Не удалось прочитать данные торрента - + Error: %s Ошибка: %s - + Note: this torrent already exists in the Downloads Внимание: этот торрент уже присутствует в списке загрузок - + Please select the destination directory of your download Пожалуйста, выберите папку назначения для этой загрузки - + Tribler cannot download to <i>%s</i> directory. Please add proper write permissions to the directory or choose another download directory. [%s] Tribler не может поместить загрузку в папку <i>%s</i>. Пожалуйста, удостоверьтесь, что в указанную папку разрешена запись или укажите иную папку. [%s] - + No files selected Не выбрано ни одного файла - + Please select at least one file to download. Пожалуйста, укажите хотя бы один файл, который следует загрузить. - + Tribler cannot download to <i>%s</i> directory. Please add proper write permissions to the directory or choose another download directory and try to download again. [%s] Tribler не может поместить загрузку в папку <i>%s</i>. Пожалуйста, удостоверьтесь что в указанную папку разрешена запись или укажите иную папку и попытайтесь повторить загрузку. [%s] @@ -1157,17 +1157,17 @@ New remote results received: %(num_remote_results)i Каждый тэг должен содержать не менее %d и не более %d символов. - + Torrent size: Размер загрузки: - + Selected: Выбрано: - + Total: Всего: @@ -1177,33 +1177,33 @@ New remote results received: %(num_remote_results)i Тэгов нет. Предложить свои? - + Please specify the path to the download directory - + The path is not specified - + Backing up state directory, please wait - + Delete state directories for old versions? - + Ancient version detected - - You are running an old version of Tribler. It is not possible to upgrade from this version to the most recent one.Please do upgrade incrementally (download Tribler 7.10, upgrade, then download the most recent one, upgrade). + + You are running an old version of Tribler. It is not possible to upgrade from this version to the most recent one. Please do upgrade incrementally (download Tribler 7.10, upgrade, then download the most recent one, upgrade). @@ -1454,11 +1454,6 @@ New remote results received: %(num_remote_results)i Value - - - Title - - Description @@ -1479,6 +1474,11 @@ New remote results received: %(num_remote_results)i <html><head/><body><p align="center">You can also help by suggesting several tags below that accurately describe this item (e.g., <span style=" font-style:italic;">video</span>).</p></body></html> + + + Content Item + + MainWindow diff --git a/src/tribler/gui/i18n/update_translations.sh b/src/tribler/gui/i18n/update_translations.sh index cbb9c0150fc..04c4a922406 100755 --- a/src/tribler/gui/i18n/update_translations.sh +++ b/src/tribler/gui/i18n/update_translations.sh @@ -1,3 +1,3 @@ #!/bin/bash -#sudo apt install qtchooser qt5-default qttools5-dev-tools +#sudo apt install qtchooser qttools5-dev-tools lrelease *.ts diff --git a/src/tribler/gui/i18n/zh_CN.qm b/src/tribler/gui/i18n/zh_CN.qm index d185a376264..e0116018d88 100644 Binary files a/src/tribler/gui/i18n/zh_CN.qm and b/src/tribler/gui/i18n/zh_CN.qm differ diff --git a/src/tribler/gui/i18n/zh_CN.ts b/src/tribler/gui/i18n/zh_CN.ts index 6e7ba5b5026..293297c572e 100644 --- a/src/tribler/gui/i18n/zh_CN.ts +++ b/src/tribler/gui/i18n/zh_CN.ts @@ -43,77 +43,77 @@ 流行度 - + just now 刚刚 - + seconds ago 秒前 - + a minute ago 一分钟前 - + minutes ago 分钟前 - + an hour ago 一小时前 - + hours ago 小时前 - + yesterday 昨天 - + days ago 天前 - + week - + weeks - + ago - + month - + months - + year - + years @@ -138,7 +138,7 @@ 你的频道已添加的种子 - + New version available 有新版本 @@ -406,24 +406,24 @@ 更改匿名性 - + Please select the log directory 请选择日志目录 - + Insufficient Permissions 权限不足 - + Versions: - %s 版本: - %s - + Confirm delete older versions? 删除旧版本确认? @@ -453,22 +453,22 @@ 你输入的端口号格式有误。请输入完整的数字。 - + Invalid number of connections 无效的连接数 - + You've entered an invalid format for the maximum number of connections. Please enter a whole number. 你输入的最大连接数有误。请输入完整的数字。 - + Invalid value for bandwidth limit 无效的带宽限制值 - + You've entered an invalid value for the maximum upload/download rate. The rate is specified in KB/s and the value permitted is between 0 and %d KB/s. Note that the decimal values are truncated. @@ -477,27 +477,27 @@ Note that the decimal values are truncated. 注意会截断小数部分的数字。 - + Invalid value for api port 无效的 API 端口号 - + Please enter a valid port for the api (between 0 and 65536) 请输入有效的 API 端口号(0 到 65536 之间) - + Invalid seeding time 无效的做种时间 - + You've entered an invalid format for the seeding time (expected HH:MM) 你输入的做种时间格式有误(需要 HH:MM) - + Settings saved 设置已保存 @@ -529,14 +529,14 @@ Note that the decimal values are truncated. (点击取消订阅) - + Subscribed.%s (Click to unsubscribe) 已订阅。%s (点击取消订阅) - + Not subscribed. (Click to subscribe) 未订阅。 @@ -598,7 +598,7 @@ Note that the decimal values are truncated. 从频道中移除 - + Press 'Yes' to remove state directories for older versions of Tribler and reclaim %s of storage space. Tribler used those directories during upgrades from previous versions. Now those directories can be safely deleted. If unsure, press 'No'. You will be able to remove those directories from the Settings->Data page later. @@ -642,22 +642,22 @@ If unsure, press 'No'. You will be able to remove those directories fr 下载错误。<i>%s</i> - + Version %s of Tribler is available. Do you want to visit the website to download the newest version? Tribler 版本 %s 可用。你想要访问网站下载最新版本吗? - + IGNORE 忽略 - + LATER 推迟 - + OK 确定 @@ -801,32 +801,32 @@ If unsure, press 'No'. You will be able to remove those directories fr Tribler 配置错误 - + Zero popularity 零流行度 - + Very low popularity 低流行度 - + 3rd tier popularity 三线流行度 - + 2nd tier popularity 二线流行度 - + 1st tier popularity 一线流行度 - + Forever 永久 @@ -851,7 +851,7 @@ If unsure, press 'No'. You will be able to remove those directories fr 排除文件 - + Copying magnet link 正在复制磁力链接 @@ -866,12 +866,12 @@ If unsure, press 'No'. You will be able to remove those directories fr 搜索 %s 的结果 - + System default 系统默认 - + Are you sure to remove the selected versions? You can not undo this action. 你确定要移除所选的版本吗? @@ -883,7 +883,7 @@ You can not undo this action. <html><head/><body><p>以 <b>%d</b> 个跳数的匿名性下载。当你下载一个 200 MB 的文件,你将支付大约 <b>%d</b>MB 的带宽代币。</p></body></html> - + Tribler settings Tribler 设置 @@ -995,39 +995,39 @@ New remote results received: %(num_remote_results)i 移除文件 - + Unexpected error 意外错误 - + What were you doing before this crash happened? This information will help Tribler developers to figure out and fix the issue quickly. 在发生此崩溃前你正在做什么?这个消息可以帮助 Tribler 开发者快速找出问题并修复。 - + Remove entry 移除条目 - + Successfully sent the report! Thanks for your contribution. 成功发送报告!感谢你的贡献。 - + Report Sent 已发送报告 - + SENDING... 正在发送…… Not provided - 未提供 + 未提供 @@ -1050,67 +1050,67 @@ New remote results received: %(num_remote_results)i 频道名称 - + directly 直接 - + anonymously 匿名 - + Loading torrent files %s... 正在载入种子文件 %s…… - + Timeout in fetching files %s. Retrying %i/%i 提取文件 %s 超时。正在重试 %i/%i - + Failed to load files. Click to retry again. 载入文件失败。点击重试。 - + Unable to read torrent file data 无法读取种子文件数据 - + Error: %s 错误:%s - + Note: this torrent already exists in the Downloads 注意:此种子应在下载列表中存在 - + Please select the destination directory of your download 请选择你的下载的目标目录 - + Tribler cannot download to <i>%s</i> directory. Please add proper write permissions to the directory or choose another download directory. [%s] Tribler 无法下载到 <i>%s</i> 目录。请为目录添加适当的写入权限或者选择另一下载目录。[%s] - + No files selected 未选择文件 - + Please select at least one file to download. 请选择至少一个要下载的文件。 - + Tribler cannot download to <i>%s</i> directory. Please add proper write permissions to the directory or choose another download directory and try to download again. [%s] Tribler 无法下载到 <i>%s</i> 目录。请为目录添加适当的写入权限或者选择另一下载目录,然后重试下载。[%s] @@ -1120,32 +1120,32 @@ New remote results received: %(num_remote_results)i 流行种子 - + %(years)iy %(weeks)iw %(years)i年%(weeks)i周 - + %(weeks)iw %(days)id %(weeks)i周%(days)i天 - + %(days)id %(hours)ih %(days)i天%(hours)i时 - + %(hours)ih %(minutes)im %(hours)i天%(minutes)i分 - + %(minutes)im %(seconds)is %(weeks)i分%(days)i秒 - + %(seconds)is %(seconds)i秒 @@ -1155,48 +1155,48 @@ New remote results received: %(num_remote_results)i - + Torrent size: - + Selected: - + Total: - + Please specify the path to the download directory - + The path is not specified - + Backing up state directory, please wait - + Delete state directories for old versions? - + Ancient version detected - - You are running an old version of Tribler. It is not possible to upgrade from this version to the most recent one.Please do upgrade incrementally (download Tribler 7.10, upgrade, then download the most recent one, upgrade). + + You are running an old version of Tribler. It is not possible to upgrade from this version to the most recent one. Please do upgrade incrementally (download Tribler 7.10, upgrade, then download the most recent one, upgrade). @@ -1442,11 +1442,6 @@ New remote results received: %(num_remote_results)i Value - - - Title - - Description @@ -1492,6 +1487,11 @@ New remote results received: %(num_remote_results)i SIZE 大小 + + + Content Item + + MainWindow diff --git a/src/tribler/gui/tests/test_utilities.py b/src/tribler/gui/tests/test_utilities.py index c8f8f824105..6f64fc00187 100644 --- a/src/tribler/gui/tests/test_utilities.py +++ b/src/tribler/gui/tests/test_utilities.py @@ -221,7 +221,7 @@ def test_missed_key_in_both_translated_and_original_strings(warning: Mock): @patch("tribler.gui.utilities.get_base_path") -def test_i18n_file_path(mock_get_base_path, tmp_path): +def test_i18n_file_path_and_languages_content(mock_get_base_path, tmp_path): mock_get_base_path.return_value = tmp_path filename = "languages.json" @@ -229,16 +229,12 @@ def test_i18n_file_path(mock_get_base_path, tmp_path): assert get_i18n_file_path(filename) == expected_path - -@patch("tribler.gui.utilities.get_base_path") -def test_get_languages_file_content(mock_get_base_path, tmp_path): - mock_get_base_path.return_value = tmp_path - languages_json = { "unknown": "Unknown", "en": "English", "nl": "Dutch" } + language_path = get_i18n_file_path(LANGUAGES_FILE) language_path.parents[0].mkdir(parents=True, exist_ok=True) language_path.write_text(json.dumps(languages_json))