Move mkws.local_lang up into the main mkws object definition.
authorMike Taylor <mike@indexdata.com>
Thu, 23 Jan 2014 15:25:23 +0000 (15:25 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 23 Jan 2014 15:25:23 +0000 (15:25 +0000)
tools/htdocs/mkws.js

index f322382..fb5e38a 100644 (file)
@@ -15,59 +15,58 @@ var mkws = {
     debug_function: undefined, // will be set during initialisation
     debug_level: undefined, // will be initialised from mkws_config
     sessions: {},
-};
-
-mkws.locale_lang = {
-    "de": {
-       "Authors": "Autoren",
-       "Subjects": "Schlagw&ouml;rter",
-       "Sources": "Daten und Quellen",
-       "Termlists": "Termlisten",
-       "Next": "Weiter",
-       "Prev": "Zur&uuml;ck",
-       "Search": "Suche",
-       "Sort by": "Sortieren nach",
-       "and show": "und zeige",
-       "per page": "pro Seite",
-       "Displaying": "Zeige",
-       "to": "von",
-       "of": "aus",
-       "found": "gefunden",
-       "Title": "Titel",
-       "Author": "Autor",
-       "Date": "Datum",
-       "Subject": "Schlagwort",
-       "Location": "Ort",
-       "Records": "Datens&auml;tze",
-       "Targets": "Datenbanken",
-
-       "dummy": "dummy"
-    },
-
-    "da": {
-       "Authors": "Forfattere",
-       "Subjects": "Emner",
-       "Sources": "Kilder",
-       "Termlists": "Termlists",
-       "Next": "N&aelig;ste",
-       "Prev": "Forrige",
-       "Search": "S&oslash;g",
-       "Sort by": "Sorter efter",
-       "and show": "og vis",
-       "per page": "per side",
-       "Displaying": "Viser",
-       "to": "til",
-       "of": "ud af",
-       "found": "fandt",
-       "Title": "Title",
-       "Author": "Forfatter",
-       "Date": "Dato",
-       "Subject": "Emneord",
-       "Location": "Lokation",
-       "Records": "Poster",
-       "Targets": "Baser",
-
-       "dummy": "dummy"
+    locale_lang: {
+       "de": {
+           "Authors": "Autoren",
+           "Subjects": "Schlagw&ouml;rter",
+           "Sources": "Daten und Quellen",
+           "Termlists": "Termlisten",
+           "Next": "Weiter",
+           "Prev": "Zur&uuml;ck",
+           "Search": "Suche",
+           "Sort by": "Sortieren nach",
+           "and show": "und zeige",
+           "per page": "pro Seite",
+           "Displaying": "Zeige",
+           "to": "von",
+           "of": "aus",
+           "found": "gefunden",
+           "Title": "Titel",
+           "Author": "Autor",
+           "Date": "Datum",
+           "Subject": "Schlagwort",
+           "Location": "Ort",
+           "Records": "Datens&auml;tze",
+           "Targets": "Datenbanken",
+
+           "dummy": "dummy"
+       },
+
+       "da": {
+           "Authors": "Forfattere",
+           "Subjects": "Emner",
+           "Sources": "Kilder",
+           "Termlists": "Termlists",
+           "Next": "N&aelig;ste",
+           "Prev": "Forrige",
+           "Search": "S&oslash;g",
+           "Sort by": "Sorter efter",
+           "and show": "og vis",
+           "per page": "per side",
+           "Displaying": "Viser",
+           "to": "til",
+           "of": "ud af",
+           "found": "fandt",
+           "Title": "Title",
+           "Author": "Forfatter",
+           "Date": "Dato",
+           "Subject": "Emneord",
+           "Location": "Lokation",
+           "Records": "Poster",
+           "Targets": "Baser",
+
+           "dummy": "dummy"
+       }
     }
 };