ソースを参照

Refs #424: update locale template, en-US, zh-CN and zh-TW.

zhixin 11 年 前
コミット
6ddaf40b65

+ 3 - 0
src/locale/bootstrap-table-en-US.js

@@ -21,6 +21,9 @@
         formatNoMatches: function () {
         formatNoMatches: function () {
             return 'No matching records found';
             return 'No matching records found';
         },
         },
+        formatPaginationSwitch: function () {
+            return 'Hide/Show pagination';
+        },
         formatRefresh: function () {
         formatRefresh: function () {
             return 'Refresh';
             return 'Refresh';
         },
         },

+ 3 - 0
src/locale/bootstrap-table-en-US.js.template

@@ -21,6 +21,9 @@
         formatNoMatches: function () {
         formatNoMatches: function () {
             return 'No matching records found';
             return 'No matching records found';
         },
         },
+        formatPaginationSwitch: function () {
+            return 'Hide/Show pagination';
+        },
         formatRefresh: function () {
         formatRefresh: function () {
             return 'Refresh';
             return 'Refresh';
         },
         },

+ 3 - 0
src/locale/bootstrap-table-zh-CN.js

@@ -21,6 +21,9 @@
         formatNoMatches: function () {
         formatNoMatches: function () {
             return '没有找到匹配的记录';
             return '没有找到匹配的记录';
         },
         },
+        formatPaginationSwitch: function () {
+            return '隐藏/显示分页';
+        },
         formatRefresh: function () {
         formatRefresh: function () {
             return '刷新';
             return '刷新';
         },
         },

+ 3 - 0
src/locale/bootstrap-table-zh-TW.js

@@ -21,6 +21,9 @@
         formatNoMatches: function () {
         formatNoMatches: function () {
             return '沒有找符合的結果';
             return '沒有找符合的結果';
         },
         },
+        formatPaginationSwitch: function () {
+            return '隱藏/顯示分頁';
+        },
         formatRefresh: function () {
         formatRefresh: function () {
             return '刷新';
             return '刷新';
         },
         },