add translations

I rewrote some messages to be more consistent and avoid multiplication
of messages
This commit is contained in:
Julien Fastré 2015-07-05 11:45:45 +02:00
parent bc2b89db03
commit afdac5390d
4 changed files with 25 additions and 6 deletions

View File

@ -18,7 +18,7 @@ chill_activity_activity_new:
menus:
person:
order: 200
label: Add an activity
label: Add a new activity
chill_activity_activity_create:
path: /{_locale}/person/{person_id}/activity/create

View File

@ -1,5 +1,24 @@
#general
Show the activity: Voir l'activité
Edit the activity: Modifier l'activité
Activity: Activité
Duration time: Durée
Duration Time: Durée
Reason: Sujet
Attendee: Présence de la personne
Remark: Notes
Add a new activity: Ajouter une nouvelle activité
Activity list: Liste des activités
present: présent
not present: absent
Delete: Supprimer
#forms
Activity creation: Nouvelle activité
Create: Créer
Back to the list: Retour à la liste
#timeline
'%user% has done an %activity_type% on %date%': %user% a effectué une activité de type "%activity_type%" le %date%
Activity: Activité
View the activity: Voir l'activité

View File

@ -21,14 +21,14 @@
{% block title %}{{ 'Activity create' |trans }}{% endblock title %}
{% block personcontent %}
<h1>Activity creation</h1>
<h1>{{ "Activity creation"|trans }}</h1>
{{ form(form) }}
<ul class="record_actions">
<li>
<a href="{{ path('chill_activity_activity_list', {'person_id': person.id}) }}">
Back to the list
{{ "Back to the list" | trans }}
</a>
</li>
</ul>

View File

@ -7,7 +7,7 @@
'%activity_type%': activity.type.name|localize_translatable_string,
'%date%' : activity.date|localizeddate('long', 'none') }
) }}</span> <span class="links"><a href="{{ path('chill_activity_activity_show',
{ 'person_id': person.id, 'id': activity.id} ) }}">{{ 'View the activity'|trans }}</a></span>
{ 'person_id': person.id, 'id': activity.id} ) }}">{{ 'Show the activity'|trans }}</a></span>
</div>
</div>