Skip to content

Commit

Permalink
move lang to locals for account revover and signup pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick Francois committed Oct 7, 2013
1 parent f68ff41 commit 2d61dfd
Show file tree
Hide file tree
Showing 35 changed files with 128 additions and 132 deletions.
4 changes: 2 additions & 2 deletions app/views/accounts/recover_password.html.erb
@@ -1,6 +1,6 @@
<%= form_tag action: "recover_password" do %>
<%= text_field(:user, :login, {class: 'input-block-level', placeholder: _("Username or email")})%>
<%= submit_tag _('Reset my password'), class: "btn btn-info pull-right" %>
<%= text_field(:user, :login, {class: 'input-block-level', placeholder: t(".username_or_email")})%>
<%= submit_tag t('.reset_my_password'), class: "btn btn-info pull-right" %>
<% end %>
<%- content_for :account_links do %>
Expand Down
6 changes: 3 additions & 3 deletions app/views/accounts/signup.html.erb
@@ -1,7 +1,7 @@
<%= form_tag action: "signup" do %>
<%= text_field(:user, :login, {class: 'input-block-level', placeholder: _("Username") })%>
<%= text_field(:user, :email, {class: 'input-block-level', placeholder: _("Email") })%>
<input type="submit" id="submit" class='btn btn-info pull-right' value="<%= _('Signup')%>" />
<%= text_field(:user, :login, {class: 'input-block-level', placeholder: t(".username") })%>
<%= text_field(:user, :email, {class: 'input-block-level', placeholder: t(".email") })%>
<input type="submit" id="submit" class='btn btn-info pull-right' value="<%= t('.signup')%>" />
<% end %>
<%- content_for :account_links do %>
Expand Down
7 changes: 7 additions & 0 deletions config/locales/da.yml
Expand Up @@ -40,3 +40,10 @@ da:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "Brugernavn"
email: "Email"
signup: "Tilmelding"
7 changes: 7 additions & 0 deletions config/locales/de.yml
Expand Up @@ -40,3 +40,10 @@ de:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "Benutzername"
email: "Email"
signup: "Registrieren"
7 changes: 7 additions & 0 deletions config/locales/en.yml
Expand Up @@ -40,3 +40,10 @@ en:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "Username"
email: "Email"
signup: "Signup"
8 changes: 8 additions & 0 deletions config/locales/es-MX.yml
Expand Up @@ -40,3 +40,11 @@ es-MX:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "Usuario"
email: "Email"
signup: "Registro"

7 changes: 7 additions & 0 deletions config/locales/fr.yml
Expand Up @@ -39,3 +39,10 @@ fr:
confirm:
proceed_to: "Allez sur %{link}"
admin: "l'administration"
recover_password:
username_or_email: "Identifiant ou email"
reset_my_password: "Me renvoyer un mot de passe"
signup:
username: "Identifiant"
email: "Email"
signup: "S'inscrire"
7 changes: 7 additions & 0 deletions config/locales/he-IL.yml
Expand Up @@ -40,3 +40,10 @@ he-IL:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "שם משתמש"
email: "דואל"
signup: "הירשם"
7 changes: 7 additions & 0 deletions config/locales/it.yml
Expand Up @@ -40,3 +40,10 @@ it:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "Nome Utente"
email: "Email"
signup: "Iscrizione"
7 changes: 7 additions & 0 deletions config/locales/ja.yml
Expand Up @@ -40,3 +40,10 @@ ja:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "ユーザー名"
email: "メールアドレス"
signup: "サインアップ"
7 changes: 7 additions & 0 deletions config/locales/lt.yml
Expand Up @@ -40,3 +40,10 @@ lt:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "Vartotojo vardas"
email: "El. pašto adresas"
signup: "Registracija"
8 changes: 7 additions & 1 deletion config/locales/nb-NO.yml
Expand Up @@ -38,4 +38,10 @@ nb-NO:
confirm:
proceed_to: "Fortsett til %s"
admin: "admin"

recover_password:
username_or_email: "Brukernavn eller epost"
reset_my_password: "Nullstill passordet mitt"
signup:
username: "Brukernavn"
email: "Epost"
signup: "Registrer"
7 changes: 7 additions & 0 deletions config/locales/nl.yml
Expand Up @@ -40,3 +40,10 @@ nl:
confirm:
proceed_to: "Ga door naar %s"
admin: "admin"
recover_password:
username_or_email: "Gebruikersnaam of e-mail"
reset_my_password: "Reset my password"
signup:
username: "Gebruikersnaam"
email: "E-mail"
signup: "Meld aan"
7 changes: 7 additions & 0 deletions config/locales/pl.yml
Expand Up @@ -40,3 +40,10 @@ pl:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "Użytkownik"
email: "Email"
signup: "Zapisz się"
8 changes: 7 additions & 1 deletion config/locales/pt-BR.yml
Expand Up @@ -40,5 +40,11 @@ pt-BR:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"

