Translation registrations/new

This commit is contained in:
movilla 2012-05-12 22:18:10 +02:00
parent 871d3cc672
commit 7538f89a95
2 changed files with 15 additions and 12 deletions

View file

@ -8,26 +8,22 @@
<div class="span8">
<h1 id="create-something-text">
HEY,
<br/>
MAKE
<br/>
SOMETHING.
<%= t('.hey_make').html_safe %>
</h1>
<h3 id="diaspora-hearts">
<3 Diaspora*
<%= t('.diaspora') %>
</h3>
<h4 id="sign-up-text">
SIGN UP
<%= t('.sign_up') %>
</h4>
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => {:class => "form-horizontal block-form", :autocomplete => "off"}, :validate => true) do |f| %>
<fieldset>
<div class="control-group">
<label class="control-label" for="user_email">
EMAIL
<%= t('.email') %>
</label>
<div class="controls">
@ -37,7 +33,7 @@
<div class="control-group">
<label class="control-label" for="user_username">
USERNAME
<%= t('.username') %>
</label>
<div class="controls">
@ -47,7 +43,7 @@
<div class="control-group">
<label class="control-label" for="user_password">
PASSWORD
<%= t('.password') %>
</label>
<div class="controls">
@ -57,7 +53,7 @@
<%= invite_hidden_tag(invite) %>
</fieldset>
<%= f.submit "Continue", :class => "new-btn" %>
<%= f.submit t('.continue'), :class => "new-btn" %>
<% end %>
</div>
</div>

View file

@ -707,6 +707,13 @@ en:
enter_username: "Pick a username (only letters, numbers, and underscores)"
enter_password: "Enter a password (six character minimum)"
enter_password_again: "Enter the same password as before"
hey_make: "HEY,<br/>MAKE<br/>SOMETHING."
diaspora: "<3 Diaspora*"
sign_up: "SIGN UP"
email: "EMAIL"
username: "USERNAME"
password: "PASSWORD"
continue: "Continue"
create:
success: "You've joined Diaspora!"
edit: