i18n of invitation request public webpage

This commit is contained in:
Carl Chenet 2016-11-24 17:55:26 +01:00
parent 707fdb87de
commit 4b497e8652
3 changed files with 25 additions and 19 deletions

View file

@ -1,42 +1,30 @@
<div class="box wide">
<div class="legend">
Request an Invitation
<%= t('.buildinvtitle') %>
</div>
<p>
If you don't know (or can't find) an <a href="/u/">existing user</a> from
whom to request an invitation, you can make a public request for one. This
will display your name and memo to all other logged-in users who can then
send you an invitation if they recognize you.
</p>
<p>
Your e-mail address must be valid and confirmed by visiting a URL e-mailed to
you before your request will be displayed. Your e-mail address will not be
shown to any other users (except moderators).
</p>
<%= raw t('.buildinvtext') %>
<%= form_for @invitation_request,
:url => create_invitation_by_request_path do |f| %>
<p>
<%= f.label :name, "Name:" %>
<%= f.label :name, t('.buildinvname') %>
<%= f.text_field :name, :size => 30 %>
<br />
<%= f.label :email, "E-mail Address:" %>
<%= f.label :email, t('.buildinvemail') %>
<%= f.text_field :email, :size => 30 %>
<br />
<%= f.label :memo, "URL:" %>
<%= f.label :memo, t('.buildinvurl') %>
<%= f.text_field :memo, :size => 30 %>
<br />
<label></label>
<span class="na">URL to verify you (Personal website, Github account,
etc.)</span>
<span class="na"><%= t('.buildinvverificationurl') %></span>
</p>
<p>
<%= submit_tag "Request Invitation" %>
<%= submit_tag t('.buildinvrequest') %>
</p>
<% end %>
</div>

View file

@ -96,6 +96,15 @@ en:
home:
index:
homerecentsdesc: "<em>The <a href=\"/newest\">newest</a> stories with a random sampling of recently submitted stories that have not yet reached the front page.</em>"
invitations:
build:
buildinvtitle: "Request an Invitation"
buildinvtext: "<p>If you don't know (or can't find) an <a href=\"/u/\">existing user</a> from whom to request an invitation, you can make a public request for one. This will display your name and memo to all other logged-in users who can then send you an invitation if they recognize you.</p><p>Your e-mail address must be valid and confirmed by visiting a URL e-mailed to you before your request will be displayed. Your e-mail address will not be shown to any other users (except moderators).</p>"
buildinvname: "Name:"
buildinvemail: "E-mail Address:"
buildinvurl: "URL:"
buildinvverificationurl: "URL to verify you (Personal website, Github account, etc.)"
buildinvrequest: "Request Invitation"
login:
index:
login: "Login"

View file

@ -99,6 +99,15 @@ fr:
home:
index:
homerecentsdesc: "<em>Les <a href=\"/newest\">plus récentes</a> infos avec un panaché aléatoire des infos récentes soumises qui n'ont pas encore atteint la page principale.</em>"
invitations:
build:
buildinvtitle: "Demander une invitation"
buildinvtext: "<p>Si vous ne connaissez pas ou ne pouvez trouver un <a href=\"/u/\">utilisateur existant</a> auquel vous pourriez demander une invitation, vous pouvez le faire publiquement. Vous receverez directement l'invitation si elle vous est envoyée.</p><p>Votre adresse e-mail doit être valide et confirmée en visitant l'url qui vous est envoyée par e-mail avant que votre demande soit affichée. Votre adresse e-mail ne sera pas visible par les autres, à l'exception des modérateurs. </p>"
buildinvname: "Nom :"
buildinvemail: "Adresse e-mail :"
buildinvurl: "URL :"
buildinvverificationurl: "URL permettant la vérification (site web personnel, compte Github, etc.)"
buildinvrequest: "Demande d'invitation"
login:
index:
login: "Se connecter"