Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
server: Translate set password page
Elian Doran58d1e77ac1fa
diff --git a/src/views/set_password.ejs b/src/views/set_password.ejsindex a23abb797c..6aa11df18e 100644--- a/src/views/set_password.ejs+++ b/src/views/set_password.ejs@@ -3,14 +3,14 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">- <title>Login</title>+ <title><%= t("login.title") %></title><link rel="apple-touch-icon" sizes="180x180" href="<%= assetPath %>/images/app-icons/ios/apple-touch-icon.png"><link rel="shortcut icon" href="favicon.ico"></head><body><div class="container"><div class="col-xs-12 col-sm-10 col-md-6 col-lg-4 col-xl-4 mx-auto" style="padding-top: 25px;">- <h1>Set password</h1>+ <h1><%= t("set_password.heading") %></h1><% if (error) { %><div class="alert alert-warning">@@ -18,24 +18,24 @@</div><% } %>- <p>Before you can start using Trilium from web, you need to set a password first. You will then use this password to login.</p>+ <p><%= t("set_password.description") %></p><form action="set-password" method="POST"><div class="form-group">- <label for="password">Password</label>+ <label for="password"><%= t("set_password.password") %></label><div class="controls"><input id="password" name="password1" placeholder="" class="form-control" type="password"></div></div><div class="form-group">- <label for="password">Password confirmation</label>+ <label for="password"><%= t("set_password.password-confirmation") %></label><div class="controls"><input id="password" name="password2" placeholder="" class="form-control" type="password"></div></div><div class="form-group">- <button class="btn btn-success">Set password</button>+ <button class="btn btn-success"><%= t("set_password.button") %></button></div></form></div>diff --git a/translations/en/server.json b/translations/en/server.jsonindex 15211f1d91..f29e066412 100644--- a/translations/en/server.json+++ b/translations/en/server.json@@ -98,5 +98,12 @@"password": "Password","remember-me": "Remember me","button": "Login"+ },+ "set_password": {+ "heading": "Set password",+ "description": "Before you can start using Trilium from web, you need to set a password first. You will then use this password to login.",+ "password": "Password",+ "password-confirmation": "Password confirmation",+ "button": "Set password"}}diff --git a/translations/ro/server.json b/translations/ro/server.jsonindex ef9abe6a6c..f99dfb7b61 100644--- a/translations/ro/server.json+++ b/translations/ro/server.json@@ -101,5 +101,12 @@"password": "Parolă","remember-me": "Ține-mă minte","title": "Autentificare"+ },+ "set_password": {+ "heading": "Setare parolă",+ "button": "Setează parola",+ "description": "Înainte de a putea utiliza Trilium din navigator, trebuie mai întâi setată o parolă. Ulterior această parolă va fi folosită la autentificare.",+ "password": "Parolă",+ "password-confirmation": "Confirmarea parolei"}}