Skip to content

Commit 2e45f5c

Browse files
Merge pull request trentrichardson#174 from ianare/dev
Minor fix to FR, add ES translation
2 parents fc8769a + 61a31f8 commit 2e45f5c

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* Spanish translation for the jQuery Timepicker Addon */
2+
/* Written by Ianaré Sévi */
3+
(function($) {
4+
$.timepicker.regional['es'] = {
5+
timeOnlyTitle: 'Elegir una hora',
6+
timeText: 'Hora',
7+
hourText: 'Horas',
8+
minuteText: 'Minutos',
9+
secondText: 'Segundos',
10+
timezoneText: 'Huso horario',
11+
currentText: 'Ahora',
12+
closeText: 'Cerrar',
13+
timeFormat: 'hh:mm',
14+
ampm: false
15+
};
16+
$.timepicker.setDefaults($.timepicker.regional['es']);
17+
})(jQuery);

localization/jquery-ui-timepicker-fr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Czech translation for the jQuery Timepicker Addon */
1+
/* French translation for the jQuery Timepicker Addon */
22
/* Written by Thomas Lété */
33
(function($) {
44
$.timepicker.regional['fr'] = {
@@ -10,7 +10,7 @@
1010
timezoneText: 'Fuseau horaire',
1111
currentText: 'Maintenant',
1212
closeText: 'Terminé',
13-
timeFormat: 'h:m',
13+
timeFormat: 'hh:mm',
1414
ampm: false
1515
};
1616
$.timepicker.setDefaults($.timepicker.regional['fr']);

0 commit comments

Comments
 (0)