ソースを参照

Missing table-options.md

Dennis Hernández 11 年 前
コミット
effafeb2bd

+ 35 - 35
docs/_i18n/es/documentation/methods.md

@@ -2,7 +2,7 @@
 
 ---
 
-The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
+Sintaxis para llamar a un método: `$('#table').bootstrapTable('method', parameter);`.
 
 <table class="table"
        data-toggle="table"
@@ -11,136 +11,136 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
        data-show-columns="true">
     <thead>
     <tr>
-        <th>Name</th>
-        <th>Parameter</th>
-        <th>Description</th>
+        <th>Nombre</th>
+        <th>Parámetro</th>
+        <th>Descripción</th>
     </tr>
     </thead>
     <tbody>
     <tr>
         <td>getSelections</td>
         <td>none</td>
-        <td>Return all selected rows, when no record selected, am empty array will return.</td>
+        <td>Retorna todas las filas seleccionadas, cuando no hay seleccionadas, se retorna un array vacío .</td>
     </tr>
     <tr>
         <td>getData</td>
         <td>none</td>
-        <td>Get the loaded data of table.</td>
+        <td>Retorna los datos cargados en la tabla.</td>
     </tr>
     <tr>
         <td>load</td>
         <td>data</td>
-        <td>Load the data to table, the old rows will be removed.</td>
+        <td>Se cargan los datos en la tabla, las filas antiguas se removeran.</td>
     </tr>
     <tr>
         <td>append</td>
         <td>data</td>
-        <td>Append the data to table.</td>
+        <td>Se anexan los datos a la tabla.</td>
     </tr>
     <tr>
         <td>remove</td>
         <td>params</td>
         <td>
-        Remove data from table, the params contains two properties: <br>
-        field: the field name of remove rows. <br>
-        values: the array of values for rows which should be removed. <br>
-        Example: $('#myTable').bootstrapTable('remove', {field: 'id', values: ["73", "74"]})
+        Se remueven los datos de la tabla, los parámetros contienen dos propiedades: <br>
+        field: el nombre del campo de las filas removidas. <br>
+        values: el array de valores de las filas que deberían ser removidas. <br>
+        Ejemplo: $('#myTable').bootstrapTable('remove', {field: 'id', values: ["73", "74"]})
         </td>
     </tr>
     <tr>
         <td>updateRow</td>
         <td>params</td>
         <td>
-        Update the specified row, the param contains following properties: <br>
-        index: the row index to be updated. <br>
-        row: the new row data.
+        Actualiza la fila especificada, el parámetro contiene las siguientes propiedades: <br>
+        index: el índice de la fila para ser actualizada. <br>
+        row: los nuevos data de la fila.
         </td>
     </tr>
     <tr>
         <td>mergeCells</td>
         <td>options</td>
         <td>
-        Merge some cells to one cell, the options contains following properties: <br>
-        index: the row index. <br>
-        field: the field name.<br>
-        rowspan: the rowspan count to be merged. <br>
-        colspan: the colspan count to be merged.
+        Se unen algunas celdas en una, las opciones contienen las siguientes propiedades: <br>
+        index: el índice de la fila. <br>
+        field: el nombre del campo.<br>
+        rowspan: el rowspan para ser unidas. <br>
+        colspan: el colspan para ser unidas.
         </td>
     </tr>
     <tr>
         <td>refresh</td>
         <td>params</td>
-        <td>Refresh the remote server data, you can set <code>{silent: true}</code> to refresh the data silently, and set <code>{url: newUrl}</code> to change the url. To supply query params specific to this request, set <code>{query: {foo: 'bar'}}</code></td>
+        <td>Refresca los datos remotos del servidor, se puede setear <code>{silent: true}</code> para refrescar los datos silenciosamente, y setear <code>{url: newUrl}</code> para cambiar el URL. Para suministrar query params especificos para este request, setear <code>{query: {foo: 'bar'}}</code></td>
     </tr>
     <tr>
         <td>showLoading</td>
         <td>none</td>
-        <td>Show loading status.</td>
+        <td>Mostrar el estado de la carga.</td>
     </tr>
     <tr>
         <td>hideLoading</td>
         <td>none</td>
