X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=experiments%2Fspclient%2Fmkws.js;h=d3749905da5574ea72e3042f1ee8c17a2ff11304;hb=ff24fce4143dcbda6d62e16e1c8112eaad0baac2;hp=7b8066778c11113570c146b6c1e0af83eff848d2;hpb=779b9ad232b76b0e14ac66e1d6e3db6550cb2c30;p=mkws-moved-to-github.git diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index 7b80667..d374990 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -30,6 +30,11 @@ var mkws_locale_lang = { "to": "von", "of": "aus", "found": "gefunden", + "Title": "Titel", + "Author": "Autor", + "Date": "Datum", + "Subject": "Schlagwort", + "Location": "Ort", "dummy": "dummy" }, @@ -49,6 +54,11 @@ var mkws_locale_lang = { "to": "til", "of": "ud af", "found": "fandt", + "Title": "Title", + "Author": "Author", + "Date": "Dato", + "Subject": "Subject", + "Location": "Location", "dummy": "dummy" } @@ -401,7 +411,7 @@ function renderDetails(data, marker) var details = '
'+ marker + ' | |
Title | : '+data["md-title"]; + details += ' |
' + M('Title') + ' | : '+data["md-title"]; if (data["md-title-remainder"] !== undefined) { details += ' : ' + data["md-title-remainder"] + ' '; } @@ -411,15 +421,15 @@ function renderDetails(data, marker) details += ' |
Date | : ' + data["md-date"] + ' |
' + M('Date') + ' | : ' + data["md-date"] + ' |
Author | : ' + data["md-author"] + ' |
' + M('Author') + ' | : ' + data["md-author"] + ' |
URL | : ' + data["md-electronic-url"] + '' + ' |
Subject | : ' + data["location"][0]["md-subject"] + ' |
' + M('Subject') + ' | : ' + data["location"][0]["md-subject"] + ' |
Location | : ' + data["location"][0]["@name"] + " (" +data["location"][0]["@id"] + ")" + ' |
' + M('Location') + ' | : ' + data["location"][0]["@name"] + " (" +data["location"][0]["@id"] + ")" + ' |