use additional translation keys for registration

pull/1/head
ansuz 8 years ago
parent 438e139489
commit 3b1bd2f720

@ -283,6 +283,10 @@ define(function () {
out.login_accessDrive = 'Access your drive';
out.login_orNoLogin = 'or';
out.register_importRecent = "Import pad history (Recommended)";
out.register_acceptTerms = "I accept <a href='/terms.html'>the terms</a>";
out.register_rememberPassword = "I will remember my login name and password";
// index.html
//out.main_p1 = 'CryptPad is the <strong>zero knowledge</strong> realtime collaborative editor. Encryption carried out in your web browser protects the data from the server, the cloud, and the NSA. The secret encryption key is stored in the URL <a href="https://en.wikipedia.org/wiki/Fragment_identifier">fragment identifier</a> which is never sent to the server but is available to javascript so by sharing the URL, you give authorization to others who want to participate.';

@ -65,15 +65,15 @@
<!-- TODO translate labels -->
<input id="import-recent" type="checkbox" checked />
<label for="import-recent">Import pad history (Recommended)</label><br />
<label for="import-recent" data-localization="register_importRecent"></label><br />
<input id="accept-terms" type="checkbox" />
<label for="accept-terms">I accept <a href="/terms.html">the terms</a></label><br />
<label for="accept-terms" data-localization="register_acceptTerms"></label><br />
<input id="promise" type="checkbox" />
<label for="promise">I will remember my username and password</label><br />
<label for="promise" data-localization="register_rememberPassword"></label><br />
<button id="register" class="btn btn-primary" data-localization="login_login">Sign up</button>
<button id="register" class="btn btn-primary" data-localization="login_register"></button>
</div>
</div>
</div>

Loading…
Cancel
Save