Skip to content

Commit ab8e05f

Browse files
Added Portuguese translation by luanlmd
1 parent a390d9c commit ab8e05f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/* Portuguese translation for the jQuery Timepicker Addon */
2+
/* Written by Luan Almeida */
3+
(function($) {
4+
$.timepicker.regional['pt'] = {
5+
timeOnlyTitle: 'Escolha uma hora',
6+
timeText: 'Hora',
7+
hourText: 'Horas',
8+
minuteText: 'Minutos',
9+
secondText: 'Segundos',
10+
millisecText: 'Milissegundos',
11+
timezoneText: 'Fuso horário',
12+
currentText: 'Agora',
13+
closeText: 'Fechar',
14+
timeFormat: 'hh:mm',
15+
amNames: ['a.m.', 'AM', 'A'],
16+
pmNames: ['p.m.', 'PM', 'P'],
17+
ampm: false
18+
};
19+
$.timepicker.setDefaults($.timepicker.regional['pt']);
20+
})(jQuery);

0 commit comments

Comments
 (0)