From dd2cd09637af38571d1180cfbc18f72c4b98098e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 18 Apr 2021 18:57:56 +0200 Subject: [PATCH] web/admin: fix undefined being shown when viewing application Signed-off-by: Jens Langhammer --- web/src/locales/en.po | 3 ++- web/src/locales/pseudo-LOCALE.po | 3 ++- web/src/pages/applications/ApplicationViewPage.ts | 2 +- web/src/pages/providers/ProviderListPage.ts | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/src/locales/en.po b/web/src/locales/en.po index 4bdfbdde8..ee2321743 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -1680,6 +1680,7 @@ msgstr "Library" #: src/flows/stages/identification/IdentificationStage.ts:134 #: src/flows/stages/password/PasswordStage.ts:31 #: src/flows/stages/prompt/PromptStage.ts:126 +#: src/pages/applications/ApplicationViewPage.ts:43 #: src/pages/applications/ApplicationViewPage.ts:54 #: src/pages/user-settings/UserDetailsPage.ts:38 #: src/utils.ts:40 @@ -2394,7 +2395,6 @@ msgstr "Provide support for protocols like SAML and OAuth to assigned applicatio #: src/pages/applications/ApplicationForm.ts:100 #: src/pages/applications/ApplicationListPage.ts:59 #: src/pages/applications/ApplicationViewPage.ts:68 -#: src/pages/providers/ProviderListPage.ts:34 msgid "Provider" msgstr "Provider" @@ -2411,6 +2411,7 @@ msgstr "Provider type" #: src/pages/admin-overview/AdminOverviewPage.ts:46 #: src/pages/outposts/OutpostForm.ts:82 #: src/pages/outposts/OutpostListPage.ts:51 +#: src/pages/providers/ProviderListPage.ts:34 msgid "Providers" msgstr "Providers" diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index a944ade5f..a6bc2dbcb 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -1672,6 +1672,7 @@ msgstr "" #: src/flows/stages/identification/IdentificationStage.ts:134 #: src/flows/stages/password/PasswordStage.ts:31 #: src/flows/stages/prompt/PromptStage.ts:126 +#: src/pages/applications/ApplicationViewPage.ts:43 #: src/pages/applications/ApplicationViewPage.ts:54 #: src/pages/user-settings/UserDetailsPage.ts:38 #: src/utils.ts:40 @@ -2386,7 +2387,6 @@ msgstr "" #: src/pages/applications/ApplicationForm.ts:100 #: src/pages/applications/ApplicationListPage.ts:59 #: src/pages/applications/ApplicationViewPage.ts:68 -#: src/pages/providers/ProviderListPage.ts:34 msgid "Provider" msgstr "" @@ -2403,6 +2403,7 @@ msgstr "" #: src/pages/admin-overview/AdminOverviewPage.ts:46 #: src/pages/outposts/OutpostForm.ts:82 #: src/pages/outposts/OutpostListPage.ts:51 +#: src/pages/providers/ProviderListPage.ts:34 msgid "Providers" msgstr "" diff --git a/web/src/pages/applications/ApplicationViewPage.ts b/web/src/pages/applications/ApplicationViewPage.ts index 5a2dc276e..796ae9ca4 100644 --- a/web/src/pages/applications/ApplicationViewPage.ts +++ b/web/src/pages/applications/ApplicationViewPage.ts @@ -43,7 +43,7 @@ export class ApplicationViewPage extends LitElement { render(): TemplateResult { return html` diff --git a/web/src/pages/providers/ProviderListPage.ts b/web/src/pages/providers/ProviderListPage.ts index 1ba80bc96..000cfe211 100644 --- a/web/src/pages/providers/ProviderListPage.ts +++ b/web/src/pages/providers/ProviderListPage.ts @@ -25,7 +25,7 @@ export class ProviderListPage extends TablePage { return true; } pageTitle(): string { - return t`Provider`; + return t`Providers`; } pageDescription(): string { return t`Provide support for protocols like SAML and OAuth to assigned applications.`;