Blame view

public/assets/libs/bootstrap-table/src/locale/bootstrap-table-pt-BR.js 1.23 KB
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  /**
   * Bootstrap Table Brazilian Portuguese Translation
   * Author: Eduardo Cerqueira<egcerqueira@gmail.com>
   * Update: João Mello<jmello@hotmail.com.br>
   */
  (function ($) {
      'use strict';
  
      $.fn.bootstrapTable.locales['pt-BR'] = {
          formatLoadingMessage: function () {
              return 'Carregando, aguarde...';
          },
          formatRecordsPerPage: function (pageNumber) {
              return pageNumber + ' registros por página';
          },
          formatShowingRows: function (pageFrom, pageTo, totalRows) {
              return 'Exibindo ' + pageFrom + ' até ' + pageTo + ' de ' + totalRows + ' linhas';
          },
          formatSearch: function () { 
              return 'Pesquisar';
          },
          formatRefresh: function () { 
              return 'Recarregar';
          },
          formatToggle: function () { 
              return 'Alternar';
          },
          formatColumns: function () { 
              return 'Colunas';
          },
          formatPaginationSwitch: function () { 
              return 'Ocultar/Exibir paginação';
          },
          formatNoMatches: function () {
              return 'Nenhum registro encontrado';
          }
      };
  
      $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-BR']);
  
  })(jQuery);