2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-17 03:20:34 +03:00

Merge pull request #22 from FredericoSFerreira/master

Add lang pt-br
This commit is contained in:
mengxiong
2017-10-19 20:34:48 +08:00
committed by GitHub
2 changed files with 11 additions and 2 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/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
View File
@@ -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'
}
},
}