grid.locale-ca.js 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. /**
  2. * jqGrid Catalan Translation
  3. * Traducció jqGrid en Catatà per Faserline, S.L.
  4. * http://www.faserline.com
  5. * Dual licensed under the MIT and GPL licenses:
  6. * http://www.opensource.org/licenses/mit-license.php
  7. * http://www.gnu.org/licenses/gpl.html
  8. **/
  9. /*global jQuery, define */
  10. (function( factory ) {
  11. "use strict";
  12. if ( typeof define === "function" && define.amd ) {
  13. // AMD. Register as an anonymous module.
  14. define([
  15. "jquery",
  16. "../grid.base"
  17. ], factory );
  18. } else {
  19. // Browser globals
  20. factory( jQuery );
  21. }
  22. }(function( $ ) {
  23. $.jgrid = $.jgrid || {};
  24. if(!$.jgrid.hasOwnProperty("regional")) {
  25. $.jgrid.regional = [];
  26. }
  27. $.jgrid.regional["ca"] = {
  28. defaults : {
  29. recordtext: "Mostrant {0} - {1} de {2}",
  30. emptyrecords: "Sense registres que mostrar",
  31. loadtext: "Carregant...",
  32. savetext: "Saving...",
  33. pgtext : "Pàgina {0} de {1}",
  34. pgfirst : "First Page",
  35. pglast : "Last Page",
  36. pgnext : "Next Page",
  37. pgprev : "Previous Page",
  38. pgrecs : "Records per Page",
  39. showhide: "Toggle Expand Collapse Grid",
  40. // mobile
  41. pagerCaption : "Grid::Page Settings",
  42. pageText : "Page:",
  43. recordPage : "Records per Page",
  44. nomorerecs : "No more records...",
  45. scrollPullup: "Pull up to load more...",
  46. scrollPulldown : "Pull down to refresh...",
  47. scrollRefresh : "Release to refresh..."
  48. },
  49. search : {
  50. caption: "Cerca...",
  51. Find: "Cercar",
  52. Reset: "Buidar",
  53. 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'}, {oper:'bt', text:'between'}],
  54. groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ],
  55. operandTitle : "Click to select search operation.",
  56. resetTitle : "Reset Search Value"
  57. },
  58. edit : {
  59. addCaption: "Afegir registre",
  60. editCaption: "Modificar registre",
  61. bSubmit: "Guardar",
  62. bCancel: "Cancelar",
  63. bClose: "Tancar",
  64. saveData: "Les dades han canviat. Guardar canvis?",
  65. bYes : "Yes",
  66. bNo : "No",
  67. bExit : "Cancel",
  68. msg: {
  69. required:"Camp obligatori",
  70. number:"Introdueixi un nombre",
  71. minValue:"El valor ha de ser major o igual que ",
  72. maxValue:"El valor ha de ser menor o igual a ",
  73. email: "no és una direcció de correu vàlida",
  74. integer: "Introdueixi un valor enter",
  75. date: "Introdueixi una data correcta ",
  76. url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')",
  77. nodefined : " is not defined!",
  78. novalue : " return value is required!",
  79. customarray : "Custom function should return array!",
  80. customfcheck : "Custom function should be present in case of custom checking!"
  81. }
  82. },
  83. view : {
  84. caption: "Veure registre",
  85. bClose: "Tancar"
  86. },
  87. del : {
  88. caption: "Eliminar",
  89. msg: "¿Desitja eliminar els registres seleccionats?",
  90. bSubmit: "Eliminar",
  91. bCancel: "Cancelar"
  92. },
  93. nav : {
  94. edittext: " ",
  95. edittitle: "Modificar fila seleccionada",
  96. addtext:" ",
  97. addtitle: "Agregar nova fila",
  98. deltext: " ",
  99. deltitle: "Eliminar fila seleccionada",
  100. searchtext: " ",
  101. searchtitle: "Cercar informació",
  102. refreshtext: "",
  103. refreshtitle: "Refrescar taula",
  104. alertcap: "Avís",
  105. alerttext: "Seleccioni una fila",
  106. viewtext: " ",
  107. viewtitle: "Veure fila seleccionada",
  108. savetext: "",
  109. savetitle: "Save row",
  110. canceltext: "",
  111. canceltitle : "Cancel row editing",
  112. selectcaption : "Actions..."
  113. },
  114. // setcolumns module
  115. col : {
  116. caption: "Mostrar/ocultar columnes",
  117. bSubmit: "Enviar",
  118. bCancel: "Cancelar"
  119. },
  120. errors : {
  121. errcap : "Error",
  122. nourl : "No s'ha especificat una URL",
  123. norecords: "No hi ha dades per processar",
  124. model : "Les columnes de noms són diferents de les columnes del model"
  125. },
  126. formatter : {
  127. integer : {thousandsSeparator: ".", defaultValue: '0'},
  128. number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
  129. currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
  130. date : {
  131. dayNames: [
  132. "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
  133. "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
  134. ],
  135. monthNames: [
  136. "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
  137. "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
  138. ],
  139. AmPm : ["am","pm","AM","PM"],
  140. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
  141. srcformat: 'Y-m-d',
  142. newformat: 'd-m-Y',
  143. parseRe : /[#%\\\/:_;.,\t\s-]/,
  144. masks : {
  145. ISO8601Long:"Y-m-d H:i:s",
  146. ISO8601Short:"Y-m-d",
  147. ShortDate: "n/j/Y",
  148. LongDate: "l, F d, Y",
  149. FullDateTime: "l, F d, Y g:i:s A",
  150. MonthDay: "F d",
  151. ShortTime: "g:i A",
  152. LongTime: "g:i:s A",
  153. SortableDateTime: "Y-m-d\\TH:i:s",
  154. UniversalSortableDateTime: "Y-m-d H:i:sO",
  155. YearMonth: "F, Y"
  156. },
  157. reformatAfterEdit : false,
  158. userLocalTime : false
  159. },
  160. baseLinkUrl: '',
  161. showAction: 'show',
  162. target: '',
  163. checkbox : {disabled:true},
  164. idName : 'id'
  165. },
  166. colmenu : {
  167. sortasc : "Sort Ascending",
  168. sortdesc : "Sort Descending",
  169. columns : "Columns",
  170. filter : "Filter",
  171. grouping : "Group By",
  172. ungrouping : "Ungroup",
  173. searchTitle : "Get items with value that:",
  174. freeze : "Freeze",
  175. unfreeze : "Unfreeze",
  176. reorder : "Move to reorder"
  177. }
  178. };
  179. }));