Skip to content

Commit c41bce3

Browse files
Add es_MX locale (#294)
1 parent 994bb2e commit c41bce3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/locale/es_MX.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import type { Locale } from '../interface';
2+
3+
const locale: Locale = {
4+
locale: 'es_MX',
5+
today: 'Hoy',
6+
now: 'Ahora',
7+
backToToday: 'Volver a hoy',
8+
ok: 'Aceptar',
9+
clear: 'Limpiar',
10+
month: 'Mes',
11+
year: 'Año',
12+
timeSelect: 'elegir hora',
13+
dateSelect: 'elegir fecha',
14+
weekSelect: 'elegir semana',
15+
monthSelect: 'Seleccionar mes',
16+
yearSelect: 'Seleccionar año',
17+
decadeSelect: 'Seleccionar década',
18+
yearFormat: 'YYYY',
19+
dateFormat: 'D/M/YYYY',
20+
dayFormat: 'D',
21+
dateTimeFormat: 'D/M/YYYY HH:mm:ss',
22+
monthBeforeYear: true,
23+
previousMonth: 'Mes anterior (PageUp)',
24+
nextMonth: 'Mes siguiente (PageDown)',
25+
previousYear: 'Año anterior (Control + Left)',
26+
nextYear: 'Año siguiente (Control + Right)',
27+
previousDecade: 'Década anterior',
28+
nextDecade: 'Década siguiente',
29+
previousCentury: 'Siglo anterior',
30+
nextCentury: 'Siglo siguiente',
31+
};
32+
33+
export default locale;

0 commit comments

Comments
 (0)