mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-18 16:24:24 +00:00
Adding message when spokien languages is not specified
This commit is contained in:
parent
b3fb1ba662
commit
6834ebc610
@ -23,6 +23,7 @@
|
||||
'Phonenumber': Numéro de téléphone
|
||||
'{0} Born the %date% | {1} Born the %date%': '{0} Né le %date% | {1} Née le %date%'
|
||||
'Spoken languages': Langues parlées
|
||||
'Unknown spoken languages': Langues parlées inconnues
|
||||
|
||||
#Gender
|
||||
'Male': Homme
|
||||
|
@ -96,9 +96,13 @@ This view should receive those arguments:
|
||||
<dl>
|
||||
<dt class="inline">{{'Spoken languages'|trans}}</dt>
|
||||
<dd>
|
||||
{% for lang in person.spokenLanguages %}
|
||||
{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
{% if person.spokenLanguages|length == 0 %}
|
||||
{{ 'Unknown spoken languages'|trans }}
|
||||
{% else %}
|
||||
{% for lang in person.spokenLanguages %}
|
||||
{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</dd>
|
||||
</dl>
|
||||
</figure>
|
||||
|
@ -55,9 +55,13 @@
|
||||
{% endif %}
|
||||
|
||||
<p><i class="fa fa-bullhorn"></i>
|
||||
{% for lang in person.spokenLanguages %}
|
||||
{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
{% if person.spokenLanguages|length == 0 %}
|
||||
{{ 'Unknown spoken languages'|trans }}
|
||||
{% else %}
|
||||
{% for lang in person.spokenLanguages %}
|
||||
{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user