Sha256: 327c571a48cc2b117b7b48b10619ba524b524d970cd6c9e46034b74b48030ae0

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

/**
 * Bootstrap Table Chinese translation
 * Author: Zhixin Wen<wenzhixin2010@gmail.com>
 */
(function ($) {
    'use strict';

    $.fn.bootstrapTable.locales['zh-TW'] = {
        formatLoadingMessage: function () {
            return '正在努力地載入資料,請稍候……';
        },
        formatRecordsPerPage: function (pageNumber) {
            return '每頁顯示 ' + pageNumber + ' 項記錄';
        },
        formatShowingRows: function (pageFrom, pageTo, totalRows) {
            return '顯示第 ' + pageFrom + ' 到第 ' + pageTo + ' 項記錄,總共 ' + totalRows + ' 項記錄';
        },
        formatSearch: function () {
            return '搜尋';
        },
        formatNoMatches: function () {
            return '沒有找到符合的結果';
        },
        formatPaginationSwitch: function () {
            return '隱藏/顯示分頁';
        },
        formatRefresh: function () {
            return '重新整理';
        },
        formatToggle: function () {
            return '切換';
        },
        formatColumns: function () {
            return '列';
        }
    };

    $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['zh-TW']);

})(jQuery);

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bootstrap-table-rails-1.12.2 vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js
bootstrap-table-rails-1.12.1 vendor/assets/javascripts/locale/bootstrap-table-zh-TW.js
bootstrap-table-rails-1.11.1.1 vendor/assets/javascripts/locale/bootstrap-table-zh-TW.js
bootstrap-table-rails-1.11.0 vendor/assets/javascripts/locale/bootstrap-table-zh-TW.js
bootstrap-table-rails-1.10.1 vendor/assets/javascripts/locale/bootstrap-table-zh-TW.js
bootstrap-table-rails-1.10.0 vendor/assets/javascripts/locale/bootstrap-table-zh-TW.js