2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-12 22:22:27 +03:00

Merge branch 'master' into master

This commit is contained in:
Frederico Ferreira
2017-10-19 08:39:40 -02:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export default {
|-------------------|---------------|-------------|---------------------------------------------------|
| range | Boolean | false | if true, the type is daterange |
| format | String | yyyy-MM-dd | Date formatting string |
| lang | String | zh | Translation (en/zh/es/pt-br) |
| lang | String | zh | Translation (en/zh/es/pt-br/fs) |
| placeholder | String | | input placeholder text |
| width | String/Number | 210 | input size |
| disabled-days | Array | [] | Days in YYYY-MM-DD format to disable |
+9
View File
@@ -17,6 +17,15 @@ export default {
'dateRange': 'Select Date Range'
}
},
'fr': {
'days': ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'],
'months': ['Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Aout', 'Sep', 'Oct', 'Nov', 'Dec'],
'pickers': ['7 jours suivants', '30 jours suivants', '7 jours précédents', '30 jours précédents'],
'placeholder': {
'date': 'Sélectionnez une date',
'dateRange': 'Sélectionnez une période'
}
},
'es': {
'days': ['Dom', 'Lun', 'mar', 'Mie', 'Jue', 'Vie', 'Sab'],
'months': ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],