Pikaday translation

This commit is contained in:
Jérémy GAULIN 2015-12-11 18:06:06 +01:00 committed by Samuel Georges
parent 90ccef9b11
commit f836b43bb3
3 changed files with 17 additions and 0 deletions

View File

@ -39,6 +39,7 @@
maxDate: new Date(options.maxDate),
yearRange: options.yearRange,
setDefaultDate: moment(this.$input.val()).toDate(),
i18n: $.oc.lang.get('pikaday'),
onOpen: function() {
var $field = $(this._o.trigger)

View File

@ -51,6 +51,14 @@ return [
'cancel_button_text' => 'Cancel',
],
'pikaday' => [
'previousMonth' => 'Previous Month',
'nextMonth' => 'Next Month',
'months' => ['January','February','March','April','May','June','July','August','September','October','November','December'],
'weekdays' => ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],
'weekdaysShort' => ['Sun','Mon','Tue','Wed','Thu','Fri','Sat']
],
];

View File

@ -53,6 +53,14 @@ return [
'confirm_button_text' => 'OK',
'cancel_button_text' => 'Annuler',
],
'pikaday' => [
'previousMonth' => 'Mois précédent',
'nextMonth' => 'Mois suivant',
'months' => ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
'weekdays' => ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
'weekdaysShort' => ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam']
],
];