recover_password:
username_or_email: "Usuario ou e-mail"
reset_my_password: "Reset my password"
signup:
username: "Usuario"
email: "Email"
signup: "Registrar"

7 changes: 7 additions & 0 deletions config/locales/ro.yml
Expand Up @@ -40,3 +40,10 @@ ro:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "Utilizator"
email: "Email"
signup: "Înregistrare"
7 changes: 7 additions & 0 deletions config/locales/ru.yml
Expand Up @@ -40,3 +40,10 @@ ru:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Имя пользователи или email"
reset_my_password: "Reset my password"
signup:
username: "Username"
email: "Email"
signup: "Signup"
7 changes: 7 additions & 0 deletions config/locales/zh-CN.yml
Expand Up @@ -40,3 +40,10 @@ zh-CN:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "用户名或邮箱"
reset_my_password: "Reset my password"
signup:
username: "用户名"
email: "Email"
signup: "注册"
7 changes: 7 additions & 0 deletions config/locales/zh-TW.yml
Expand Up @@ -40,3 +40,10 @@ zh-TW:
confirm:
proceed_to: "Proceed to %{link}"
admin: "admin"
recover_password:
username_or_email: "Username or email"
reset_my_password: "Reset my password"
signup:
username: "名稱"
email: "Email"
signup: "註冊"
14 changes: 3 additions & 11 deletions lang/da_DK.rb
Expand Up @@ -153,14 +153,6 @@
l.store "Just Marked As Spam", ""
l.store "Spam", ""

# app/views/accounts/recover_password.html.erb
l.store "Username or email", ""

# app/views/accounts/signup.html.erb
l.store "Username", "Brugernavn"
l.store "Email", "Email"
l.store "Signup", "Tilmelding"

# app/views/admin/categories/_categories.html.erb
l.store "Reorder", "Arranger"
l.store "Sort alphabetically", "Sortér alfabetisk"
Expand Down Expand Up @@ -230,7 +222,7 @@
l.store "SmartyPants", ""
l.store "Visual", ""
l.store "Edit article", ""

# app/views/admin/dashboard/_comments.html.erb
l.store "Latest Comments", "Seneste kommentarer"
l.store "No comments yet", "Der er ingen kommentarer endnu"
Expand Down Expand Up @@ -378,7 +370,7 @@
l.store "Global settings", ""
l.store "This will display", ""
l.store "at the bottom of each post in the RSS feed", ""
l.store "Here you can add anything you want to appear in your application header, such as analytics service tracking code.", ""
l.store "Here you can add anything you want to appear in your application header, such as analytics service tracking code.", ""

# app/views/admin/seo/permalinks.html.erb
l.store "Publify offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.", ""
Expand Down Expand Up @@ -543,7 +535,7 @@
l.store "RSS and Atom feeds", ""
l.store "XML Syndication", ""
l.store "remove", "supprimer"

# app/views/admin/tags/_form.html.erb
l.store "Display name", "Vis navn"

Expand Down
8 changes: 0 additions & 8 deletions lang/de_DE.rb
Expand Up @@ -153,14 +153,6 @@
l.store "Just Marked As Spam", ""
l.store "Spam", ""

# app/views/accounts/recover_password.html.erb
l.store "Username or email", ""

# app/views/accounts/signup.html.erb
l.store "Username", "Benutzername"
l.store "Email", "Email"
l.store "Signup", "Registrieren"

# app/views/admin/categories/_categories.html.erb
l.store "Reorder", "Sortieren"
l.store "Sort alphabetically", "Alphabetisch sortieren"
Expand Down
8 changes: 0 additions & 8 deletions lang/es_MX.rb
Expand Up @@ -155,14 +155,6 @@
l.store "Just Marked As Spam", ""
l.store "Spam", ""

# app/views/accounts/recover_password.html.erb
l.store "Username or email", ""

# app/views/accounts/signup.html.erb
l.store "Username", "Usuario"
l.store "Email", "Email"
l.store "Signup", "Registro"

# app/views/admin/categories/_categories.html.erb
l.store "Reorder", "Reorganizar"
l.store "Sort alphabetically", "Ordenar alfab&eacute;ticamente"
Expand Down
8 changes: 0 additions & 8 deletions lang/fr_FR.rb
Expand Up @@ -156,14 +156,6 @@
# app/models/post_type.rb
l.store "This article type already exists", ""