-        <td>Hide loading status.</td>
+        <td>Ocultar el estado de la carga.</td>
     </tr>
     <tr>
         <td>checkAll</td>
         <td>none</td>
-        <td>Check all current page rows.</td>
+        <td>Chequear todas las filas de la página actual de la tabla.</td>
     </tr>
     <tr>
         <td>uncheckAll</td>
         <td>none</td>
-        <td>Uncheck all current page rows.</td>
+        <td>Des-chequear todas las filas de la página actual de la tabla.</td>
     </tr>
     <tr>
         <td>check</td>
         <td>index</td>
-        <td>Check a row, the row index start with 0.</td>
+        <td>Chequea una fila, el índice de la fila inicia en 0.</td>
     </tr>
     <tr>
         <td>uncheck</td>
         <td>index</td>
-        <td>Uncheck a row, the row index start with 0.</td>
+        <td>Des-chequea una fila, el índice de la fila inicia en 0.</td>
     </tr>
     <tr>
         <td>resetView</td>
         <td>params</td>
-        <td>Reset the bootstrap table view, for example reset the table height.</td>
+        <td>Reinicia la vista de bootstrap table, por ejemplo reinicia el alto de la tabla.</td>
     </tr>
     <tr>
         <td>destroy</td>
         <td>none</td>
-        <td>Destroy the bootstrap table.</td>
+        <td>Destruye la bootstrap table.</td>
     </tr>
     <tr>
         <td>showColumn</td>
         <td>field</td>
-        <td>Show the specified column.</td>
+        <td>Muestra la columna especificada.</td>
     </tr>
     <tr>
         <td>hideColumn</td>
         <td>field</td>
-        <td>Hide the specified column.</td>
+        <td>Oculta la columna especificada.</td>
     </tr>
     <tr>
         <td>scrollTo</td>
         <td>value</td>
-        <td>Scroll to the number value position, set 'bottom' means scroll to the bottom.</td>
+        <td>Setea la posición del scroll, setear 'bottom' significa setear la posición del scroll al final de la tabla.</td>
     </tr>
     <tr>
         <td>filterBy</td>
         <td>params</td>
-        <td>(Can use only in client-side)Filter data in table, eg. you can filter <code>{age: 10}</code> to show the data only age is equal to 10.</td>
+        <td>(Solo se puede usar en client-side)Filtra los datos en la tabla, ejm. se puede filtrar <code>{age: 10}</code> para mostrar los daros solo con la edad igual a 10.</td>
     </tr>
     <tr>
         <td>prevPage</td>
         <td>none</td>
-        <td>Go to previous page.</td>
+        <td>Ir a la página anterior.</td>
     </tr>
     <tr>
         <td>nextPage</td>
         <td>none</td>
-        <td>Go to next page.</td>
+        <td>Ir a la siguiente página.</td>
     </tr>
     </tbody>
 </table>

+ 22 - 23
docs/_i18n/es/documentation/table-options.md

@@ -2,7 +2,7 @@
 
 ---
 
-The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
+Las opciones de la tabla están definidas en `jQuery.fn.bootstrapTable.defaults`.
 
 <table class="table"
        data-toggle="table"
@@ -11,11 +11,11 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
        data-show-columns="true">
     <thead>
     <tr>
-        <th>Name</th>
-        <th>Attribute</th>
-        <th>Type</th>
-        <th>Default</th>
-        <th>Description</th>
+        <th>Nombre</th>
+        <th>Atributo</th>
+        <th>Tipo</th>
+        <th>Valor por defecto</th>
+        <th>Descripción</th>
     </tr>
     </thead>
     <tbody>
@@ -24,56 +24,56 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
         <td>data-toggle</td>
         <td>String</td>
         <td>'table'</td>
-        <td>Activate bootstrap table without writing JavaScript.</td>
+        <td>Activa bootstrap table sin escribir código JavaScript.</td>
     </tr>
     <tr>
         <td>classes</td>
         <td>data-classes</td>
         <td>String</td>
         <td>'table table-hover'</td>
