grid.locale-cat.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. ;(function($){
  2. /**
  3. * jqGrid Catalan Translation
  4. * Traducció jqGrid en Catatà per Faserline, S.L.
  5. * http://www.faserline.com
  6. * Dual licensed under the MIT and GPL licenses:
  7. * http://www.opensource.org/licenses/mit-license.php
  8. * http://www.gnu.org/licenses/gpl.html
  9. **/
  10. $.jgrid = $.jgrid || {};
  11. $.extend($.jgrid,{
  12. defaults : {
  13. recordtext: "Mostrant {0} - {1} de {2}",
  14. emptyrecords: "Sense registres que mostrar",
  15. loadtext: "Carregant...",
  16. pgtext : "Pàgina {0} de {1}",
  17. pgfirst : "First Page",
  18. pglast : "Last Page",
  19. pgnext : "Next Page",
  20. pgprev : "Previous Page",
  21. pgrecs : "Records per Page",
  22. showhide: "Toggle Expand Collapse Grid"
  23. },
  24. search : {
  25. caption: "Cerca...",
  26. Find: "Cercar",
  27. Reset: "Buidar",
  28. odata: [{ oper:'eq', text:"equal"},{ oper:'ne', text:"not equal"},{ oper:'lt', text:"less"},{ oper:'le', text:"less or equal"},{ oper:'gt', text:"greater"},{ oper:'ge', text:"greater or equal"},{ oper:'bw', text:"begins with"},{ oper:'bn', text:"does not begin with"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is not in"},{ oper:'ew', text:"ends with"},{ oper:'en', text:"does not end with"},{ oper:'cn', text:"contains"},{ oper:'nc', text:"does not contain"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
  29. groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ],
  30. operandTitle : "Click to select search operation.",
  31. resetTitle : "Reset Search Value"
  32. },
  33. edit : {
  34. addCaption: "Afegir registre",
  35. editCaption: "Modificar registre",
  36. bSubmit: "Guardar",
  37. bCancel: "Cancelar",
  38. bClose: "Tancar",
  39. saveData: "Les dades han canviat. Guardar canvis?",
  40. bYes : "Yes",
  41. bNo : "No",
  42. bExit : "Cancel",
  43. msg: {
  44. required:"Camp obligatori",
  45. number:"Introdueixi un nombre",
  46. minValue:"El valor ha de ser major o igual que ",
  47. maxValue:"El valor ha de ser menor o igual a ",
  48. email: "no és una direcció de correu vàlida",
  49. integer: "Introdueixi un valor enter",
  50. date: "Introdueixi una data correcta ",
  51. url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')",
  52. nodefined : " is not defined!",
  53. novalue : " return value is required!",
  54. customarray : "Custom function should return array!",
  55. customfcheck : "Custom function should be present in case of custom checking!"
  56. }
  57. },
  58. view : {
  59. caption: "Veure registre",
  60. bClose: "Tancar"
  61. },
  62. del : {
  63. caption: "Eliminar",
  64. msg: "¿Desitja eliminar els registres seleccionats?",
  65. bSubmit: "Eliminar",
  66. bCancel: "Cancelar"
  67. },
  68. nav : {
  69. edittext: " ",
  70. edittitle: "Modificar fila seleccionada",
  71. addtext:" ",
  72. addtitle: "Agregar nova fila",
  73. deltext: " ",
  74. deltitle: "Eliminar fila seleccionada",
  75. searchtext: " ",
  76. searchtitle: "Cercar informació",
  77. refreshtext: "",
  78. refreshtitle: "Refrescar taula",
  79. alertcap: "Avís",
  80. alerttext: "Seleccioni una fila",
  81. viewtext: " ",
  82. viewtitle: "Veure fila seleccionada"
  83. },
  84. // setcolumns module
  85. col : {
  86. caption: "Mostrar/ocultar columnes",
  87. bSubmit: "Enviar",
  88. bCancel: "Cancelar"
  89. },
  90. errors : {
  91. errcap : "Error",
  92. nourl : "No s'ha especificat una URL",
  93. norecords: "No hi ha dades per processar",
  94. model : "Les columnes de noms són diferents de les columnes del model"
  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. "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
  103. "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
  104. ],
  105. monthNames: [
  106. "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
  107. "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
  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: 'show',
  132. target: '',
  133. checkbox : {disabled:true},
  134. idName : 'id'
  135. }
  136. });
  137. })(jQuery);