From 8477e04ffa0f93e4f5bed716eda893738c4ffec7 Mon Sep 17 00:00:00 2001 From: "translatewiki.net" Date: Mon, 27 May 2024 14:07:46 +0200 Subject: [PATCH 1/2] Localisation updates from https://translatewiki.net. --- static/skin/i18n/el.json | 13 +++++++++-- static/skin/i18n/es.json | 8 ++++--- static/skin/i18n/fi.json | 6 +++++ static/skin/i18n/fr.json | 12 +++++----- static/skin/i18n/he.json | 12 +++++----- static/skin/i18n/ia.json | 22 ++++++++++++------ static/skin/i18n/it.json | 4 ++++ static/skin/i18n/ko.json | 2 ++ static/skin/i18n/mk.json | 12 +++++----- static/skin/i18n/nl.json | 12 +++++----- static/skin/i18n/pt-br.json | 43 +++++++++++++++++++++++++++++++++++ static/skin/i18n/ru.json | 12 +++++----- static/skin/i18n/sv.json | 12 +++++----- static/skin/i18n/zh-hans.json | 29 +++++++++++++---------- 14 files changed, 139 insertions(+), 60 deletions(-) create mode 100644 static/skin/i18n/pt-br.json diff --git a/static/skin/i18n/el.json b/static/skin/i18n/el.json index 99522a56c..71e52cdc1 100644 --- a/static/skin/i18n/el.json +++ b/static/skin/i18n/el.json @@ -2,9 +2,12 @@ "@metadata": { "authors": [ "Kelson", - "Norhorn" + "Norhorn", + "Ανώνυμος Βικιπαιδιστής" ] }, + "name": "Αγγλικά", + "no-such-book": "Δεν υπάρχει τέτοιο βιβλίο: {{BOOK_NAME}}", "welcome-page-overzealous-filter": "Κανένα αποτέλεσμα. Θέλετε να επαναφέρετε το φίλτρο;", "powered-by-kiwix-html": "Με την υποστήριξη by Kiwix", "search": "Αναζήτηση", @@ -15,8 +18,14 @@ "direct-download-link-text": "Απευθείας", "direct-download-alt-text": "άμεση λήψη", "hash-download-alt-text": "λήψη αναγνωριστικού", + "magnet-alt-text": "λήψη μαγνήτη", "torrent-download-link-text": "Αρχείο torrent", "torrent-download-alt-text": "λήψη torrent", "filter-by-tag": "Φίλτρο ανά ετικέτα \"{{TAG}}\"", - "stop-filtering-by-tag": "Διακοπή φίλτρου ανά ετικέτα \"{{TAG}}\"" + "stop-filtering-by-tag": "Διακοπή φίλτρου ανά ετικέτα \"{{TAG}}\"", + "welcome-to-kiwix-server": "Καλώς ορίσατε στον διακομιστή Kiwix", + "download-links-heading": "Λήψη συνδέσμων για {{BOOK_TITLE}}", + "download-links-title": "Κατεβάστε το βιβλίο", + "preview-book": "Προεπισκόπηση", + "unknown-error": "Άγνωστο σφάλμα" } diff --git a/static/skin/i18n/es.json b/static/skin/i18n/es.json index bf8d6f07a..3a592bbce 100644 --- a/static/skin/i18n/es.json +++ b/static/skin/i18n/es.json @@ -1,6 +1,7 @@ { "@metadata": { "authors": [ + "AlexanderFF", "Fitoschido", "Ovruni", "SpikeShroom", @@ -45,13 +46,14 @@ "hash-download-alt-text": "descargar hash", "magnet-link-text": "Enlace magnético", "magnet-alt-text": "Descargar link magnético", - "torrent-download-link-text": "Archivo de torrent", - "torrent-download-alt-text": "descargar torrent", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "Descargar a través de BitTorrent", "filter-by-tag": "Filtrar por etiqueta \"{{TAG}}\"", "stop-filtering-by-tag": "Dejar de filtrar por etiqueta \"{{TAG}}\"", "library-opds-feed-parameterised": "Feed OPDS de la biblioteca: entradas que coinciden con {{#LANG}}\nLanguage: {{LANG}} {{/LANG}}{{#CATEGORY}}\nCategory: {{CATEGORY}} {{/CATEGORY}} {{#TAG}}\nEtiqueta: {{TAG}} {{/TAG}}{{#Q}}\nConsulta: {{Q}} {{/Q}}", "welcome-to-kiwix-server": "Bienvenido al servidor Kiwix", "download-links-heading": "Enlaces de descarga para {{BOOK_TITLE}}", "download-links-title": "Descargar libro", - "preview-book": "Previsualizar" + "preview-book": "Previsualizar", + "unknown-error": "Error desconocido" } diff --git a/static/skin/i18n/fi.json b/static/skin/i18n/fi.json index 4dc01a49e..ab0f6a3f1 100644 --- a/static/skin/i18n/fi.json +++ b/static/skin/i18n/fi.json @@ -8,6 +8,7 @@ }, "name": "suomi", "suggest-full-text-search": "sisältää '{{{SEARCH_TERMS}}}'...", + "no-such-book": "Kirjaa {{BOOK_NAME}} ei ole olemassa", "url-not-found": "Pyydettyä URL-osoitetta \"{{url}}\" ei löytynyt tältä palvelimelta.", "400-page-title": "Virheellinen pyyntö", "400-page-heading": "Virheellinen pyyntö", @@ -15,6 +16,7 @@ "404-page-heading": "Ei löytynyt", "500-page-title": "Sisäinen palvelinvirhe", "500-page-heading": "Sisäinen palvelinvirhe", + "word-count": "{{COUNT}} sanaa", "library-button-text": "Siirry tervetulosivulle", "home-button-text": "Siirry kirjan '{{BOOK_TITLE}}' etusivulle", "random-page-button-text": "Siirry satunnaiselle sivulle", @@ -22,8 +24,12 @@ "search": "Hae", "book-filtering-all-categories": "Kaikki luokat", "book-filtering-all-languages": "Kaikki kielet", + "count-of-matching-books": "{{COUNT}} kirja(a)", "download": "Lataa", + "magnet-link-text": "Magnet-linkki", + "magnet-alt-text": "lataa magnet", "torrent-download-link-text": "Torrent-tiedosto", + "torrent-download-alt-text": "lataa torrent-tiedosto", "filter-by-tag": "Suodata tunnisteen ”{{TAG}}” mukaan", "download-links-title": "Lataa kirja", "preview-book": "Esikatsele", diff --git a/static/skin/i18n/fr.json b/static/skin/i18n/fr.json index 81ca25681..a6fa77a7e 100644 --- a/static/skin/i18n/fr.json +++ b/static/skin/i18n/fr.json @@ -52,13 +52,13 @@ "count-of-matching-books": "{{COUNT}} livre(s)", "download": "Télécharger", "direct-download-link-text": "Direct", - "direct-download-alt-text": "téléchargement direct", - "hash-download-link-text": "Hachage sha256", - "hash-download-alt-text": "télécharger le hachage", + "direct-download-alt-text": "Télécharger directement via HTTP(S)", + "hash-download-link-text": "Hachage SHA-256", + "hash-download-alt-text": "Affiche le hachage SHA-256 du fichier", "magnet-link-text": "Lien Magnet", - "magnet-alt-text": "télécharger le lien Magnet", - "torrent-download-link-text": "Fichier torrent", - "torrent-download-alt-text": "télécharger le torrent", + "magnet-alt-text": "Télécharger via le lien Magnet", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "Télécharger via BitTorrent", "library-opds-feed-all-entries": "Flux OPDS de la bibliothèque – Toutes les entrées", "filter-by-tag": "Filtrer par la balise « {{TAG}} »", "stop-filtering-by-tag": "Arrêter le filtrage par la balise « {{TAG}} »", diff --git a/static/skin/i18n/he.json b/static/skin/i18n/he.json index b8c637524..4a077ef67 100644 --- a/static/skin/i18n/he.json +++ b/static/skin/i18n/he.json @@ -45,13 +45,13 @@ "count-of-matching-books": "{{COUNT}} ספרים", "download": "הורדה", "direct-download-link-text": "ישירה", - "direct-download-alt-text": "הורדה ישירה", - "hash-download-link-text": "גיבוב Sha256", - "hash-download-alt-text": "הורדת גיבוב", + "direct-download-alt-text": "הורדה ישירה דרך HTTP(S)", + "hash-download-link-text": "סיכום ביקורת Sha256", + "hash-download-alt-text": "הצגת סיכום ביקורת SHA-256", "magnet-link-text": "קישור Magnet", - "magnet-alt-text": "הורדת magnet", - "torrent-download-link-text": "קובץ טורנט", - "torrent-download-alt-text": "הורדת טורנט", + "magnet-alt-text": "הורדה באמצעות קישור magnet", + "torrent-download-link-text": "ביטורנט", + "torrent-download-alt-text": "הורדה באמצעות ביטורנט", "library-opds-feed-all-entries": "הזנת ספריית OPDS - כל הרשומות", "filter-by-tag": "סינון לפי התג \"{{TAG}}\"", "stop-filtering-by-tag": "להפסיק סינון לפי התג \"{{TAG}}\"", diff --git a/static/skin/i18n/ia.json b/static/skin/i18n/ia.json index b6af19257..07b834e1c 100644 --- a/static/skin/i18n/ia.json +++ b/static/skin/i18n/ia.json @@ -14,6 +14,7 @@ "suggest-search": "Facer un recerca in texto complete de {{PATTERN}}", "random-article-failure": "Ups! Non poteva eliger un articulo aleatori :(", "invalid-raw-data-type": "{{DATATYPE}} non es un request valide pro contento crude.", + "invalid-request": "Le URL requestate “{{{url}}}” non es un requesta valide.", "no-value-for-arg": "Necun valor fornite pro le argumento {{ARGUMENT}}", "no-query": "Necun consulta fornite.", "raw-entry-not-found": "Non pote trovar le entrata {{ENTRY}} del typo {{DATATYPE}}", @@ -23,8 +24,14 @@ "404-page-heading": "Non trovate", "500-page-title": "Error interne del servitor", "500-page-heading": "Error interne del servitor", + "500-page-text": "Un error interne del servitor ha occurrite. Nos lo regretta :/", "fulltext-search-unavailable": "Le recerca in texto complete es indisponibile", "no-search-results": "Le motor de recerca in texto complete non es disponibile pro iste contento.", + "search-results-page-title": "Cercar: {{SEARCH_PATTERN}}", + "search-results-page-header": "Resultatos {{START}}-{{END}} de {{COUNT}} pro “{{{SEARCH_PATTERN}}}”", + "empty-search-results-page-header": "Necun resultato ha essite trovate pro “{{{SEARCH_PATTERN}}}”", + "search-result-book-info": "de {{BOOK_TITLE}}", + "word-count": "{{COUNT}} parolas", "library-button-text": "Ir al pagina de benvenita", "home-button-text": "Ir al pagina principal de ''{{BOOK_TITLE}}", "random-page-button-text": "Ir a un pagina seligite aleatorimente", @@ -38,13 +45,13 @@ "count-of-matching-books": "{{COUNT}} libro(s)", "download": "Discargar", "direct-download-link-text": "Directe", - "direct-download-alt-text": "discargamento directe", - "hash-download-link-text": "Hash SHA256", - "hash-download-alt-text": "hash del discargamento", + "direct-download-alt-text": "Discargamento directe per HTTP(S)", + "hash-download-link-text": "Summa de controlo SHA-256", + "hash-download-alt-text": "Monstrar le summa de controlo SHA-256 del file", "magnet-link-text": "Ligamine Magnet", - "magnet-alt-text": "ligamine \"magnet\" de discargamento", - "torrent-download-link-text": "File Torrent", - "torrent-download-alt-text": "discargar Torrent", + "magnet-alt-text": "Discargar con ligamine Magnet", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "Discargar per medio de BitTorrent", "library-opds-feed-all-entries": "Fluxo OPDS del bibliotheca – Tote le entratas", "filter-by-tag": "Filtrar per etiquetta \"{{TAG}}\"", "stop-filtering-by-tag": "Non plus filtrar per etiquetta \"{{TAG}}\"", @@ -52,5 +59,6 @@ "welcome-to-kiwix-server": "Benvenite al servitor Kiwix", "download-links-heading": "Discargar ligamines pro {{BOOK_TITLE}}", "download-links-title": "Discargar libro", - "preview-book": "Previsualisation" + "preview-book": "Previsualisation", + "unknown-error": "Error incognite" } diff --git a/static/skin/i18n/it.json b/static/skin/i18n/it.json index 60073064f..59f710eea 100644 --- a/static/skin/i18n/it.json +++ b/static/skin/i18n/it.json @@ -37,6 +37,10 @@ "book-filtering-all-languages": "Tutte le lingue", "count-of-matching-books": "{{COUNT}} libro/i", "download": "Scarica", + "direct-download-alt-text": "Scarica direttamente tramite HTTP(S)", + "magnet-alt-text": "Scarica tramite collegamento Magnet", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "Scarica tramite BitTorrent", "download-links-title": "Scarica libro", "preview-book": "Anteprima", "unknown-error": "Errore sconosciuto" diff --git a/static/skin/i18n/ko.json b/static/skin/i18n/ko.json index 4fe87d73c..5198b5435 100644 --- a/static/skin/i18n/ko.json +++ b/static/skin/i18n/ko.json @@ -15,5 +15,7 @@ "500-page-heading": "내부 서버 오류", "fulltext-search-unavailable": "전문 검색을 사용할 수 없습니다", "random-page-button-text": "무작위로 선택된 문서로 이동", + "hash-download-link-text": "SHA-256 체크섬", + "torrent-download-link-text": "비트토렌트", "preview-book": "미리 보기" } diff --git a/static/skin/i18n/mk.json b/static/skin/i18n/mk.json index b82ab72ef..860e76027 100644 --- a/static/skin/i18n/mk.json +++ b/static/skin/i18n/mk.json @@ -45,13 +45,13 @@ "count-of-matching-books": "{{COUNT}} книги", "download": "Преземи", "direct-download-link-text": "Непосредно", - "direct-download-alt-text": "непосредно преземање", - "hash-download-link-text": "Sha256-тараба", - "hash-download-alt-text": "преземи тараба", + "direct-download-alt-text": "Непосредно преземање преку HTTP(S)", + "hash-download-link-text": "Контролен збир Sha256", + "hash-download-alt-text": "Прикажи контролен збир SHA-256 на податотеката", "magnet-link-text": "Магнетна врска", - "magnet-alt-text": "преземи магнет", - "torrent-download-link-text": "Торентна податотека", - "torrent-download-alt-text": "преземи торент", + "magnet-alt-text": "Преземи преку Magnet-врска", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "Преземи преку BitTorrent", "library-opds-feed-all-entries": "Библиотечен тековник на OPDS — Сите ставки", "filter-by-tag": "Филтрирај по ознаката „{{TAG}}“", "stop-filtering-by-tag": "Запри филтрирање по ознаката „{{TAG}}“", diff --git a/static/skin/i18n/nl.json b/static/skin/i18n/nl.json index 80cd9c006..57fc54698 100644 --- a/static/skin/i18n/nl.json +++ b/static/skin/i18n/nl.json @@ -39,13 +39,13 @@ "count-of-matching-books": "{{COUNT}} boek(en)", "download": "Downloaden", "direct-download-link-text": "Direct", - "direct-download-alt-text": "directe download", - "hash-download-link-text": "SHA256-hash", - "hash-download-alt-text": "controlesom (hash) van de download", + "direct-download-alt-text": "Direct downloaden via HTTP(S)", + "hash-download-link-text": "SHA-256-controlesom", + "hash-download-alt-text": "De SHA-256-controlesom van het bestand weergeven", "magnet-link-text": "Magnet-link", - "magnet-alt-text": "magnet-link van de download", - "torrent-download-link-text": "Torrent-bestand", - "torrent-download-alt-text": "torrent downloaden", + "magnet-alt-text": "Downloaden via Magnet-link", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "Downloaden via BitTorrent", "library-opds-feed-all-entries": "OPDS-feed bibliotheek: alle vermeldingen", "filter-by-tag": "Filteren op label “{{TAG}}”", "stop-filtering-by-tag": "Niet meer filteren op label “{{TAG}}”", diff --git a/static/skin/i18n/pt-br.json b/static/skin/i18n/pt-br.json new file mode 100644 index 000000000..5eb411867 --- /dev/null +++ b/static/skin/i18n/pt-br.json @@ -0,0 +1,43 @@ +{ + "@metadata": { + "authors": [ + "Eduardoaddad", + "Obiru", + "Re demz" + ] + }, + "name": "Português", + "suggest-full-text-search": "Contendo '{{{SEARCH_TERMS}}}'...", + "400-page-title": "Requisição inválida", + "400-page-heading": "Requisição inválida", + "404-page-title": "Conteúdo não encontrado", + "404-page-heading": "Não encontrado", + "500-page-title": "Erro interno do servidor", + "500-page-heading": "Erro interno do servidor", + "500-page-text": "Aconteceu um erro interno do servidor. Nós pedimos desculpas sobre isso :/", + "fulltext-search-unavailable": "Busca por texto completo está indisponível", + "search-results-page-title": "Buscar: {{SEARCH_PATTERN}}", + "search-results-page-header": "Resultados {{START}}-{{END}} de {{COUNT}} para \"{{{SEARCH_PATTERN}}}\"", + "empty-search-results-page-header": "Nenhum resultado encontrado para \"{{{SEARCH_PATTERN}}}\"", + "search-result-book-info": "de {{BOOK_TITLE}}", + "word-count": "{{COUNT}} palavras", + "library-button-text": "Ir para página inicial", + "home-button-text": "Ir para página principal de '{{BOOK_TITLE}}'", + "random-page-button-text": "Ir para uma página aleatória", + "searchbox-tooltip": "Buscar '{{BOOK_TITLE}}'", + "confusion-of-tongues": "Dois ou mais livros em diferentes idiomas podem participar da pesquisa, isso pode proporcionar resultados confusos.", + "search": "Pesquisar", + "book-filtering-all-categories": "Todas as categorias", + "book-filtering-all-languages": "Todos os idiomas", + "count-of-matching-books": "{{COUNT}} livro(s)", + "download": "Baixar", + "hash-download-link-text": "Hash sha256", + "hash-download-alt-text": "baixar hash", + "torrent-download-link-text": "Arquivo torrent", + "torrent-download-alt-text": "baixar torrent", + "welcome-to-kiwix-server": "Bem vindo ao servidor Kiwix", + "download-links-heading": "Links para baixar {{BOOK_TITLE}}", + "download-links-title": "Download do livro", + "preview-book": "Pré-visualizar", + "unknown-error": "Erro desconhecido" +} diff --git a/static/skin/i18n/ru.json b/static/skin/i18n/ru.json index abbee4507..e5722b823 100644 --- a/static/skin/i18n/ru.json +++ b/static/skin/i18n/ru.json @@ -50,13 +50,13 @@ "count-of-matching-books": "{{COUNT}} книг(и)", "download": "Скачать", "direct-download-link-text": "Прямой", - "direct-download-alt-text": "прямая загрузка", - "hash-download-link-text": "Хэш Sha256", - "hash-download-alt-text": "скачать хэш", + "direct-download-alt-text": "Загрузка напрямую через HTTP(S)", + "hash-download-link-text": "Контрольная сумма SHA-256", + "hash-download-alt-text": "Показать контрольную сумму SHA-256 у файла", "magnet-link-text": "Магнитная ссылка", - "magnet-alt-text": "скачать магнит", - "torrent-download-link-text": "Торрент-файл", - "torrent-download-alt-text": "скачать торрент", + "magnet-alt-text": "Скачать по Magnet-ссылке", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "Скачать через BitTorrent", "library-opds-feed-all-entries": "Канал библиотеки OPDS – все записи", "filter-by-tag": "Фильтровать по тегу \"{{TAG}}\"", "stop-filtering-by-tag": "Прекратить фильтрацию по тегу \"{{TAG}}\"", diff --git a/static/skin/i18n/sv.json b/static/skin/i18n/sv.json index 311e5a6d0..505f21c2b 100644 --- a/static/skin/i18n/sv.json +++ b/static/skin/i18n/sv.json @@ -47,13 +47,13 @@ "count-of-matching-books": "{{COUNT}} böcker", "download": "Ladda ned", "direct-download-link-text": "Direkt", - "direct-download-alt-text": "direktnedladdning", - "hash-download-link-text": "Sha256-hash", - "hash-download-alt-text": "ladda ned hash", + "direct-download-alt-text": "Ladda ner direkt via HTTP(S)", + "hash-download-link-text": "SHA-256-kontrollsiffra", + "hash-download-alt-text": "Visa SHA-256-filens kontrollsiffra", "magnet-link-text": "Magnetlänk", - "magnet-alt-text": "ladda ned magnet", - "torrent-download-link-text": "Torrent-fil", - "torrent-download-alt-text": "ladda ned torrent", + "magnet-alt-text": "Ladda ner via Magnet-länk", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "Ladda ner via BitTorrent", "library-opds-feed-all-entries": "Library OPDS Feed - Alla poster", "filter-by-tag": "Filtrera efter taggen \"{{TAG}}\"", "stop-filtering-by-tag": "Sluta filtrera efter taggen \"{{TAG}}\"", diff --git a/static/skin/i18n/zh-hans.json b/static/skin/i18n/zh-hans.json index f5c21eeba..172f7544d 100644 --- a/static/skin/i18n/zh-hans.json +++ b/static/skin/i18n/zh-hans.json @@ -3,19 +3,21 @@ "authors": [ "GuoPC", "IceButBin", + "Kichin", "StarrySky", "Sunai", - "XtexChooser" + "XtexChooser", + "沈澄心" ] }, - "name": "英语", + "name": "简体中文", "suggest-full-text-search": "正在查找「{{{SEARCH_TERMS}}}」…", "no-such-book": "没有名为“{{BOOK_NAME}}”的图书", "too-many-books": "请求的图书过多 ({{NB_BOOKS}}),上限为 {{LIMIT}}", "no-book-found": "没有符合搜索要求的图书", "url-not-found": "在此服务器上找不到请求的 URL:{{url}}", "suggest-search": "对{{PATTERN}}进行全文搜索", - "random-article-failure": "抱歉!随机条目失败了 (⁠〒⁠﹏⁠〒⁠)", + "random-article-failure": "抱歉! 随机条目失败了 (⁠〒⁠﹏⁠〒⁠) 【好生草的表情(】", "invalid-raw-data-type": "{{DATATYPE}} 对原请求无效。", "invalid-request": "请求的URL无效:{{{url}}}", "no-value-for-arg": "参数{{ARGUMENT}}无值", @@ -27,7 +29,7 @@ "404-page-heading": "未找到", "500-page-title": "内部服务器错误", "500-page-heading": "内部服务器错误", - "500-page-text": "内部服务器出现错误。真的十分抱歉 (⁠;⁠ŏ⁠﹏⁠ŏ⁠)", + "500-page-text": "内部服务器出现错误。真的十分抱歉 (⁠;⁠ŏ⁠﹏⁠ŏ~⁠)", "fulltext-search-unavailable": "全文搜索不可用", "no-search-results": "全文搜索引擎不适用于该内容。", "search-results-page-title": "搜索:{{SEARCH_PATTERN}}", @@ -35,7 +37,7 @@ "empty-search-results-page-header": "未找到“{{{SEARCH_PATTERN}}}”的结果", "search-result-book-info": "来自{{BOOK_TITLE}}", "word-count": "{{COUNT}} 个字", - "library-button-text": "前往欢迎页面", + "library-button-text": "转到欢迎页面", "home-button-text": "转到“{{BOOK_TITLE}}”的主页", "random-page-button-text": "前往随机选择的页面", "searchbox-tooltip": "搜索“{{BOOK_TITLE}}”", @@ -48,17 +50,20 @@ "count-of-matching-books": "{{COUNT}} 本书", "download": "下载", "direct-download-link-text": "直接", - "direct-download-alt-text": "直接下載", - "hash-download-link-text": "Sha256 哈希值", - "hash-download-alt-text": "下载哈希值", + "direct-download-alt-text": "通过 HTTP(S) 直接下載", + "hash-download-link-text": "SHA-256 校验和", + "hash-download-alt-text": "显示 SHA-256 文件校验和", "magnet-link-text": "磁力链接", - "magnet-alt-text": "下载磁力链接", - "torrent-download-link-text": "种子文件", - "torrent-download-alt-text": "下载种子文件", + "magnet-alt-text": "通过磁力链接下载", + "torrent-download-link-text": "BitTorrent", + "torrent-download-alt-text": "通过 BitTorrent 下载", "library-opds-feed-all-entries": "图书馆 OPDS Feed - 所有条目", "filter-by-tag": "按标签“{{TAG}}”过滤", "stop-filtering-by-tag": "停止按标签“{{TAG}}”过滤", "library-opds-feed-parameterised": "图书馆 OPDS Feed - 匹配的项目 {{#LANG}}\n语言:{{LANG}} {{/LANG}}{{#CATEGORY}}\n分类:{{CATEGORY}} {{/CATEGORY}}{{#TAG}}\n标签:{{TAG}} {{/TAG}}{{#Q}}\n查询:{{Q}} {{/Q}}", "welcome-to-kiwix-server": "欢迎来到 Kiwix 服务器", - "preview-book": "预览" + "download-links-heading": "下载{{BOOK_TITLE}}的链接", + "download-links-title": "下载书籍", + "preview-book": "预览", + "unknown-error": "未知错误" } From c2cc4c39f1180193af8ddf85bbae255d51b4f034 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Mon, 27 May 2024 17:41:29 +0400 Subject: [PATCH 2/2] Registered i18n resources for new languages --- static/i18n_resources_list.txt | 1 + static/skin/languages.js | 24 +++++++++++++++++------- test/server.cpp | 30 ++++++++++++++++++++---------- 3 files changed, 38 insertions(+), 17 deletions(-) diff --git a/static/i18n_resources_list.txt b/static/i18n_resources_list.txt index 7fdc4644f..52fb583aa 100644 --- a/static/i18n_resources_list.txt +++ b/static/i18n_resources_list.txt @@ -27,6 +27,7 @@ skin/i18n/nl.json skin/i18n/nqo.json skin/i18n/or.json skin/i18n/pl.json +skin/i18n/pt-br.json skin/i18n/ru.json skin/i18n/sc.json skin/i18n/sk.json diff --git a/static/skin/languages.js b/static/skin/languages.js index 80f6aa01d..49b3e86c1 100644 --- a/static/skin/languages.js +++ b/static/skin/languages.js @@ -29,6 +29,11 @@ const uiLanguages = [ "self_name": "Deutsch", "translation_count": 57 }, + { + "iso_code": "el", + "self_name": "Αγγλικά", + "translation_count": 23 + }, { "iso_code": "en", "self_name": "English", @@ -37,12 +42,12 @@ const uiLanguages = [ { "iso_code": "es", "self_name": "español", - "translation_count": 48 + "translation_count": 49 }, { "iso_code": "fi", "self_name": "suomi", - "translation_count": 23 + "translation_count": 29 }, { "iso_code": "fr", @@ -72,7 +77,7 @@ const uiLanguages = [ { "iso_code": "ia", "self_name": "interlingua", - "translation_count": 49 + "translation_count": 57 }, { "iso_code": "ig", @@ -82,7 +87,7 @@ const uiLanguages = [ { "iso_code": "it", "self_name": "italiano", - "translation_count": 34 + "translation_count": 38 }, { "iso_code": "ja", @@ -92,7 +97,7 @@ const uiLanguages = [ { "iso_code": "ko", "self_name": "한국어", - "translation_count": 13 + "translation_count": 15 }, { "iso_code": "ku-latn", @@ -134,6 +139,11 @@ const uiLanguages = [ "self_name": "Polski", "translation_count": 31 }, + { + "iso_code": "pt-br", + "self_name": "Português", + "translation_count": 35 + }, { "iso_code": "ru", "self_name": "русский", @@ -186,8 +196,8 @@ const uiLanguages = [ }, { "iso_code": "zh-hans", - "self_name": "英语", - "translation_count": 54 + "self_name": "简体中文", + "translation_count": 57 }, { "iso_code": "zh-hant", diff --git a/test/server.cpp b/test/server.cpp index 0a91eb72f..ce111c933 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -84,7 +84,7 @@ const ResourceCollection resources200Compressible{ // TODO: implement cache management of i18n resources //{ STATIC_CONTENT, "/ROOT%23%3F/skin/i18n/test.json?cacheid=unknown" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/languages.js" }, - { STATIC_CONTENT, "/ROOT%23%3F/skin/languages.js?cacheid=355e4885" }, + { STATIC_CONTENT, "/ROOT%23%3F/skin/languages.js?cacheid=ee7d95b5" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/catalog/search" }, @@ -289,7 +289,7 @@ R"EXPECTEDRESULT( href="/ROOT%23%3F/skin/kiwix.css?cacheid=2158fad9" - + @@ -323,7 +323,7 @@ R"EXPECTEDRESULT( - + const blankPageUrl = root + "/skin/blank.html?cacheid=6b1fa032"; @@ -1159,6 +1159,11 @@ R"EXPECTEDRESPONSE(const uiLanguages = [ "self_name": "Deutsch", "translation_count": 57 }, + { + "iso_code": "el", + "self_name": "Αγγλικά", + "translation_count": 23 + }, { "iso_code": "en", "self_name": "English", @@ -1167,12 +1172,12 @@ R"EXPECTEDRESPONSE(const uiLanguages = [ { "iso_code": "es", "self_name": "español", - "translation_count": 48 + "translation_count": 49 }, { "iso_code": "fi", "self_name": "suomi", - "translation_count": 23 + "translation_count": 29 }, { "iso_code": "fr", @@ -1202,7 +1207,7 @@ R"EXPECTEDRESPONSE(const uiLanguages = [ { "iso_code": "ia", "self_name": "interlingua", - "translation_count": 49 + "translation_count": 57 }, { "iso_code": "ig", @@ -1212,7 +1217,7 @@ R"EXPECTEDRESPONSE(const uiLanguages = [ { "iso_code": "it", "self_name": "italiano", - "translation_count": 34 + "translation_count": 38 }, { "iso_code": "ja", @@ -1222,7 +1227,7 @@ R"EXPECTEDRESPONSE(const uiLanguages = [ { "iso_code": "ko", "self_name": "한국어", - "translation_count": 13 + "translation_count": 15 }, { "iso_code": "ku-latn", @@ -1264,6 +1269,11 @@ R"EXPECTEDRESPONSE(const uiLanguages = [ "self_name": "Polski", "translation_count": 31 }, + { + "iso_code": "pt-br", + "self_name": "Português", + "translation_count": 35 + }, { "iso_code": "ru", "self_name": "русский", @@ -1316,8 +1326,8 @@ R"EXPECTEDRESPONSE(const uiLanguages = [ }, { "iso_code": "zh-hans", - "self_name": "英语", - "translation_count": 54 + "self_name": "简体中文", + "translation_count": 57 }, { "iso_code": "zh-hant",