Commit 942de3f0 authored by o@immerda.ch's avatar o@immerda.ch
Browse files

submit lang on signup

parent 431bb9ec
......@@ -4,3 +4,4 @@
//= require zxcvbn
//= require pwstrength
//= require signup_helpers
//= require pwhelp
......@@ -158,6 +158,7 @@ module ApiBackend
"invite" => invite,
"recovery_email" => recovery_email,
"keep_recovery_token" => keep_recovery_token,
"language" => I18n.locale,
})
end
......
<h4><a id="pw-help-toggle" href="#" ><%= t(:password_help) %></a></h4>
<div id="pw-help" style="display:none;">
<%= render "help_#{I18n.locale}" rescue render 'help_en' %>
<%= render "password_help_#{I18n.locale}" rescue render 'help_en' %>
<hr />
</div>
......
......@@ -38,6 +38,14 @@
</table>
<%= t :recovery_email_short_help %>
<br />
<br />
<h4><a id="pw-help-toggle" href="#" ><%= t(:password_help) %></a></h4>
<div id="pw-help" style="display:none;">
<%= render "password_help_#{I18n.locale}" rescue render 'help_en' %>
<hr />
</div>
<p>
<div id="keep_recovery_token_question">
<br />
......
......@@ -37,7 +37,6 @@
<p>
<ul class="menu">
<li><%= link_to t(:main_title), root_path %></li>
<li><a href="https://immerda.ch">immerda.ch</a></li>
<li><a href="https://webmail.immerda.ch">Webmail</a></li>
</ul>
</p>
......@@ -58,7 +58,7 @@ de:
signup_success: "Konto erfolgreich erstellt"
check_token_failed: "Ungültiger Einladungstoken!"
invalid_alias_domain: "Ungültige Emailadresse"
main_title: "Immerda Konto Verwaltung"
main_title: "Immerda Kontoeinstellungen"
new_account_intro1: "Dein Konto ist erstellt! Hier ein paar infos"
new_account_intro_token: "Deine Mails sind auf dem Server mit deinem Passwort gesichert abgelegt. Wenn du es vergisst, brauchst du einen Wiederherstellungscode, um sie wieder lesen zu können."
new_account_intro_token_display: "Kopiere den Code jetzt und bewahre ihn sicher auf."
......
......@@ -58,7 +58,7 @@ en:
signup_success: "Account successfully created"
check_token_failed: "Invalid Invitation token!"
invalid_alias_domain: "Invalid emailaddress"
main_title: "Immerda Account Management"
main_title: "Immerda Account Settings"
new_account_intro1: "Your account is now ready! Here some things to consider"
new_account_intro_token: "On our servers your messages are secured by your password. If you foget your password, you need a recovery token to regain access to old messages."
new_account_intro_token_display: "Copy the token now and store it safely."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment