From 5332c7ceb3a899c3251e3de10cc1743029f9ef8e Mon Sep 17 00:00:00 2001 From: JinkaiNiu Date: Sun, 2 Feb 2025 19:22:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E4=B8=BA=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/templates/404.hbs | 24 +- src/static/templates/admin/base.hbs | 36 +- src/static/templates/admin/diagnostics.hbs | 267 ++++++++------- src/static/templates/admin/login.hbs | 11 +- src/static/templates/admin/organizations.hbs | 46 +-- src/static/templates/admin/settings.hbs | 315 +++++++++++++----- src/static/templates/admin/users.hbs | 124 ++++--- .../templates/email/admin_reset_password.hbs | 7 +- .../email/admin_reset_password.html.hbs | 17 +- src/static/templates/email/change_email.hbs | 9 +- .../templates/email/change_email.html.hbs | 24 +- src/static/templates/email/delete_account.hbs | 8 +- .../templates/email/delete_account.html.hbs | 37 +- src/static/templates/email/email_footer.hbs | 56 ++-- src/static/templates/email/email_header.hbs | 140 +++++--- .../emergency_access_invite_accepted.hbs | 9 +- .../emergency_access_invite_accepted.html.hbs | 34 +- .../emergency_access_invite_confirmed.hbs | 8 +- ...emergency_access_invite_confirmed.html.hbs | 37 +- .../emergency_access_recovery_approved.hbs | 6 +- ...mergency_access_recovery_approved.html.hbs | 24 +- .../emergency_access_recovery_initiated.hbs | 8 +- ...ergency_access_recovery_initiated.html.hbs | 41 ++- .../emergency_access_recovery_rejected.hbs | 6 +- ...mergency_access_recovery_rejected.html.hbs | 24 +- .../emergency_access_recovery_reminder.hbs | 33 +- ...mergency_access_recovery_reminder.html.hbs | 41 ++- .../emergency_access_recovery_timed_out.hbs | 6 +- ...ergency_access_recovery_timed_out.html.hbs | 26 +- .../templates/email/incomplete_2fa_login.hbs | 16 +- .../email/incomplete_2fa_login.html.hbs | 61 ++-- .../templates/email/invite_accepted.hbs | 6 +- .../templates/email/invite_accepted.html.hbs | 33 +- .../templates/email/invite_confirmed.hbs | 6 +- .../templates/email/invite_confirmed.html.hbs | 27 +- .../templates/email/new_device_logged_in.hbs | 16 +- .../email/new_device_logged_in.html.hbs | 61 ++-- .../templates/email/protected_action.hbs | 8 +- .../templates/email/protected_action.html.hbs | 25 +- src/static/templates/email/pw_hint_none.hbs | 9 +- .../templates/email/pw_hint_none.html.hbs | 34 +- src/static/templates/email/pw_hint_some.hbs | 13 +- .../templates/email/pw_hint_some.html.hbs | 45 ++- .../email/send_2fa_removed_from_org.hbs | 9 +- .../email/send_2fa_removed_from_org.html.hbs | 26 +- .../email/send_emergency_access_invite.hbs | 10 +- .../send_emergency_access_invite.html.hbs | 56 ++-- .../templates/email/send_org_invite.hbs | 12 +- .../templates/email/send_org_invite.html.hbs | 40 ++- .../send_single_org_removed_from_org.hbs | 6 +- .../send_single_org_removed_from_org.html.hbs | 18 +- src/static/templates/email/smtp_test.hbs | 6 +- src/static/templates/email/smtp_test.html.hbs | 23 +- .../templates/email/twofactor_email.hbs | 8 +- .../templates/email/twofactor_email.html.hbs | 25 +- src/static/templates/email/verify_email.hbs | 8 +- .../templates/email/verify_email.html.hbs | 36 +- src/static/templates/email/welcome.hbs | 6 +- src/static/templates/email/welcome.html.hbs | 23 +- .../templates/email/welcome_must_verify.hbs | 8 +- .../email/welcome_must_verify.html.hbs | 36 +- .../templates/scss/user.vaultwarden.scss.hbs | 2 +- .../templates/scss/vaultwarden.scss.hbs | 54 +-- 63 files changed, 1369 insertions(+), 827 deletions(-) diff --git a/src/static/templates/404.hbs b/src/static/templates/404.hbs index 064dc5a1..45ce950a 100644 --- a/src/static/templates/404.hbs +++ b/src/static/templates/404.hbs @@ -1,11 +1,12 @@ - + + - Page not found! + 页面未找到! @@ -14,9 +15,10 @@
-

Page not found!

-

Sorry, but the page you were looking for could not be found.

+

页面未找到!

+

对不起,您所查找的页面不存在。

- Return to the web vault?

-

You can return to the web-vault, or contact us.

+ 返回到Web保险库? +

+

您可以返回到Web保险库,或联系我们

- + - + + \ No newline at end of file diff --git a/src/static/templates/admin/base.hbs b/src/static/templates/admin/base.hbs index 5e713105..a7a44ab1 100644 --- a/src/static/templates/admin/base.hbs +++ b/src/static/templates/admin/base.hbs @@ -1,19 +1,22 @@ - + + - Vaultwarden Admin Panel + Vaultwarden 管理面板 +