Commit 36bff4d5 authored by Thomas Citharel's avatar Thomas Citharel 🏃🏻
Browse files

Merge branch 'localize-date-placeholders' into 'develop'

i18n: localize the date format placeholders

See merge request !387
parents b63e90e5 fe5d28e3
......@@ -100,7 +100,8 @@
"Start date": "Deiziad deraouiñ",
"Y-m-d": "d/m/Y",
"You can select at most 4 months": "Gallout a rit diuzañ 4 miz d'ar muiañ",
"yyyy-mm-dd": "dd/mm/yyyy"
"yyyy-mm-dd": "dd/mm/yyyy",
"yyyy-mm-dd-for-humans": "devezh / miz / bloaz"
},
"EditLink": {
"Edit link for poll \"%s\"": "Ere embann ar sontadeg \"%s\"",
......
......@@ -100,7 +100,8 @@
"Start date": "Data d'inici",
"Y-m-d": "Y-m-d",
"You can select at most 4 months": "Pots seleccionar com a màxim 4 mesos",
"yyyy-mm-dd": "yyyy-mm-dd"
"yyyy-mm-dd": "yyyy-mm-dd",
"yyyy-mm-dd-for-humans": "any-mes-dia"
},
"EditLink": {
"Edit link for poll \"%s\"": "Edita l'enllaç de l'enquesta \"%s\"",
......
......@@ -100,7 +100,8 @@
"Start date": "Startdatum",
"Y-m-d": "d-m-Y",
"You can select at most 4 months": "Es können maximal 4 Monate ausgewählt werden",
"yyyy-mm-dd": "dd-mm-yyyy"
"yyyy-mm-dd": "dd-mm-yyyy",
"yyyy-mm-dd-for-humans": "Tag-Monat-Jahr"
},
"EditLink": {
"Edit link for poll \"%s\"": "Link für die Abstimmung \"%s\" bearbeiten",
......
......@@ -100,7 +100,8 @@
"Start date": "Start date",
"Y-m-d": "Y-m-d",
"You can select at most 4 months": "You can select at most 4 months",
"yyyy-mm-dd": "yyyy-mm-dd"
"yyyy-mm-dd": "yyyy-mm-dd",
"yyyy-mm-dd-for-humans": "year-month-day"
},
"EditLink": {
"Edit link for poll \"%s\"": "Edit link for poll \"%s\"",
......
......@@ -100,7 +100,8 @@
"Start date": "Fecha de Inicio",
"Y-m-d": "d/m/Y",
"You can select at most 4 months": "Puede seleccionar como máximo 4 meses",
"yyyy-mm-dd": "dd/mm/yyyy"
"yyyy-mm-dd": "dd/mm/yyyy",
"yyyy-mm-dd-for-humans": "día / mes / año"
},
"EditLink": {
"Edit link for poll \"%s\"": "Enlace para edición de encuesta \"%s\"",
......
......@@ -100,7 +100,8 @@
"Start date": "Date de début",
"Y-m-d": "d/m/Y",
"You can select at most 4 months": "Vous pouvez sélectionner au maximum 4 mois",
"yyyy-mm-dd": "dd/mm/yyyy"
"yyyy-mm-dd": "dd/mm/yyyy",
"yyyy-mm-dd-for-humans": "jour / mois / année"
},
"EditLink": {
"Edit link for poll \"%s\"": "Lien d'édition du sondage \"%s\"",
......
......@@ -100,7 +100,8 @@
"Start date": "Kezdő dátum",
"Y-m-d": "Y.m.d.",
"You can select at most 4 months": "Legfeljebb 4 hónapot válaszhatsz",
"yyyy-mm-dd": "yyyy.mm.dd."
"yyyy-mm-dd": "yyyy.mm.dd.",
"yyyy-mm-dd-for-humans": "év.hónap.nap."
},
"EditLink": {
"Edit link for poll \"%s\"": "A(z) „%s” szavazás hivatkozásának szerkesztése",
......
......@@ -100,7 +100,8 @@
"Start date": "Data iniziale",
"Y-m-d": "d/m/Y",
"You can select at most 4 months": "Potete selezionare al massimo 4 mesi",
"yyyy-mm-dd": "dd/mm/yyyy"
"yyyy-mm-dd": "dd/mm/yyyy",
"yyyy-mm-dd-for-humans": "giorno / mese / anno"
},
"EditLink": {
"Edit link for poll \"%s\"": "Modifica il link del sondaggio \"%s\"",
......
......@@ -100,7 +100,8 @@
"Start date": "Begindatum",
"Y-m-d": "d/m/Y",
"You can select at most 4 months": "Je kan maximaal 4 maanden selecteren",
"yyyy-mm-dd": "dd/mm/yyyy"
"yyyy-mm-dd": "dd/mm/yyyy",
"yyyy-mm-dd-for-humans": "dag / maand / jaar"
},
"EditLink": {
"Edit link for poll \"%s\"": "Bewerkingslink voor de poll \"%s\"",
......
......@@ -100,7 +100,8 @@
"Start date": "Data de debuta",
"Y-m-d": "d/m/Y",
"You can select at most 4 months": "Podètz pas causir mai de 4 meses",
"yyyy-mm-dd": "dd/mm/yyyy"
"yyyy-mm-dd": "dd/mm/yyyy",
"yyyy-mm-dd-for-humans": "jorn / mes / annada"
},
"EditLink": {
"Edit link for poll \"%s\"": "Ligam de modificacion del sondatge \"%s\"",
......
......@@ -25,7 +25,7 @@
<div class="col-md-8">
<div class="input-group date">
<span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
<input type="text" id="newdate" data-date-format="{__('Date', 'yyyy-mm-dd')}" aria-describedby="dateformat" name="newdate" class="form-control" placeholder="{__('Date', 'yyyy-mm-dd')}" />
<input type="text" id="newdate" data-date-format="{__('Date', 'yyyy-mm-dd')}" aria-describedby="dateformat" name="newdate" class="form-control" placeholder="{__('Date', 'yyyy-mm-dd-for-humans')}" />
</div>
<span id="dateformat" class="sr-only">({__('Date', 'yyyy-mm-dd')})</span>
</div>
......
......@@ -53,7 +53,7 @@
<span class="input-group-addon"><i class="glyphicon glyphicon-calendar text-info"></i></span>
<input type="text" class="form-control" id="day{$i}" title="{__('Generic', 'Day')} {$i+1}"
data-date-format="{__('Date', 'yyyy-mm-dd')}" aria-describedby="dateformat{$i}" name="days[]" value="{$day_value}"
size="10" maxlength="10" placeholder="{__('Date', 'yyyy-mm-dd')}" autocomplete="off"/>
size="10" maxlength="10" placeholder="{__('Date', 'yyyy-mm-dd-for-humans')}" autocomplete="off"/>
</div>
</div>
<div class="col-xs-2 col-sm-1">
......@@ -149,7 +149,7 @@
<span class="input-group-addon"><i class="glyphicon glyphicon-calendar text-info"></i></span>
<input type="text" class="form-control" id="range_start"
data-date-format="{__('Date', 'yyyy-mm-dd')}" size="10" maxlength="10"
placeholder="{__('Date', 'yyyy-mm-dd')}"/>
placeholder="{__('Date', 'yyyy-mm-dd-for-humans')}"/>
</div>
</div>
<div class="col-xs-12">
......@@ -158,7 +158,7 @@
<span class="input-group-addon"><i class="glyphicon glyphicon-calendar text-info"></i></span>
<input type="text" class="form-control" id="range_end"
data-date-format="{__('Date', 'yyyy-mm-dd')}" size="10" maxlength="10"
placeholder="{__('Date', 'yyyy-mm-dd')}"/>
placeholder="{__('Date', 'yyyy-mm-dd-for-humans')}"/>
</div>
</div>
</div>
......
......@@ -26,7 +26,7 @@
<div class="col-sm-6">
<div class="input-group date">
<span class="input-group-addon"><i class="glyphicon glyphicon-calendar text-info"></i></span>
<input type="text" class="form-control" id="enddate" data-date-format="{__('Date', 'yyyy-mm-dd')}" aria-describedby="dateformat" name="enddate" value="{$end_date_str}" size="10" maxlength="10" placeholder="{__('Date', 'yyyy-mm-dd')}" />
<input type="text" class="form-control" id="enddate" data-date-format="{__('Date', 'yyyy-mm-dd')}" aria-describedby="dateformat" name="enddate" value="{$end_date_str}" size="10" maxlength="10" placeholder="{__('Date', 'yyyy-mm-dd-for-humans')}" />
</div>
</div>
<span id="dateformat" class="sr-only">{__('Date', 'yyyy-mm-dd')}</span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment