mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-05-24 23:05:03 -04:00
Multizim search requires that all selected books be in the same language. No new URL query parameter was introduced for specifying the intended search language - `books.filter.lang` can be used for that purpose. The server_search unit-test was updated to use a slightly cheating library xml file where the language of example.zim was tweaked from "en" to "eng" in order to match that of zimfile.zim. Note that this change drops from the tested server two other goofy ZIM files corner_cases.zim and poor.zim that have been/are included in ServerTest.
32 lines
1.6 KiB
JSON
32 lines
1.6 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
]
|
|
},
|
|
"name":"English",
|
|
"suggest-full-text-search" : "containing '{{{SEARCH_TERMS}}}'..."
|
|
, "no-such-book" : "No such book: {{BOOK_NAME}}"
|
|
, "too-many-books" : "Too many books requested ({{NB_BOOKS}}) where limit is {{LIMIT}}"
|
|
, "no-book-found" : "No book matches selection criteria"
|
|
, "url-not-found" : "The requested URL \"{{url}}\" was not found on this server."
|
|
, "suggest-search" : "Make a full text search for <a href=\"{{{SEARCH_URL}}}\">{{PATTERN}}</a>"
|
|
, "random-article-failure" : "Oops! Failed to pick a random article :("
|
|
, "invalid-raw-data-type" : "{{DATATYPE}} is not a valid request for raw content."
|
|
, "no-value-for-arg": "No value provided for argument {{ARGUMENT}}"
|
|
, "no-query" : "No query provided."
|
|
, "raw-entry-not-found" : "Cannot find {{DATATYPE}} entry {{ENTRY}}"
|
|
, "400-page-title" : "Invalid request"
|
|
, "400-page-heading" : "Invalid request"
|
|
, "404-page-title" : "Content not found"
|
|
, "404-page-heading" : "Not Found"
|
|
, "500-page-title" : "Internal Server Error"
|
|
, "500-page-heading" : "Internal Server Error"
|
|
, "fulltext-search-unavailable" : "Fulltext search unavailable"
|
|
, "no-search-results": "The fulltext search engine is not available for this content."
|
|
, "library-button-text": "Go to welcome page"
|
|
, "home-button-text": "Go to the main page of '{{BOOK_TITLE}}'"
|
|
, "random-page-button-text": "Go to a randomly selected page"
|
|
, "searchbox-tooltip": "Search '{{BOOK_TITLE}}'"
|
|
, "confusion-of-tongues": "Two or more books in different languages would participate in search, which may lead to confusing results."
|
|
}
|