mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
server: Translate set password page
This commit is contained in:
parent
1fbc65b007
commit
58d1e77ac1
@ -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>
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user