From 8e6569362cfc43d05cb8787680094352a1b3fca1 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Thu, 9 May 2024 15:01:23 +0200 Subject: [PATCH] Better labels/hints for Kiwix Server download overlay --- static/skin/i18n/en.json | 12 ++++++------ test/library_server.cpp | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/static/skin/i18n/en.json b/static/skin/i18n/en.json index 918304808..3c7aa39eb 100644 --- a/static/skin/i18n/en.json +++ b/static/skin/i18n/en.json @@ -43,13 +43,13 @@ , "count-of-matching-books": "{{COUNT}} book(s)" , "download": "Download" , "direct-download-link-text": "Direct" - , "direct-download-alt-text": "direct download" - , "hash-download-link-text": "Sha256 hash" - , "hash-download-alt-text": "download hash" + , "direct-download-alt-text": "Download directly via HTTP(S)" + , "hash-download-link-text": "SHA-256 checksum" + , "hash-download-alt-text": "Display SHA-256 file checksum" , "magnet-link-text": "Magnet link" - , "magnet-alt-text": "download magnet" - , "torrent-download-link-text": "Torrent file" - , "torrent-download-alt-text": "download torrent" + , "magnet-alt-text": "Download via Magnet link" + , "torrent-download-link-text": "BitTorrent" + , "torrent-download-alt-text": "Download via BitTorrent" , "library-opds-feed-all-entries": "Library OPDS Feed - All entries" , "filter-by-tag": "Filter by tag \"{{TAG}}\"" , "stop-filtering-by-tag": "Stop filtering by tag \"{{TAG}}\"" diff --git a/test/library_server.cpp b/test/library_server.cpp index cec7a4c1d..ea2d94b47 100644 --- a/test/library_server.cpp +++ b/test/library_server.cpp @@ -1228,13 +1228,13 @@ TEST_F(LibraryServerTest, no_name_mapper_catalog_v2_individual_entry_access) "
Direct
\n" \ " \n" \ " \n" \ - "
Sha256 hash
\n" \ + "
SHA-256 checksum
\n" \ "
\n" \ " \n" \ "
Magnet link
\n" \ "
\n" \ " \n" \ - "
Torrent file
\n" \ + "
BitTorrent
\n" \ "
\n" \ "\n" \ ""