Last active
April 3, 2023 23:15
-
-
Save flistefliste/34db61c54e29e26a1737 to your computer and use it in GitHub Desktop.
French translation for Materialize CSS datepicker plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.datepicker').pickadate({ | |
selectMonths: true, // Creates a dropdown to control month | |
selectYears: 2, // Creates a dropdown of 15 years to control year | |
labelMonthNext: 'Mois suivant', | |
labelMonthPrev: 'Mois précédent', | |
labelMonthSelect: 'Selectionner le mois', | |
labelYearSelect: 'Selectionner une année', | |
monthsFull: [ 'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre' ], | |
monthsShort: [ 'Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Jun', 'Jul', 'Aou', 'Sep', 'Oct', 'Nov', 'Dec' ], | |
weekdaysFull: [ 'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi' ], | |
weekdaysShort: [ 'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam' ], | |
weekdaysLetter: [ 'D', 'S', 'T', 'Q', 'Q', 'S', 'S' ], | |
today: 'Aujourd\'hui', | |
clear: 'Réinitialiser', | |
close: 'Fermer', | |
format: 'dd/mm/yyyy' | |
}); |
Merci !
Une petite modif :
weekdaysLetter: [ 'D', 'S', 'T', 'Q', 'Q', 'S', 'S' ]
devrait être
weekdaysLetter: [ 'D', 'L', 'M', 'M', 'J', 'V', 'S' ]
nice work, but it does not work, we must first
$('.timepicker').timepicker({
i18n: {
//YOUR CODE HERE...
},
// other opt
});
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
J'aurais même une modification à rajouter :
firstDay:1
Et la première colonne tombe sur le Lundi.
Bon travail 👍