mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-17 03:20:34 +03:00
@@ -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/fs) |
|
||||
| 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 |
|
||||
|
||||
+10
-1
@@ -34,5 +34,14 @@ export default {
|
||||
'date': 'Seleccionar fecha',
|
||||
'dateRange': 'Seleccionar un rango de fechas'
|
||||
}
|
||||
}
|
||||
},
|
||||
'pt-br': {
|
||||
'days': ['Dom','Seg', 'Ter', 'Qua', 'Quin', 'Sex', 'Sáb'],
|
||||
'months': ['Jan', 'Fev', 'Mar', 'Abr', 'Maio', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
|
||||
'pickers': ['próximos 7 dias', 'próximos 30 dias', '7 dias anteriores', ' 30 dias anteriores'],
|
||||
'placeholder': {
|
||||
'date': 'Selecione uma data',
|
||||
'dateRange': 'Selecione um período'
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user