ext-locale-es_AR.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /**
  2. * Español/Argentina Translation by Martín Panizzo <martin17@gmail.com>
  3. * 11 October 2017
  4. */
  5. Ext.onReady(function() {
  6. if (Ext.Date) {
  7. Ext.Date.monthNames = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Ouctubre", "Noviembre", "Diciembre"];
  8. Ext.Date.getShortMonthName = function(month) {
  9. return Ext.Date.monthNames[month].substring(0, 3);
  10. };
  11. Ext.Date.monthNumbers = {
  12. Ene: 0,
  13. Feb: 1,
  14. Mar: 2,
  15. Abr: 3,
  16. May: 4,
  17. Jun: 5,
  18. Jul: 6,
  19. Ago: 7,
  20. Sep: 8,
  21. Oct: 9,
  22. Nov: 10,
  23. Dic: 11
  24. };
  25. Ext.Date.getMonthNumber = function(name) {
  26. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  27. };
  28. Ext.Date.dayNames = ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"];
  29. }
  30. if (Ext.util && Ext.util.Format) {
  31. Ext.apply(Ext.util.Format, {
  32. thousandSeparator: '.',
  33. decimalSeparator: ',',
  34. currencySign: '$',
  35. // Peso Argentino
  36. dateFormat: 'd/m/Y'
  37. });
  38. Ext.util.Format.arMoney = Ext.util.Format.currency;
  39. }
  40. });