-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Début i18n #250
Début i18n #250
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{% extends 'base.html.twig' %} | ||
|
||
{% block title %}Espace utilisateur{% endblock %} | ||
{% block title %}{{ 'Section.Volunteer' | trans }}{% endblock %} | ||
|
||
{% block body %} | ||
{{ include('misc/flash-messages.html.twig') }} | ||
<h1>Bienvenue, {{ app.user.fullName }}</h1> | ||
<p>NIVOL : {{ app.user.identificationNumber }}</p> | ||
<p><a class="btn btn-primary" href="{{ path('user_edit') }}" role="button">Modifier mes informations</a></p> | ||
<h1>{{ 'Welcome' | trans }}, {{ app.user.fullName }}</h1> | ||
<p>{{ 'UserIdentificationNumber' | trans }} : {{ app.user.identificationNumber }}</p> | ||
<p><a class="btn btn-primary" href="{{ path('user_edit') }}" role="button">{{ 'EditMyInfo' | trans }}</a></p> | ||
|
||
<p>Semaine actuelle : du {{ 'this week' | date('d/m/Y') }} au {{ 'sunday this week' | date('d/m/Y') }}</p> | ||
<p><a class="btn btn-outline-primary" href="{{ path('user_availability') }}" role="button">Mes disponibilités pour la semaine courante</a></p> | ||
<p>{{ 'Week.Current' | trans }} : {{ 'From' | trans }} {{ 'this week' | date('d/m/Y') }} {{ 'To' | trans }} {{ 'sunday this week' | date('d/m/Y') }}</p> | ||
<p><a class="btn btn-outline-primary" href="{{ path('user_availability') }}" role="button">{{ 'UserAvailabilityCurrentWeek' | trans }}</a></p> | ||
|
||
<p>Semaine prochaine : du {{ 'next week' | date('d/m/Y') }} au {{ 'sunday next week' | date('d/m/Y') }}</p> | ||
<p><a class="btn btn-outline-primary" href="{{ path('user_availability', { week: 'next week'|date('o-\\WW') }) }}" role="button">Mes disponibilités pour la semaine prochaine</a></p> | ||
<p>{{ 'Week.Next' | trans }} : {{ 'From' | trans }} {{ 'next week' | date('d/m/Y') }} {{ 'To' | trans }} {{ 'sunday next week' | date('d/m/Y') }}</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you can maybe use a |
||
<p><a class="btn btn-outline-primary" href="{{ path('user_availability', { week: 'next week'|date('o-\\WW') }) }}" role="button">{{ 'UserAvailabilityNextWeek' | trans }}</a></p> | ||
{% endblock %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
Contribute: "Contribuez au projet\xA0:" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you should use lower & snake case There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. or camelCame, but without upper case on first letter There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we need to add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In projects that im working keys are camelCase with kind of namespaces to start the string example : Thats very convenient when you are looking for existing keys imo There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure, let's do it! But as you said, the first letter is always a lowercase one |
||
CreateMyAccount: Créer mon compte | ||
DoB: Date de naissance | ||
EditMyInfo: Modifier mes informations | ||
From: du | ||
Home: Accueil | ||
Login: Connexion | ||
LoginSubmit: Je me connecte | ||
Logout: Déconnexion | ||
ProjectName: Réserve opérationnelle - Croix-Rouge Française à Paris | ||
RememberMe: Se souvenir de moi | ||
Section: | ||
Volunteer: Espace bénévole | ||
Organization: Espace structure | ||
Submit: Enregistrer | ||
To: au | ||
UserAvailabilityCurrentWeek: Mes disponibilités pour la semaine courante | ||
UserAvailabilityNextWeek: Mes disponibilités pour la semaine prochaine | ||
UserLogin: Numéro NIVOL ou Adresse e-mail | ||
UserIdentificationNumber: NIVOL | ||
Week: | ||
Current: Semaine actuelle | ||
Next: Semaine prochaine | ||
Welcome: Bienvenue | ||
ni-grid marked this conversation as resolved.
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add ResOP into a key ? Like project.short.title or similar