mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-24 16:40:37 +03:00
@@ -50,7 +50,7 @@ export default {
|
|||||||
|-------------------|---------------|-------------|---------------------------------------------------|
|
|-------------------|---------------|-------------|---------------------------------------------------|
|
||||||
| range | Boolean | false | if true, the type is daterange |
|
| range | Boolean | false | if true, the type is daterange |
|
||||||
| format | String | yyyy-MM-dd | Date formatting string |
|
| format | String | yyyy-MM-dd | Date formatting string |
|
||||||
| lang | String | zh | Translation (en/zh/es) |
|
| lang | String | zh | Translation (en/zh/es/fs) |
|
||||||
| placeholder | String | | input placeholder text |
|
| placeholder | String | | input placeholder text |
|
||||||
| width | String/Number | 210 | input size |
|
| width | String/Number | 210 | input size |
|
||||||
| disabled-days | Array | [] | Days in YYYY-MM-DD format to disable |
|
| disabled-days | Array | [] | Days in YYYY-MM-DD format to disable |
|
||||||
|
|||||||
@@ -17,6 +17,15 @@ export default {
|
|||||||
'dateRange': 'Select Date Range'
|
'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': {
|
'es': {
|
||||||
'days': ['Dom', 'Lun', 'mar', 'Mie', 'Jue', 'Vie', 'Sab'],
|
'days': ['Dom', 'Lun', 'mar', 'Mie', 'Jue', 'Vie', 'Sab'],
|
||||||
'months': ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
|
'months': ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
|
||||||
|
|||||||
Reference in New Issue
Block a user