mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Fix deprecation of transchoice
This commit is contained in:
@@ -25,9 +25,7 @@
|
||||
{% if alternatePersons is not empty %}
|
||||
<div class="alert alert-warning flash_message">
|
||||
<span>
|
||||
{% transchoice alternatePersons|length with { '%nb%': alternatePersons|length } %}
|
||||
%nb% person with similar name. Please verify that this is a new person
|
||||
{% endtranschoice %}
|
||||
{{ 'nb person with similar name. Please verify that this is a new person'|trans({'nb' : alternatePersons|length}) }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
<h2>{{ title|default('Person search results')|trans }}</h2>
|
||||
|
||||
<p>
|
||||
{{ '%total% persons matching the search pattern:'|transchoice( total, { '%total%' : total}) }}
|
||||
{{ 'total persons matching the search pattern'|trans({'total' : total}) }} :
|
||||
<a href="{{ path('chill_main_advanced_search', { "name": search_name, "q": pattern } ) }}" class="btn btn-sm">
|
||||
<i class="fa fa-search" aria-hidden="true"></i> {{ pattern }}
|
||||
</a>
|
||||
|
@@ -18,9 +18,9 @@
|
||||
<h2>{{ title|default('Person search results by phonenumber')|trans }}</h2>
|
||||
|
||||
<p>
|
||||
{{ '%total% persons matching the search pattern:'|transchoice( total, { '%total%' : total}) }}
|
||||
{{ 'total persons matching the search pattern'|trans({'total' : total}) }} :
|
||||
<a href="{{ path('chill_main_advanced_search', { "name": search_name, "q": pattern } ) }}" class="btn btn-sm">
|
||||
<i class="fa fa-search" aria-hidden="true"></i> {{ pattern }}
|
||||
<i class="fa fa-search" aria-hidden="true"></i> {{ pattern }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
@@ -201,9 +201,9 @@
|
||||
<h2>{{ title|default('Person search results')|trans }}</h2>
|
||||
|
||||
<p>
|
||||
{{ '%total% persons matching the search pattern:'|transchoice( total, { '%total%' : total}) }}
|
||||
{{ 'total persons matching the search pattern'|trans({'total' : total}) }} :
|
||||
<a href="{{ path('chill_main_advanced_search', { "name": search_name, "q": pattern } ) }}" class="btn btn-sm">
|
||||
<i class="fa fa-fw fa-search" aria-hidden="true"></i> {{ pattern }}
|
||||
<i class="fa fa-search" aria-hidden="true"></i> {{ pattern }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
@@ -135,3 +135,18 @@ exports:
|
||||
by_person:
|
||||
Filtered by person\'s geographical unit (based on address) computed at date, only units:
|
||||
"Filtré par zone géographique sur base de l'adresse, calculé à {datecalc, date, short}, seulement les zones suivantes: {units}"
|
||||
|
||||
'total persons matching the search pattern': >-
|
||||
{ total, plural,
|
||||
=0 {Aucun usager ne correspond aux termes de recherche}
|
||||
one {Un usager correspond aux termes de recherche}
|
||||
many {# usagers correspondent aux terms de recherche}
|
||||
other {# usagers correspondent aux terms de recherche}
|
||||
}
|
||||
|
||||
'nb person with similar name. Please verify that this is a new person': >-
|
||||
{ nb, plural,
|
||||
=0 {Aucun usager n'a un nom similaire}
|
||||
one {Un usager a un nom similaire. Vérifiez qu'il ne s'agit pas de lui.}
|
||||
other {# usagers ont un nom similaire. Vérifiez qu'il ne s'agit pas de l'un d'eux}
|
||||
}
|
||||
|
@@ -151,14 +151,12 @@ Reset: 'Remise à zéro'
|
||||
'Add a person': 'Ajout d''un usager'
|
||||
'Person Menu': 'Menu usager'
|
||||
'The person data are not valid': 'Les données de votre formulaire sont invalides.'
|
||||
'%nb% person with similar name. Please verify that this is a new person': '{1} Une usager a un nom similaire. Vérifiez qu''il ne s''agit pas d''elle. | ]1, Inf] %nb% usagers ont un nom similaire. Vérifiez qu''il ne s''agit pas de l''une d''elles.'
|
||||
'The person has been created': 'Le dossier a été créé'
|
||||
'Person search results': 'Recherche de usagers'
|
||||
Person search results by phonenumber: Recherche d'usager par numéro de téléphone
|
||||
'Search within persons': 'Recherche parmi les usagers'
|
||||
Open person file: Ouvrir le dossier de l'usager
|
||||
and %number% other: '{0} et aucun autre| {1} et une autre |]1, Inf] et %number% autres'
|
||||
'%total% persons matching the search pattern:': '{0} Aucune usager ne correspond aux termes de recherche : | {1} Un usager a été trouvé par la recherche : | ]1,Inf] %total% usagers correspondent aux termes de recherche :'
|
||||
'Last opening since %last_opening%': 'Dernière ouverture le %last_opening%.'
|
||||
'Person accompanying period - %name%': 'Historique du dossier - %name%'
|
||||
'Opening date': 'Date d''ouverture'
|
||||
|
Reference in New Issue
Block a user