Projet

Général

Profil

0001-templates-use-same-variable-in-plural-variant-39876.patch

Frédéric Péters, 17 février 2020 13:26

Télécharger (1,15 ko)

Voir les différences:

Subject: [PATCH] templates: use same variable in plural variant (#39876)

 wcs/templates/wcs/backoffice/card-data-import-form.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
wcs/templates/wcs/backoffice/card-data-import-form.html
39 39
{% if required_fields %}
40 40
<div class="errornotice">
41 41
  <p>
42
  {% blocktrans count fields=required_fields|length with labels=required_fields|join:", " label=required_fields.0 %}
43
  {{ label }} is required but cannot be filled from CSV.
42
  {% blocktrans count fields=required_fields|length with labels=required_fields|join:", " %}
43
  {{ labels }} is required but cannot be filled from CSV.
44 44
  {% plural %}
45 45
  {{ labels }} are required but cannot be filled from CSV.
46 46
  {% endblocktrans %}
47
-