From 59dc6ea9914f58dd804b2de9feb059eaf27c02f6 Mon Sep 17 00:00:00 2001 From: McMatts Date: Fri, 4 Mar 2022 13:07:11 -0500 Subject: [PATCH] i18n page strings --- gui/app/components/user/user-profile.js | 5 -- gui/app/pods/auth/cas/template.hbs | 4 +- gui/app/pods/auth/forgot/template.hbs | 3 +- gui/app/pods/auth/keycloak/route.js | 1 + gui/app/pods/auth/keycloak/template.hbs | 4 +- gui/app/pods/auth/login/controller.js | 9 ---- gui/app/pods/auth/login/template.hbs | 18 +++---- gui/app/pods/auth/logout/template.hbs | 2 +- gui/app/pods/auth/reset/route.js | 5 +- gui/app/pods/auth/reset/template.hbs | 3 +- gui/app/pods/auth/share/route.js | 2 +- gui/app/pods/auth/share/template.hbs | 4 +- gui/app/pods/auth/sso/template.hbs | 2 +- gui/app/pods/document/index/template.hbs | 2 +- gui/app/pods/document/revisions/template.hbs | 9 ++-- gui/app/pods/document/section/template.hbs | 5 +- gui/app/pods/document/settings/template.hbs | 15 +++--- gui/app/pods/folder/block/template.hbs | 11 ++--- gui/app/pods/folder/index/controller.js | 10 ++-- gui/app/pods/folder/index/template.hbs | 5 +- gui/app/pods/folder/settings/template.hbs | 17 +++---- gui/app/pods/folders/route.js | 3 +- gui/app/pods/folders/template.hbs | 6 +-- gui/app/pods/not-found/route.js | 5 +- gui/app/pods/not-found/template.hbs | 6 +-- .../components/user/forgot-password.hbs | 8 +-- .../components/user/password-reset.hbs | 9 ++-- .../components/user/user-profile.hbs | 10 ++-- gui/public/i18n/en-US.json | 49 ++++++++++++++++--- 29 files changed, 125 insertions(+), 107 deletions(-) diff --git a/gui/app/components/user/user-profile.js b/gui/app/components/user/user-profile.js index b9437f12..91347f84 100644 --- a/gui/app/components/user/user-profile.js +++ b/gui/app/components/user/user-profile.js @@ -87,10 +87,5 @@ export default Component.extend(AuthProvider, { set(this, 'password.confirmation', ''); }); } - - // onThemeChange(theme) { - // this.get('appMeta').setTheme(theme); - // this.set('model.theme', theme); - // } } }); diff --git a/gui/app/pods/auth/cas/template.hbs b/gui/app/pods/auth/cas/template.hbs index c61afd04..85965cf6 100644 --- a/gui/app/pods/auth/cas/template.hbs +++ b/gui/app/pods/auth/cas/template.hbs @@ -1,12 +1,12 @@ {{#if (is-equal model.mode "login")}}
-

Authenticating with CAS...

+

{{localize 'login_cas'}}

{{/if}} {{#if (is-equal model.mode "reject")}}
-

CAS authentication failure

+

{{localize 'login_cas_error'}}

{{/if}} diff --git a/gui/app/pods/auth/forgot/template.hbs b/gui/app/pods/auth/forgot/template.hbs index 73672284..1cc7732a 100644 --- a/gui/app/pods/auth/forgot/template.hbs +++ b/gui/app/pods/auth/forgot/template.hbs @@ -1,8 +1,7 @@