Skip to content
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

I18 birthdate placeholder #50

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/locales/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"Welcome": "Welcome",
"registration-birthdate-placeholder": "yyyy-mm-dd",
"in-case-problem-check-forum": "If you have some troubles, you can check Gladys forum",
"welcome-sentence-installation": "Welcome in the installation page of Gladys !",
"before-installing-sentence-installation": "Before installating Gladys, be sure that you have followed the configuration step on Gladys project website.",
Expand Down
1 change: 1 addition & 0 deletions config/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"First Name" : "Prénom",
"Last Name" : "Nom",
"Birthdate": "Date de naissance",
"registration-birthdate-placeholder": "jj/mm/aaaa",
"Your Email" : "Votre Email",
"Email" : "Email",
"Password": "Mot de passe",
Expand Down
2 changes: 1 addition & 1 deletion views/user/new.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</div>
<div class="form-group">
<label for="birthdate"><%= __('Birthdate') %></label>
<input type="date" class="form-control" name="birthdate" id="birthdate" placeholder="<%= __('Birthdate') %>">
<input type="date" class="form-control" name="birthdate" id="birthdate" placeholder="<%= __('registration-birthdate-placeholder') %>">
</div>
<div class="form-group">
<input type="email" class="form-control" name="email" id="email" placeholder="<%= __('Your Email') %>">
Expand Down