-        <td>The class name of table.</td>
+        <td>El nombre de la clase de la tabla.</td>
     </tr>
     <tr>
         <td>height</td>
         <td>data-height</td>
         <td>Number</td>
         <td>undefined</td>
-        <td>The height of table.</td>
+        <td>El alto de la tabla.</td>
     </tr>
     <tr>
         <td>undefinedText</td>
         <td>data-undefined-text</td>
         <td>String</td>
         <td>'-'</td>
-        <td>Defines the default undefined text.</td>
+        <td>Define el texto por defecto.</td>
     </tr>
     <tr>
         <td>striped</td>
         <td>data-striped</td>
         <td>Boolean</td>
         <td>false</td>
-        <td>True to stripe the rows.</td>
+        <td>True para stripe las filas.</td>
     </tr>
     <tr>
         <td>sortName</td>
         <td>data-sort-name</td>
         <td>String</td>
         <td>undefined</td>
-        <td>Defines which column can be sorted.</td>
+        <td>Define cuales columnas pueden ser ordenadas.</td>
     </tr>
     <tr>
         <td>sortOrder</td>
         <td>data-sort-order</td>
         <td>String</td>
         <td>'asc'</td>
-        <td>Defines the column sort order, can only be 'asc' or 'desc'.</td>
+        <td>Define el método de ordenamiento, solo puede ser 'asc' o 'desc'.</td>
     </tr>
     <tr>
         <td>iconsPrefix</td>
         <td>data-icons-prefix</td>
         <td>String</td>
         <td>'glyphicon'</td>
-        <td>Defines icon set name ('glyphicon' or 'fa' for FontAwesome). By default 'glyphicon' is used. </td>
+        <td>Define el nombre del icono ('glyphicon' o 'fa' para FontAwesome). Por defecto se usa 'glyphicon'. </td>
     </tr>
     <tr>
         <td>icons</td>
@@ -84,57 +84,56 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
         &nbsp;&nbsp;toggle: 'glyphicon-list-alt icon-list-alt',<br/>
         &nbsp;&nbsp;columns: 'glyphicon-th icon-th'<br/>
         }</td>
-        <td>Defines icons that used for refresh, toggle and columns buttons</td>
+        <td>Define los iconos que son usados para los botones de refresh, toggle y columnas.</td>
     </tr>
     <tr>
         <td>columns</td>
         <td>-</td>
         <td>Array</td>
         <td>[]</td>
-        <td>The table columns config object, see column properties for more details.
-        </td>
+        <td>El array de columnas de la tabla, vea las propiedades de las columnas para más información.</td>
     </tr>
     <tr>
         <td>data</td>
         <td>-</td>
         <td>Array</td>
         <td>[]</td>
-        <td>The data to be loaded.</td>
+        <td>Los datos que serán cargados.</td>
     </tr>
     <tr>
         <td>method</td>
         <td>data-method</td>
         <td>String</td>
         <td>'get'</td>
-        <td>The method type to request remote data.</td>
+        <td>El tipo de método para hacer request de los datos remotos.</td>
     </tr>
     <tr>
         <td>url</td>
         <td>data-url</td>
         <td>String</td>
         <td>undefined</td>
-        <td>A URL to request data from remote site.</td>
+        <td>Una URL para hacer request de datos en un sitio remoto.</td>
     </tr>
     <tr>
         <td>cache</td>
         <td>data-cache</td>
         <td>Boolean</td>
         <td>true</td>
-        <td>False to disable caching of AJAX requests.</td>
+        <td>False para deshabilitar los AJAX requests.</td>
     </tr>
     <tr>
         <td>contentType</td>
         <td>data-content-type</td>
         <td>String</td>
         <td>'application/json'</td>
-        <td>The contentType of request remote data.</td>
+        <td>EL contentType para hacer request de los datos.</td>
     </tr>
     <tr>
         <td>dataType</td>
         <td>data-data-type</td>
         <td>String</td>
         <td>'json'</td>
-        <td>The type of data that you are expecting back from the server.</td>
+        <td>El tipo de datos que se esperan del servidor.</td>
     </tr>
     <tr>
         <td>ajaxOptions</td>