mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Update metadatas sources
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</h1>
|
||||
<hr/>
|
||||
<div>
|
||||
{% trans 'Source' %} : {{ field.get_metadata_namespace() }} / {{ field.get_metadata_tagname() }}
|
||||
{% trans 'Source' %} : {{ field.get_tag().getGroupName() }} / {{ field.get_tag().getName() }}
|
||||
</div>
|
||||
|
||||
{% if field.is_indexable() is empty %}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<p style="font-style:italic;">
|
||||
{% trans 'Les indications donnees ci dessous sont a titre informatif.' %}<br/>
|
||||
{% trans 'Si vous ne les respectez pas, les documents seront correctement indexes, mais les metadonnees inscrites risquent d\'etre erronnees' %}<br/>
|
||||
{% set norm_name = '<span style="font-style:normal;font-weight:bold;">' ~ field.get_metadata_namespace() ~ '</span>' %}
|
||||
{% set norm_name = '<span style="font-style:normal;font-weight:bold;">' ~ field.get_tag().getGroupName() ~ '</span>' %}
|
||||
{% trans %}
|
||||
Ces informations sont directement fournies par la norme de metadonnees de ce champ : {{ norm_name }}
|
||||
{% endtrans %}
|
||||
@@ -11,14 +11,14 @@
|
||||
<hr/>
|
||||
<div>
|
||||
|
||||
{% if field.get_source().minLength() > 0 %}
|
||||
{% set minLength = field.get_source().minLength() %}
|
||||
{% if field.get_tag().getMinLength() > 0 %}
|
||||
{% set minLength = field.get_tag().getMinLength() %}
|
||||
{% trans %}
|
||||
Le champ doit contenir {{ minLength }} caracteres minimum.
|
||||
{% endtrans %}<br/>
|
||||
{% endif %}
|
||||
{% if field.get_source().maxLength() > 0 %}
|
||||
{% set maxLength = field.get_source().maxLength() %}
|
||||
{% if field.get_tag().getMaxLength() > 0 %}
|
||||
{% set maxLength = field.get_tag().getMaxLength() %}
|
||||
{% trans %}
|
||||
Le champ ne peut contenir plus de {{ maxLength }} caracteres.
|
||||
{% endtrans %}<br/>
|
||||
|
Reference in New Issue
Block a user