You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
2 years ago
|
/**
|
||
|
* Bootstrap Table Japanese translation
|
||
|
* Author: Azamshul Azizy <azamshul@gmail.com>
|
||
|
*/
|
||
|
(function ($) {
|
||
|
'use strict';
|
||
|
|
||
|
$.fn.bootstrapTable.locales['ja-JP'] = {
|
||
|
formatLoadingMessage: function () {
|
||
|
return '読み込み中です。少々お待ちください。';
|
||
|
},
|
||
|
formatRecordsPerPage: function (pageNumber) {
|
||
|
return 'ページ当たり最大' + pageNumber + '件';
|
||
|
},
|
||
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
||
|
return '全' + totalRows + '件から、'+ pageFrom + 'から' + pageTo + '件目まで表示しています';
|
||
|
},
|
||
|
formatSearch: function () {
|
||
|
return '検索';
|
||
|
},
|
||
|
formatNoMatches: function () {
|
||
|
return '該当するレコードが見つかりません';
|
||
|
},
|
||
|
formatPaginationSwitch: function () {
|
||
|
return 'ページ数を表示・非表示';
|
||
|
},
|
||
|
formatRefresh: function () {
|
||
|
return '更新';
|
||
|
},
|
||
|
formatToggle: function () {
|
||
|
return 'トグル';
|
||
|
},
|
||
|
formatColumns: function () {
|
||
|
return '列';
|
||
|
},
|
||
|
formatAllRows: function () {
|
||
|
return 'すべて';
|
||
|
}
|
||
|
};
|
||
|
|
||
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['ja-JP']);
|
||
|
|
||
|
})(jQuery);
|