mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
added missing translations + further adjustment templates
This commit is contained in:
parent
5dc117037d
commit
9bb149fb02
@ -33,11 +33,12 @@
|
||||
{% endfor %}
|
||||
|
||||
{% if resources|length == 0 and charges|length == 0 %}
|
||||
<div class="flex-table">
|
||||
<div class="item-bloc">
|
||||
{# <div class="flex-table"> #}
|
||||
{# <div class="item-bloc">
|
||||
<p><span class="chill-no-data-statement">{{ "There isn't any element recorded"|trans }}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div> #}
|
||||
{# </div> #}
|
||||
|
||||
{% else %}
|
||||
|
||||
<h2 class="subtitle">{{ 'Actual budget'|trans }}</h3>
|
||||
@ -57,6 +58,8 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
<h2 class="subtitle">{{ 'Past budget'|trans }}</h2>
|
||||
|
||||
{% if pastCharges|length > 0 or pastResources|length > 0 %}
|
||||
@ -100,4 +103,4 @@
|
||||
</div>
|
||||
</div> #}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
@ -19,9 +19,9 @@
|
||||
<td class="column-small">{{ f.amount|format_currency('EUR') }}</td>
|
||||
<td class="column-wide">
|
||||
{% if f.endDate is not null %}
|
||||
{{ 'Valid since %startDate% until %endDate%'|trans( { '%startDate%': f.startDate|format_date('short'), '%endDate%': f.endDate|format_date('short') } ) }}
|
||||
{{ f.startDate|format_date('short') ~ ' - ' ~ f.endDate|format_date('short') }}
|
||||
{% else %}
|
||||
{{ 'Valid since %startDate%'|trans( { '%startDate%': f.startDate|format_date('short') } ) }}
|
||||
{{ f.startDate|format_date('short') ~ ' - ...' }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="column-small">
|
||||
|
@ -3,15 +3,15 @@
|
||||
{% set indexPage = 'chill_budget_elements_index' %}
|
||||
{% set activeRouteKey = '' %}
|
||||
{% set person = element.person %}
|
||||
{% set title = 'Charge for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
||||
{% else %}
|
||||
{% set template = '@ChillPerson/Household/layout.html.twig' %}
|
||||
{% set indexPage = 'chill_budget_elements_household_index' %}
|
||||
{% set activeRouteKey = '' %}
|
||||
{% set household = element.household %}
|
||||
{% set title = 'Charge for household %household%'|trans({ '%household%' : household.id } ) %}
|
||||
{% endif %}
|
||||
|
||||
{% set title = 'Charge' %}
|
||||
|
||||
{% extends template %}
|
||||
|
||||
{% block title title %}
|
||||
|
@ -3,15 +3,15 @@
|
||||
{% set indexPage = 'chill_budget_elements_index' %}
|
||||
{% set activeRouteKey = '' %}
|
||||
{% set person = element.person %}
|
||||
{% set title = 'Resource for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
||||
{% else %}
|
||||
{% set template = '@ChillPerson/Household/layout.html.twig' %}
|
||||
{% set indexPage = 'chill_budget_elements_household_index' %}
|
||||
{% set activeRouteKey = '' %}
|
||||
{% set household = element.household %}
|
||||
{% set title = 'Resource for household %household%'|trans({ '%household%' : household.id } ) %}
|
||||
{% endif %}
|
||||
|
||||
{% set title = 'Resource' %}
|
||||
|
||||
{% extends template %}
|
||||
|
||||
{% block title title %}
|
||||
|
@ -51,7 +51,7 @@ Are you sure you want to remove the ressource "%type%" associated to "%name%" ?:
|
||||
Are you sure you want to remove the charge "%type%" associated to "%name%" ?: Êtes-vous sûr·e de vouloir supprimer la charge de nature "%type%" associée à %name% ?
|
||||
Resource deleted: Ressource supprimée
|
||||
Charge deleted: Charge supprimée
|
||||
Charge created: Charge créée
|
||||
Charge created: Charge créée
|
||||
Resource created: Ressource créée
|
||||
Resource updated: Resource mise à jour
|
||||
Charge updated: charge mise à jour
|
||||
@ -71,5 +71,5 @@ charge.help.not-concerned: Non concerné
|
||||
Budget calculator: Calculs et indices sur le budget
|
||||
Budget calculator result: Résultats
|
||||
|
||||
'Valid since %startDate% until %endDate%': '%startDate% - %endDate%'
|
||||
'Valid since %startDate%': '%startDate% - ...'
|
||||
Valid since %startDate% until %endDate%: Valide depuis le %startDate% jusqu'au %endDate%
|
||||
Valid since %startDate%: Valide depuis le %startDate%
|
Loading…
x
Reference in New Issue
Block a user