Browse Source

Merge pull request #476 from djhvscf/master

FAQ translated to spanish
文翼 11 years ago
parent
commit
9811a2bd49

+ 1 - 1
_config.yml

@@ -20,7 +20,7 @@ encoding:         UTF-8
 
 # Languages
 languages: ["en", "zh-cn", "es", "fr"]
-languages_string: ["English", "简体中文", "Spanish", "French"]
+languages_string: ["English", "简体中文", "Español", "French"]
 
 # Custom vars
 current_version: 1.5.0

+ 6 - 6
docs/_i18n/es/extensions/editable.md

@@ -2,27 +2,27 @@
 
 ---
 
-Use Plugin:
+Usando el plugin:
 
 * [x-editable](https://github.com/vitalets/x-editable)
 * [bootstrap-table-editable.js](https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/editable)
 
-## Editable Options
+## Opciones
 
 ### editable
 
 * type: Boolean
-* description: Set false to disabled editable of all columns.
+* description: Setee false para deshabilitar la opción editable de todas las columnas.
 * default: `true`
 
-## Editable Column options
+## Opciones de las columnas
 
 ### editable
 
 * type: Object
-* description: Configuration of x-editable. Full list of options: http://vitalets.github.io/x-editable/docs.html#editable
+* description: Configuration de x-editable. Lista completa de opciones: http://vitalets.github.io/x-editable/docs.html#editable
 * default: `undefined`
 
-## Editable Examples
+## Ejemplos
 
 <iframe width="100%" height="300" data-src="http://jsfiddle.net/wenyi/e3nk137y/28/embedded/html,js,resources,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

+ 4 - 4
docs/_i18n/es/faq/faq.md

@@ -2,9 +2,9 @@
 
 ---
 
-### When resize the window, the table header does not adjust automatically, how to solve it?
+### Cuando cambio el tamaño de la ventana del explorador, el encabezado de la tabla no se ajusta automáticamente, ¿cómo se soluciona?
 
-When you set the `height` of bootstrap table, the `fixed header` feature is automatically enabled, that is what cause the problem, you need to listen the `resize` event of window and use the `resetView` method to solve this problem, code example:
+Cuando setee la propiedad `height` de bootstrap table, automáticamente la propiedad`fixed header` es habilitada, eso causa el problema, se necesita escuchar el evento `resize` de la vantana del explorador y usar el método `resetView` para resolver este problema, ejemplo:
 
 ```js
 $(function () {
@@ -18,9 +18,9 @@ $(function () {
 
 ---
 
-### How to better merge cells?
+### ¿Cuál es la mejor opción para unir celdas?
 
-For merged cells, when you do refresh, next page or switch columns to show, the merge cells will be unmerged. We can listen the events(on load success, on column switch, on page change and on search) to solve this problem, code example:
+Para unir celdas, cuando se haga el refresh, se pase a la siguiente página o se muestren/oculten columnas, las celdas unidas se quedarán es su estado normal, no unidas. Se puede escuchar los eventos(on load success, on column switch, on page change y on search) para resolver este problema, ejemplo:
 
 ```js
 $table.on('load-success.bs.table column-switch.bs.table page-change.bs.table search.bs.table', function () {

+ 5 - 5
src/locale/bootstrap-table-pt-BR.js

@@ -16,19 +16,19 @@
         formatShowingRows: function (pageFrom, pageTo, totalRows) {
             return 'Exibindo ' + pageFrom + ' até ' + pageTo + ' de ' + totalRows + ' linhas';
         },
-        formatSearch: function () { //De Busca para Pesquisar
+        formatSearch: function () { 
             return 'Pesquisar';
         },
-        formatRefresh: function () { //add
+        formatRefresh: function () { 
             return 'Recarregar';
         },
-        formatToggle: function () { //add
+        formatToggle: function () { 
             return 'Alternar';
         },
-        formatColumns: function () { //add
+        formatColumns: function () { 
             return 'Colunas';
         },
-        formatPaginationSwitch: function () { //add
+        formatPaginationSwitch: function () { 
             return 'Ocultar/Exibir paginação';
         },
         formatNoMatches: function () {