Sha256: dc3d081b4972d405f0e82cfc8a4c39b1e31010e07417bb93c5a245818f31683e

Contents?: true

Size: 1.2 KB

Versions: 5

Compression:

Stored size: 1.2 KB

Contents

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

    $.fn.bootstrapTable.locales['zh-CN'] = {
        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-CN']);

})(jQuery);

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bootstrap-table-rails-1.10.1 vendor/assets/javascripts/locale/bootstrap-table-zh-CN.js
bootstrap-table-rails-1.10.0 vendor/assets/javascripts/locale/bootstrap-table-zh-CN.js
bootstrap-table-rails-1.9.1 vendor/assets/javascripts/locale/bootstrap-table-zh-CN.js
bootstrap-table-rails-1.9.0 vendor/assets/javascripts/locale/bootstrap-table-zh-CN.js
bootstrap-table-rails-1.8.2.1 vendor/assets/javascripts/locale/bootstrap-table-zh-CN.js