ext-lang-es.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. /**
  2. * Spanish/Latin American Translation by genius551v 04-08-2007
  3. * Revised by efege, 2007-04-15.
  4. * Revised by Rafaga2k 10-01-2007 (mm/dd/yyyy)
  5. * Revised by FeDe 12-13-2007 (mm/dd/yyyy)
  6. * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
  7. * by halkon_polako 14-aug-2008
  8. */
  9. Ext.onReady(function() {
  10. var cm = Ext.ClassManager,
  11. exists = Ext.Function.bind(cm.get, cm);
  12. if (Ext.Updater) {
  13. Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>';
  14. }
  15. Ext.define("Ext.locale.es.view.View", {
  16. override: "Ext.view.View",
  17. emptyText: ""
  18. });
  19. Ext.define("Ext.locale.es.grid.Panel", {
  20. override: "Ext.grid.Panel",
  21. ddText: "{0} fila(s) seleccionada(s)"
  22. });
  23. // changing the msg text below will affect the LoadMask
  24. Ext.define("Ext.locale.es.view.AbstractView", {
  25. override: "Ext.view.AbstractView",
  26. msg: "Cargando..."
  27. });
  28. if (Ext.Date) {
  29. Ext.Date.monthNames = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
  30. Ext.Date.getShortMonthName = function(month) {
  31. return Ext.Date.monthNames[month].substring(0, 3);
  32. };
  33. Ext.Date.monthNumbers = {
  34. Ene: 0,
  35. Feb: 1,
  36. Mar: 2,
  37. Abr: 3,
  38. May: 4,
  39. Jun: 5,
  40. Jul: 6,
  41. Ago: 7,
  42. Sep: 8,
  43. Oct: 9,
  44. Nov: 10,
  45. Dic: 11
  46. };
  47. Ext.Date.getMonthNumber = function(name) {
  48. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  49. };
  50. Ext.Date.dayNames = ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"];
  51. Ext.Date.getShortDayName = function(day) {
  52. if (day == 3) return "Mié";
  53. if (day == 6) return "Sáb";
  54. return Ext.Date.dayNames[day].substring(0, 3);
  55. };
  56. Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
  57. }
  58. if (Ext.MessageBox) {
  59. Ext.MessageBox.buttonText = {
  60. ok: "Aceptar",
  61. cancel: "Cancelar",
  62. yes: "Sí",
  63. no: "No"
  64. };
  65. }
  66. if (exists('Ext.util.Format')) {
  67. Ext.apply(Ext.util.Format, {
  68. thousandSeparator: '.',
  69. decimalSeparator: ',',
  70. currencySign: '\u20ac',
  71. // Spanish Euro
  72. dateFormat: 'd/m/Y'
  73. });
  74. }
  75. Ext.define("Ext.locale.es.picker.Date", {
  76. override: "Ext.picker.Date",
  77. todayText: "Hoy",
  78. minText: "Esta fecha es anterior a la fecha mínima",
  79. maxText: "Esta fecha es posterior a la fecha máxima",
  80. disabledDaysText: "",
  81. disabledDatesText: "",
  82. monthNames: Ext.Date.monthNames,
  83. dayNames: Ext.Date.dayNames,
  84. nextText: 'Mes Siguiente (Control+Right)',
  85. prevText: 'Mes Anterior (Control+Left)',
  86. monthYearText: 'Seleccione un mes (Control+Up/Down para desplazar el año)',
  87. todayTip: "{0} (Barra espaciadora)",
  88. format: "d/m/Y",
  89. startDay: 1
  90. });
  91. Ext.define("Ext.locale.es.picker.Month", {
  92. override: "Ext.picker.Month",
  93. okText: "&#160;Aceptar&#160;",
  94. cancelText: "Cancelar"
  95. });
  96. Ext.define("Ext.locale.es.toolbar.Paging", {
  97. override: "Ext.PagingToolbar",
  98. beforePageText: "Página",
  99. afterPageText: "de {0}",
  100. firstText: "Primera página",
  101. prevText: "Página anterior",
  102. nextText: "Página siguiente",
  103. lastText: "Última página",
  104. refreshText: "Actualizar",
  105. displayMsg: "Mostrando {0} - {1} de {2}",
  106. emptyMsg: 'Sin datos para mostrar'
  107. });
  108. Ext.define("Ext.locale.es.form.field.Base", {
  109. override: "Ext.form.field.Base",
  110. invalidText: "El valor en este campo es inválido"
  111. });
  112. Ext.define("Ext.locale.es.form.field.Text", {
  113. override: "Ext.form.field.Text",
  114. minLengthText: "El tamaño mínimo para este campo es de {0}",
  115. maxLengthText: "El tamaño máximo para este campo es de {0}",
  116. blankText: "Este campo es obligatorio",
  117. regexText: "",
  118. emptyText: null
  119. });
  120. Ext.define("Ext.locale.es.form.field.Number", {
  121. override: "Ext.form.field.Number",
  122. decimalSeparator: ",",
  123. decimalPrecision: 2,
  124. minText: "El valor mínimo para este campo es de {0}",
  125. maxText: "El valor máximo para este campo es de {0}",
  126. nanText: "{0} no es un número válido"
  127. });
  128. Ext.define("Ext.locale.es.form.field.Date", {
  129. override: "Ext.form.field.Date",
  130. disabledDaysText: "Deshabilitado",
  131. disabledDatesText: "Deshabilitado",
  132. minText: "La fecha para este campo debe ser posterior a {0}",
  133. maxText: "La fecha para este campo debe ser anterior a {0}",
  134. invalidText: "{0} no es una fecha válida - debe tener el formato {1}",
  135. format: "d/m/Y",
  136. altFormats: "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
  137. });
  138. Ext.define("Ext.locale.es.form.field.ComboBox", {
  139. override: "Ext.form.field.ComboBox",
  140. valueNotFoundText: undefined
  141. }, function() {
  142. Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
  143. loadingText: "Cargando..."
  144. });
  145. });
  146. if (exists('Ext.form.field.VTypes')) {
  147. Ext.apply(Ext.form.field.VTypes, {
  148. emailText: 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"',
  149. urlText: 'Este campo debe ser una URL con el formato "http:/' + '/www.dominio.com"',
  150. alphaText: 'Este campo sólo debe contener letras y _',
  151. alphanumText: 'Este campo sólo debe contener letras, números y _'
  152. });
  153. }
  154. Ext.define("Ext.locale.es.form.field.HtmlEditor", {
  155. override: "Ext.form.field.HtmlEditor",
  156. createLinkText: "Por favor proporcione la URL para el enlace:"
  157. }, function() {
  158. Ext.apply(Ext.form.field.HtmlEditor.prototype, {
  159. buttonTips: {
  160. bold: {
  161. title: 'Negritas (Ctrl+B)',
  162. text: 'Transforma el texto seleccionado en Negritas.',
  163. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  164. },
  165. italic: {
  166. title: 'Itálica (Ctrl+I)',
  167. text: 'Transforma el texto seleccionado en Itálicas.',
  168. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  169. },
  170. underline: {
  171. title: 'Subrayado (Ctrl+U)',
  172. text: 'Subraya el texto seleccionado.',
  173. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  174. },
  175. increasefontsize: {
  176. title: 'Aumentar la fuente',
  177. text: 'Aumenta el tamaño de la fuente',
  178. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  179. },
  180. decreasefontsize: {
  181. title: 'Reducir la fuente',
  182. text: 'Reduce el tamaño de la fuente.',
  183. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  184. },
  185. backcolor: {
  186. title: 'Color de fondo',
  187. text: 'Modifica el color de fondo del texto seleccionado.',
  188. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  189. },
  190. forecolor: {
  191. title: 'Color de la fuente',
  192. text: 'Modifica el color del texto seleccionado.',
  193. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  194. },
  195. justifyleft: {
  196. title: 'Alinear a la izquierda',
  197. text: 'Alinea el texto a la izquierda.',
  198. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  199. },
  200. justifycenter: {
  201. title: 'Centrar',
  202. text: 'Centrar el texto.',
  203. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  204. },
  205. justifyright: {
  206. title: 'Alinear a la derecha',
  207. text: 'Alinea el texto a la derecha.',
  208. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  209. },
  210. insertunorderedlist: {
  211. title: 'Lista de viñetas',
  212. text: 'Inicia una lista con viñetas.',
  213. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  214. },
  215. insertorderedlist: {
  216. title: 'Lista numerada',
  217. text: 'Inicia una lista numerada.',
  218. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  219. },
  220. createlink: {
  221. title: 'Enlace',
  222. text: 'Inserta un enlace de hipertexto.',
  223. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  224. },
  225. sourceedit: {
  226. title: 'Código Fuente',
  227. text: 'Pasar al modo de edición de código fuente.',
  228. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  229. }
  230. }
  231. });
  232. });
  233. Ext.define("Ext.locale.es.grid.header.Container", {
  234. override: "Ext.grid.header.Container",
  235. sortAscText: "Ordenar en forma ascendente",
  236. sortDescText: "Ordenar en forma descendente",
  237. columnsText: "Columnas"
  238. });
  239. Ext.define("Ext.locale.es.grid.GroupingFeature", {
  240. override: "Ext.grid.GroupingFeature",
  241. emptyGroupText: '(Ninguno)',
  242. groupByText: 'Agrupar por este campo',
  243. showGroupsText: 'Mostrar en grupos'
  244. });
  245. Ext.define("Ext.locale.es.grid.PropertyColumnModel", {
  246. override: "Ext.grid.PropertyColumnModel",
  247. nameText: "Nombre",
  248. valueText: "Valor",
  249. dateFormat: "j/m/Y"
  250. });
  251. Ext.define("Ext.locale.es.form.field.Time", {
  252. override: "Ext.form.field.Time",
  253. minText: "La hora en este campo debe ser igual o posterior a {0}",
  254. maxText: "La hora en este campo debe ser igual o anterior a {0}",
  255. invalidText: "{0} no es una hora válida",
  256. format: "g:i A",
  257. 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"
  258. });
  259. Ext.define("Ext.locale.es.form.CheckboxGroup", {
  260. override: "Ext.form.CheckboxGroup",
  261. blankText: "Debe seleccionar al menos un étem de este grupo"
  262. });
  263. Ext.define("Ext.locale.es.form.RadioGroup", {
  264. override: "Ext.form.RadioGroup",
  265. blankText: "Debe seleccionar un étem de este grupo"
  266. });
  267. });