Skip to content

Commit

Permalink
Add es_MX locale (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
javierojeda94 authored Sep 8, 2021
1 parent 994bb2e commit c41bce3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/locale/es_MX.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import type { Locale } from '../interface';

const locale: Locale = {
locale: 'es_MX',
today: 'Hoy',
now: 'Ahora',
backToToday: 'Volver a hoy',
ok: 'Aceptar',
clear: 'Limpiar',
month: 'Mes',
year: 'Año',
timeSelect: 'elegir hora',
dateSelect: 'elegir fecha',
weekSelect: 'elegir semana',
monthSelect: 'Seleccionar mes',
yearSelect: 'Seleccionar año',
decadeSelect: 'Seleccionar década',
yearFormat: 'YYYY',
dateFormat: 'D/M/YYYY',
dayFormat: 'D',
dateTimeFormat: 'D/M/YYYY HH:mm:ss',
monthBeforeYear: true,
previousMonth: 'Mes anterior (PageUp)',
nextMonth: 'Mes siguiente (PageDown)',
previousYear: 'Año anterior (Control + Left)',
nextYear: 'Año siguiente (Control + Right)',
previousDecade: 'Década anterior',
nextDecade: 'Década siguiente',
previousCentury: 'Siglo anterior',
nextCentury: 'Siglo siguiente',
};

export default locale;

0 comments on commit c41bce3

Please sign in to comment.