From 4edaa99127efbaf47b3b9d187188d666f0ea885b Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Thu, 28 May 2020 11:51:17 +0200 Subject: [PATCH] Update English imprint (VPU/Apps/Signature#7) --- packages/app-shell/src/app-shell.js | 6 +++++- packages/app-shell/src/i18n/en/translation.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js index 67b6e756..d71a16f0 100644 --- a/packages/app-shell/src/app-shell.js +++ b/packages/app-shell/src/app-shell.js @@ -665,6 +665,10 @@ export class AppShell extends ScopedElementsMixin(LitElement) { } } + const imprintUrl = this.lang === "en" ? + "https://www.tugraz.at/en/about-this-page/legal-notice/" : + "https://www.tugraz.at/ueber-diese-seite/impressum/"; + return html` <slot class="${slotClassMap}"></slot> <div class="${mainClassMap}"> @@ -712,7 +716,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) { <footer> <div></div> <a target="_blank" rel="noopener" class="int-link-external" href="https://datenschutz.tugraz.at/erklaerung/">${i18n.t('privacy-policy')}</a> - <a target="_blank" rel="noopener" class="int-link-external" href="https://www.tugraz.at/ueber-diese-seite/impressum/">${i18n.t('imprint')}</a> + <a target="_blank" rel="noopener" class="int-link-external" href="${imprintUrl}">${i18n.t('imprint')}</a> <vpu-build-info class="${prodClassMap}"></vpu-build-info> </footer> </div> diff --git a/packages/app-shell/src/i18n/en/translation.json b/packages/app-shell/src/i18n/en/translation.json index fd9f0609..8dff8872 100644 --- a/packages/app-shell/src/i18n/en/translation.json +++ b/packages/app-shell/src/i18n/en/translation.json @@ -5,7 +5,7 @@ "word3": "Technology" }, "privacy-policy": "Privacy Policy", - "imprint": "Imprint", + "imprint": "Legal Notice", "page-updated-needs-reload": "The application has been updated. Please reload the page.", "activity-example": { "hello-world": "Hello World" -- GitLab