/hippo/src/main/webapp/ext/src/locale/ext-lang-ca.js

http://hdbc.googlecode.com/ · JavaScript · 315 lines · 273 code · 29 blank · 13 comment · 25 complexity · 85b1e3d5f92e549448817b15987880f8 MD5 · raw file

  1. /*!
  2. * Ext JS Library 3.0.0
  3. * Copyright(c) 2006-2009 Ext JS, LLC
  4. * licensing@extjs.com
  5. * http://www.extjs.com/license
  6. */
  7. /**
  8. * Catalonian Translation by halkon_polako 6-12-2007
  9. * December correction halkon_polako 11-12-2007
  10. *
  11. * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
  12. * by halkon_polako 14-aug-2008
  13. */
  14. Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>';
  15. if(Ext.DataView){
  16. Ext.DataView.prototype.emptyText = "";
  17. }
  18. if(Ext.grid.GridPanel){
  19. Ext.grid.GridPanel.prototype.ddText = "{0} fila(es) seleccionada(es)";
  20. }
  21. if(Ext.LoadMask){
  22. Ext.LoadMask.prototype.msg = "Carregant...";
  23. }
  24. Date.monthNames = [
  25. "Gener",
  26. "Febrer",
  27. "Mar&#231;",
  28. "Abril",
  29. "Maig",
  30. "Juny",
  31. "Juliol",
  32. "Agost",
  33. "Setembre",
  34. "Octubre",
  35. "Novembre",
  36. "Desembre"
  37. ];
  38. Date.getShortMonthName = function(month) {
  39. return Date.monthNames[month].substring(0, 3);
  40. };
  41. Date.monthNumbers = {
  42. Gen : 0,
  43. Feb : 1,
  44. Mar : 2,
  45. Abr : 3,
  46. Mai : 4,
  47. Jun : 5,
  48. Jul : 6,
  49. Ago : 7,
  50. Set : 8,
  51. Oct : 9,
  52. Nov : 10,
  53. Dec : 11
  54. };
  55. Date.getMonthNumber = function(name) {
  56. return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  57. };
  58. Date.dayNames = [
  59. "Diumenge",
  60. "Dilluns",
  61. "Dimarts",
  62. "Dimecres",
  63. "Dijous",
  64. "Divendres",
  65. "Dissabte"
  66. ];
  67. Date.getShortDayName = function(day) {
  68. return Date.dayNames[day].substring(0, 3);
  69. };
  70. Date.parseCodes.S.s = "(?:st|nd|rd|th)";
  71. if(Ext.MessageBox){
  72. Ext.MessageBox.buttonText = {
  73. ok : "Acceptar",
  74. cancel : "Cancel&#183;lar",
  75. yes : "S&#237;",
  76. no : "No"
  77. };
  78. }
  79. if(Ext.util.Format){
  80. Ext.util.Format.date = function(v, format){
  81. if(!v) return "";
  82. if(!(v instanceof Date)) v = new Date(Date.parse(v));
  83. return v.dateFormat(format || "d/m/Y");
  84. };
  85. }
  86. if(Ext.DatePicker){
  87. Ext.apply(Ext.DatePicker.prototype, {
  88. todayText : "Avui",
  89. minText : "Aquesta data &#233;s anterior a la data m&#237;nima",
  90. maxText : "Aquesta data &#233;s posterior a la data m&#224;xima",
  91. disabledDaysText : "",
  92. disabledDatesText : "",
  93. monthNames : Date.monthNames,
  94. dayNames : Date.dayNames,
  95. nextText : 'Mes Seg&#252;ent (Control+Fletxa Dreta)',
  96. prevText : 'Mes Anterior (Control+Fletxa Esquerra)',
  97. monthYearText : 'Seleccioni un mes (Control+Fletxa a Dalt o Abaix per canviar els anys)',
  98. todayTip : "{0} (Barra d&#39;espai)",
  99. format : "d/m/Y",
  100. okText : "&#160;Acceptar&#160;",
  101. cancelText : "Cancel&#183;lar",
  102. startDay : 1
  103. });
  104. }
  105. if(Ext.PagingToolbar){
  106. Ext.apply(Ext.PagingToolbar.prototype, {
  107. beforePageText : "P&#224;gina",
  108. afterPageText : "de {0}",
  109. firstText : "Primera P&#224;gina",
  110. prevText : "P&#224;gina Anterior",
  111. nextText : "P&#224;gina Seg&#252;ent",
  112. lastText : "Darrera P&#224;gina",
  113. refreshText : "Refrescar",
  114. displayMsg : "Mostrant {0} - {1} de {2}",
  115. emptyMsg : 'Sense dades per mostrar'
  116. });
  117. }
  118. if(Ext.form.Field){
  119. Ext.form.Field.prototype.invalidText = "El valor d&#39;aquest camp &#233;s inv&#224;lid";
  120. }
  121. if(Ext.form.TextField){
  122. Ext.apply(Ext.form.TextField.prototype, {
  123. minLengthText : "El tamany m&#237;nim per aquest camp &#233;s {0}",
  124. maxLengthText : "El tamany m&#224;xim per aquest camp &#233;s {0}",
  125. blankText : "Aquest camp &#233;s obligatori",
  126. regexText : "",
  127. emptyText : null
  128. });
  129. }
  130. if(Ext.form.NumberField){
  131. Ext.apply(Ext.form.NumberField.prototype, {
  132. decimalSeparator : ",",
  133. decimalPrecision : 2,
  134. minText : "El valor m&#237;nim per aquest camp &#233;s {0}",
  135. maxText : "El valor m&#224;xim per aquest camp &#233;s {0}",
  136. nanText : "{0} no &#233;s un nombre v&#224;lid"
  137. });
  138. }
  139. if(Ext.form.DateField){
  140. Ext.apply(Ext.form.DateField.prototype, {
  141. disabledDaysText : "Deshabilitat",
  142. disabledDatesText : "Deshabilitat",
  143. minText : "La data en aquest camp ha de ser posterior a {0}",
  144. maxText : "La data en aquest camp ha de ser inferior a {0}",
  145. invalidText : "{0} no &#233;s una data v&#224;lida - ha de tenir el format {1}",
  146. format : "d/m/Y",
  147. altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
  148. });
  149. }
  150. if(Ext.form.ComboBox){
  151. Ext.apply(Ext.form.ComboBox.prototype, {
  152. loadingText : "Carregant...",
  153. valueNotFoundText : undefined
  154. });
  155. }
  156. if(Ext.form.VTypes){
  157. Ext.apply(Ext.form.VTypes, {
  158. emailText : 'Aquest camp ha de ser una adre&#231;a de e-mail amb el format "user@example.com"',
  159. urlText : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.example.com"',
  160. alphaText : 'Aquest camp nom&#233;s pot contenir lletres i _',
  161. alphanumText : 'Aquest camp nom&#233;s por contenir lletres, nombres i _'
  162. });
  163. }
  164. if(Ext.form.HtmlEditor){
  165. Ext.apply(Ext.form.HtmlEditor.prototype, {
  166. createLinkText : 'Si us plau, tecleixi la URL per l\'enlla&#231;:',
  167. buttonTips : {
  168. bold : {
  169. title: 'Negreta (Ctrl+B)',
  170. text: 'Posa el text seleccionat en negreta.',
  171. cls: 'x-html-editor-tip'
  172. },
  173. italic : {
  174. title: 'It&#224;lica (Ctrl+I)',
  175. text: 'Posa el text seleccionat en it&#224;lica.',
  176. cls: 'x-html-editor-tip'
  177. },
  178. underline : {
  179. title: 'Subratllat (Ctrl+U)',
  180. text: 'Subratlla el text seleccionat.',
  181. cls: 'x-html-editor-tip'
  182. },
  183. increasefontsize : {
  184. title: 'Augmentar Text',
  185. text: 'Augmenta el tamany de la font de text.',
  186. cls: 'x-html-editor-tip'
  187. },
  188. decreasefontsize : {
  189. title: 'Disminuir Text',
  190. text: 'Disminueix el tamany de la font de text.',
  191. cls: 'x-html-editor-tip'
  192. },
  193. backcolor : {
  194. title: 'Color de fons',
  195. text: 'Canvia el color de fons del text seleccionat.',
  196. cls: 'x-html-editor-tip'
  197. },
  198. forecolor : {
  199. title: 'Color de la font de text',
  200. text: 'Canvia el color del text seleccionat.',
  201. cls: 'x-html-editor-tip'
  202. },
  203. justifyleft : {
  204. title: 'Alinear a la esquerra',
  205. text: 'Alinea el text a la esquerra.',
  206. cls: 'x-html-editor-tip'
  207. },
  208. justifycenter : {
  209. title: 'Centrar el text',
  210. text: 'Centra el text a l\'editor',
  211. cls: 'x-html-editor-tip'
  212. },
  213. justifyright : {
  214. title: 'Alinear a la dreta',
  215. text: 'Alinea el text a la dreta.',
  216. cls: 'x-html-editor-tip'
  217. },
  218. insertunorderedlist : {
  219. title: 'Llista amb vinyetes',
  220. text: 'Comen&#231;a una llista amb vinyetes.',
  221. cls: 'x-html-editor-tip'
  222. },
  223. insertorderedlist : {
  224. title: 'Llista numerada',
  225. text: 'Comen&#231;a una llista numerada.',
  226. cls: 'x-html-editor-tip'
  227. },
  228. createlink : {
  229. title: 'Enlla&#231;',
  230. text: 'Transforma el text seleccionat en un enlla&#231;.',
  231. cls: 'x-html-editor-tip'
  232. },
  233. sourceedit : {
  234. title: 'Editar Codi',
  235. text: 'Canvia al mode d\'edici&#243; de codi.',
  236. cls: 'x-html-editor-tip'
  237. }
  238. }
  239. });
  240. }
  241. if(Ext.grid.GridView){
  242. Ext.apply(Ext.grid.GridView.prototype, {
  243. sortAscText : "Ordenaci&#243; Ascendent",
  244. sortDescText : "Ordenaci&#243; Descendent",
  245. columnsText : "Columnes"
  246. });
  247. }
  248. if(Ext.grid.GroupingView){
  249. Ext.apply(Ext.grid.GroupingView.prototype, {
  250. emptyGroupText : '(Buit)',
  251. groupByText : 'Agrupar Per Aquest Camp',
  252. showGroupsText : 'Mostrar en Grups'
  253. });
  254. }
  255. if(Ext.grid.PropertyColumnModel){
  256. Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
  257. nameText : "Nom",
  258. valueText : "Valor",
  259. dateFormat : "d/m/Y"
  260. });
  261. }
  262. if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
  263. Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
  264. splitTip : "Cliqueu i arrossegueu per canviar el tamany del panell.",
  265. collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho."
  266. });
  267. }
  268. if(Ext.form.TimeField){
  269. Ext.apply(Ext.form.TimeField.prototype, {
  270. minText : "L\'hora en aquest camp ha de ser igual o posterior a {0}",
  271. maxText : "L\'hora en aquest camp ha de ser igual o anterior {0}",
  272. invalidText : "{0} no &#233;s un hora v&#224;lida",
  273. format : "g:i A",
  274. altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
  275. });
  276. }
  277. if(Ext.form.CheckboxGroup){
  278. Ext.apply(Ext.form.CheckboxGroup.prototype, {
  279. blankText : "Ha de seleccionar almenys un &#233;tem d\'aquest group"
  280. });
  281. }
  282. if(Ext.form.RadioGroup){
  283. Ext.apply(Ext.form.RadioGroup.prototype, {
  284. blankText : "Ha de seleccionar un &#233;tem d\'aquest grup"
  285. });
  286. }