projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a565d39
)
improve logging for translate check
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 28 Jan 2015 13:56:43 +0000
(13:56 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 28 Jan 2015 13:56:43 +0000
(13:56 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
bd60454
..
6db773e
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-740,9
+740,12
@@
describe("Check SortBy options", function () {
describe("Check translations", function () {
var $ = mkws.$;
describe("Check translations", function () {
var $ = mkws.$;
+
// handle html entities, "Zurück" => "Zurück"
var M = function (string) {
// handle html entities, "Zurück" => "Zurück"
var M = function (string) {
- return $("<span/>").html(mkws.M(string)).text()
+ var text = $("<span/>").html(mkws.M(string)).text()
+ debug("translate check for: " + text);
+ return text;
};
var lang = function () {
return mkws.config.lang
};
var lang = function () {
return mkws.config.lang
@@
-829,7
+832,7
@@
describe("Check translations", function () {
expect($(list[2]).text()).toBe(M("Authors"));
});
expect($(list[2]).text()).toBe(M("Authors"));
});
- it("facets navigation", function () {
+ it("facets navigation/filter", function () {
var list = $(".mkws-navi > span");
expect(list.length).toBe(2);
var list = $(".mkws-navi > span");
expect(list.length).toBe(2);