From d3586a900b63122b31c2bfb2f309b4d657648a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20L=C3=A9ger?= Date: Sat, 1 Jul 2017 15:39:21 +0200 Subject: [PATCH 1/2] adding french translation --- datepicker/languages.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/datepicker/languages.js b/datepicker/languages.js index ffdb811..f00da07 100644 --- a/datepicker/languages.js +++ b/datepicker/languages.js @@ -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'], From a943bfa7f5823aedc366dbe7332092b24a67a95a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20L=C3=A9ger?= Date: Sat, 1 Jul 2017 15:40:05 +0200 Subject: [PATCH 2/2] adding french, updating readme --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 20eb156..8abd9e0 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,12 @@ export default { ``` ## Attributes -| Prop | Type | Default | Description | -|-----------------|---------------|-------------|---------------------------------------| -| range | Boolean | false | if true, the type is daterange | -| format | String | yyyy-MM-dd | Date formatting string | -| lang | String | zh | Translation (en/zh/es) | -| placeholder | String | | input placeholder text | -| width | String/Number | 210 | input size | +| Prop | Type | Default | Description | +|-------------|---------------|------------|--------------------------------| +| range | Boolean | false | if true, the type is daterange | +| format | String | yyyy-MM-dd | Date formatting string | +| lang | String | zh | Translation (en/zh/es/fr) | +| placeholder | String | | input placeholder text | +| width | String/Number | 210 | input size |