mirror of https://github.com/kiwix/libkiwix.git
Translation of the url-not-found message
This commit is contained in:
parent
387f977d6c
commit
b2526c7a98
|
@ -5,4 +5,5 @@
|
|||
},
|
||||
"name":"Հայերեն",
|
||||
"suggest-full-text-search": "որոնել '{{{SEARCH_TERMS}}}'..."
|
||||
, "url-not-found" : "Սխալ հասցե՝ {{url}}"
|
||||
}
|
||||
|
|
|
@ -587,6 +587,14 @@ TEST_F(ServerTest, 404WithBodyTesting)
|
|||
</p>
|
||||
)" },
|
||||
|
||||
{ /* url */ "/ROOT/catalog/?userlang=hy",
|
||||
expected_body==R"(
|
||||
<h1>Not Found</h1>
|
||||
<p>
|
||||
Սխալ հասցե՝ /ROOT/catalog/
|
||||
</p>
|
||||
)" },
|
||||
|
||||
{ /* url */ "/ROOT/catalog/invalid_endpoint",
|
||||
expected_body==R"(
|
||||
<h1>Not Found</h1>
|
||||
|
@ -595,6 +603,14 @@ TEST_F(ServerTest, 404WithBodyTesting)
|
|||
</p>
|
||||
)" },
|
||||
|
||||
{ /* url */ "/ROOT/catalog/invalid_endpoint?userlang=hy",
|
||||
expected_body==R"(
|
||||
<h1>Not Found</h1>
|
||||
<p>
|
||||
Սխալ հասցե՝ /ROOT/catalog/invalid_endpoint
|
||||
</p>
|
||||
)" },
|
||||
|
||||
{ /* url */ "/ROOT/invalid-book/whatever",
|
||||
expected_body==R"(
|
||||
<h1>Not Found</h1>
|
||||
|
|
Loading…
Reference in New Issue