Add Arabic translations to mike2.html sandbox.
authorMike Taylor <mike@indexdata.com>
Fri, 10 Jan 2014 15:03:19 +0000 (15:03 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 10 Jan 2014 15:03:19 +0000 (15:03 +0000)
examples/htdocs/mike2.html

index 565c51e..c1d8251 100644 (file)
@@ -8,7 +8,56 @@
     <link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
     <script type="text/javascript">
        var mkws_config = {
-       sort_default: "title",
+               lang: "da",
+               debug_level: 1,
+               use_service_proxy: true,
+               show_lang: true,
+               sort_default: "relevance",
+               query_width: 50,
+               perpage_default: 20,
+               language_Arabic: {
+                       // Navigation
+                       "Search": "بحث",
+                       "Displaying": "عرض",
+                       "to": "إلى",
+                       "of": "من",
+                       "found": "أسس",
+                       "Prev": "السابق",
+                       "Next": "التالي",
+                       // Sorting and sort-criteria
+                       "Sort by": "الترتيب حسب",
+                       "and show": "وعرض",
+                       "per page": "في كل صفحة",
+                       "relevance": "أهميتها",
+                       "title": "لقب",
+                       "newest": "أحدث",
+                       "oldest": "أقدم",
+                       // Field names
+                       "Title": "لقب",
+                       "Date": "تاريخ",
+                       "Author": "الكاتب",
+                       "URL": "URL", // Is this a universal?
+                       "Subject": "موضوع",
+                       "Location": "موقع",
+                       // Facet heading and individual facet names
+                       "Termlists": "العضو الأجل",
+                       "Sources": "مصادر",
+                       "Subjects": "المواضيع",
+                       "Authors": "الكتاب",
+                       // Display switching
+                       "Records": "أهداف",
+                       "Targets": "السجلات",
+                       // Status info captions
+                       "Status info": "معلومات الحالة",
+                       "Active clients": "عميل نشط",
+                       "Retrieved records": "السجلات التي تم استردادها",
+                       // Target info table headings
+                       "Target ID": "معرف الهدف",
+                       "Hits": "الفعالية",
+                       "Diags": "التشخيص",
+                       "Records": "تسجيل",
+                       "State": "دولة",
+               }
        };
     </script>
     <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>