# app/views/accounts/recover_password.html.erb
l.store "Reset my password", "Me renvoyer un mot de passe"
l.store "Username or email", "Identifiant ou email"

# app/views/accounts/signup.html.erb
l.store "Username", "Identifiant"
l.store "Email", "Email"
l.store "Signup", "S'inscrire"

# app/views/admin/cache/index.html.erb
l.store "To save resources Publify caches content in static files. Cache is cleared each time something gets published. You may however want to clear the cache yourself.", "Afin d'économiser des ressources, Publify génère des fichiers statiques avec votre contenu. Ces fichiers sont supprimés lors d'une nouvelle publication. Vous pouvez cependant les effacer vous même."
Expand Down
8 changes: 0 additions & 8 deletions lang/he_IL.rb
Expand Up @@ -153,14 +153,6 @@
l.store "Just Marked As Spam", "סומן כספאם"
l.store "Spam", "ספאם"

# app/views/accounts/recover_password.html.erb
l.store "Username or email", ""

# app/views/accounts/signup.html.erb
l.store "Username", "שם משתמש"
l.store "Email", "דואל"
l.store "Signup", "הירשם"

# app/views/admin/categories/_categories.html.erb
l.store "Reorder", "סדר מחדש"
l.store "Sort alphabetically", "מיין לפי האלף-בית"
Expand Down
8 changes: 0 additions & 8 deletions lang/it_IT.rb
Expand Up @@ -153,14 +153,6 @@
l.store "Just Marked As Spam", ""
l.store "Spam", ""

# app/views/accounts/recover_password.html.erb
l.store "Username or email", ""

# app/views/accounts/signup.html.erb
l.store "Username", "Nome Utente"
l.store "Email", "Email"
l.store "Signup", "Iscrizione"

# app/views/admin/categories/_categories.html.erb
l.store "Reorder", "Riordina"
l.store "Sort alphabetically", "Ordina alfabeticamente"
Expand Down
8 changes: 0 additions & 8 deletions lang/ja_JP.rb
Expand Up @@ -153,14 +153,6 @@
l.store "Just Marked As Spam", "スパムマーク"
l.store "Spam", "スパム"

# app/views/accounts/recover_password.html.erb
l.store "Username or email", ""

# app/views/accounts/signup.html.erb
l.store "Username", "ユーザー名"
l.store "Email", "メールアドレス"
l.store "Signup", "サインアップ"

# app/views/admin/categories/_categories.html.erb
l.store "Reorder", "並べ替え"
l.store "Sort alphabetically", "アルファベット順に並べ替え"
Expand Down
8 changes: 0 additions & 8 deletions lang/lt_LT.rb
Expand Up @@ -153,14 +153,6 @@
l.store "Just Marked As Spam", ""
l.store "Spam", ""

# app/views/accounts/recover_password.html.erb
l.store "Username or email", ""

# app/views/accounts/signup.html.erb
l.store "Username", "Vartotojo vardas"
l.store "Email", "El. pašto adresas"
l.store "Signup", "Registracija"

# app/views/admin/categories/_categories.html.erb
l.store "Reorder", "Rikiuoti"
l.store "Sort alphabetically", "Rikiuoti pagal abėcėlę"
Expand Down
8 changes: 0 additions & 8 deletions lang/nb_NO.rb
Expand Up @@ -174,14 +174,6 @@
l.store "Just Marked As Spam", "Kun markert som Spam"
l.store "Spam", "Spam"

# app/views/accounts/recover_password.html.erb
l.store "Username or email", "Brukernavn eller epost"
l.store "Reset my password", "Nullstill passordet mitt"

# app/views/accounts/signup.html.erb
l.store "Username", "Brukernavn"
l.store "Email", "Epost"
l.store "Signup", "Registrer"

# app/views/admin/cache/index.html.erb
l.store "To save resources Publify caches content in static files. Cache is cleared each time something gets published. You may however want to clear the cache yourself.",
Expand Down
8 changes: 0 additions & 8 deletions lang/nl_NL.rb
Expand Up @@ -152,14 +152,6 @@
l.store "Just Marked As Spam", "Zojuist gemarkeerd als Spam"
l.store "Spam", "Spam"

# app/views/accounts/recover_password.html.erb
l.store "Username or email", "Gebruikersnaam of e-mail"

# app/views/accounts/signup.html.erb
l.store "Username", "Gebruikersnaam"
l.store "Email", "E-mail"
l.store "Signup", "Meld aan"

# app/views/admin/categories/_categories.html.erb
l.store "Reorder", "Orden opnieuw"
l.store "Sort alphabetically", "Sorteer alfabetisch"
Expand Down

0 comments on commit 2d61dfd

Please sign in to comment.