grid.locale-es.js 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. ;(function($){
  2. /**
  3. * jqGrid Spanish Translation
  4. * Traduccion jqGrid en Español por Yamil Bracho
  5. * Traduccion corregida y ampliada por Faserline, S.L.
  6. * http://www.faserline.com
  7. * Dual licensed under the MIT and GPL licenses:
  8. * http://www.opensource.org/licenses/mit-license.php
  9. * http://www.gnu.org/licenses/gpl.html
  10. **/
  11. $.jgrid = $.jgrid || {};
  12. $.extend($.jgrid,{
  13. defaults : {
  14. recordtext: "Mostrando {0} - {1} de {2}",
  15. emptyrecords: "Sin registros que mostrar",
  16. loadtext: "Cargando...",
  17. pgtext : "Página {0} de {1}",
  18. pgfirst : "First Page",
  19. pglast : "Last Page",
  20. pgnext : "Next Page",
  21. pgprev : "Previous Page",
  22. pgrecs : "Records per Page",
  23. showhide: "Toggle Expand Collapse Grid"
  24. },
  25. search : {
  26. caption: "Búsqueda...",
  27. Find: "Buscar",
  28. Reset: "Limpiar",
  29. odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"no igual a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor o igual que"},{ oper:'gt', text:"mayor que"},{ oper:'ge', text:"mayor o igual a"},{ oper:'bw', text:"empiece por"},{ oper:'bn', text:"no empiece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"no está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"no termina por"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"no contiene"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
  30. groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ],
  31. operandTitle : "Click to select search operation.",
  32. resetTitle : "Reset Search Value"
  33. },
  34. edit : {
  35. addCaption: "Agregar registro",
  36. editCaption: "Modificar registro",
  37. bSubmit: "Guardar",
  38. bCancel: "Cancelar",
  39. bClose: "Cerrar",
  40. saveData: "Se han modificado los datos, ¿guardar cambios?",
  41. bYes : "Si",
  42. bNo : "No",
  43. bExit : "Cancelar",
  44. msg: {
  45. required:"Campo obligatorio",
  46. number:"Introduzca un número",
  47. minValue:"El valor debe ser mayor o igual a ",
  48. maxValue:"El valor debe ser menor o igual a ",
  49. email: "no es una dirección de correo válida",
  50. integer: "Introduzca un valor entero",
  51. date: "Introduza una fecha correcta ",
  52. url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')",
  53. nodefined : " no está definido.",
  54. novalue : " valor de retorno es requerido.",
  55. customarray : "La función personalizada debe devolver un array.",
  56. customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada."
  57. }
  58. },
  59. view : {
  60. caption: "Consultar registro",
  61. bClose: "Cerrar"
  62. },
  63. del : {
  64. caption: "Eliminar",
  65. msg: "¿Desea eliminar los registros seleccionados?",
  66. bSubmit: "Eliminar",
  67. bCancel: "Cancelar"
  68. },
  69. nav : {
  70. edittext: " ",
  71. edittitle: "Modificar fila seleccionada",
  72. addtext:" ",
  73. addtitle: "Agregar nueva fila",
  74. deltext: " ",
  75. deltitle: "Eliminar fila seleccionada",
  76. searchtext: " ",
  77. searchtitle: "Buscar información",
  78. refreshtext: "",
  79. refreshtitle: "Recargar datos",
  80. alertcap: "Aviso",
  81. alerttext: "Seleccione una fila",
  82. viewtext: "",
  83. viewtitle: "Ver fila seleccionada"
  84. },
  85. col : {
  86. caption: "Mostrar/ocultar columnas",
  87. bSubmit: "Enviar",
  88. bCancel: "Cancelar"
  89. },
  90. errors : {
  91. errcap : "Error",
  92. nourl : "No se ha especificado una URL",
  93. norecords: "No hay datos para procesar",
  94. model : "Las columnas de nombres son diferentes de las columnas de modelo"
  95. },
  96. formatter : {
  97. integer : {thousandsSeparator: ".", defaultValue: '0'},
  98. number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
  99. currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
  100. date : {
  101. dayNames: [
  102. "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa",
  103. "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"
  104. ],
  105. monthNames: [
  106. "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic",
  107. "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
  108. ],
  109. AmPm : ["am","pm","AM","PM"],
  110. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
  111. srcformat: 'Y-m-d',
  112. newformat: 'd-m-Y',
  113. parseRe : /[#%\\\/:_;.,\t\s-]/,
  114. masks : {
  115. ISO8601Long:"Y-m-d H:i:s",
  116. ISO8601Short:"Y-m-d",
  117. ShortDate: "n/j/Y",
  118. LongDate: "l, F d, Y",
  119. FullDateTime: "l, F d, Y g:i:s A",
  120. MonthDay: "F d",
  121. ShortTime: "g:i A",
  122. LongTime: "g:i:s A",
  123. SortableDateTime: "Y-m-d\\TH:i:s",
  124. UniversalSortableDateTime: "Y-m-d H:i:sO",
  125. YearMonth: "F, Y"
  126. },
  127. reformatAfterEdit : false,
  128. userLocalTime : false
  129. },
  130. baseLinkUrl: '',
  131. showAction: '',
  132. target: '',
  133. checkbox : {disabled:true},
  134. idName : 'id'
  135. }
  136. });
  137. })(jQuery);