Browse Source

Add czech translation

Lukas Kral 11 years ago
parent
commit
34073c0575
1 changed files with 25 additions and 0 deletions
  1. 25 0
      src/locale/bootstrap-table-cs-CZ.js

+ 25 - 0
src/locale/bootstrap-table-cs-CZ.js

@@ -0,0 +1,25 @@
+/**
+ * Bootstrap Table Czech translation
+ * Author: Lukas Kral (monarcha@seznam.cz)
+ */
+(function ($) {
+    'use strict';
+
+    $.extend($.fn.bootstrapTable.defaults, {
+        formatLoadingMessage: function () {
+            return 'Čekejte, prosím…';
+        },
+        formatRecordsPerPage: function (pageNumber) {
+            return pageNumber + ' položek na stránku';
+        },
+        formatShowingRows: function (pageFrom, pageTo, totalRows) {
+            return 'Zobrazena ' + pageFrom + '. - ' + pageTo + '. položka z celkových ' + totalRows;
+        },
+        formatSearch: function () {
+            return 'Vyhledávání';
+        },
+        formatNoMatches: function () {
+            return 'Nenalezena žádná vyhovující položka';
+        }
+    });
+})(jQuery);