From b126f0bf832c3ad5aaa9864e19b71b36a99c0a48 Mon Sep 17 00:00:00 2001 From: Gordon Nicholas Date: Mon, 4 Nov 2024 11:29:48 +0100 Subject: [PATCH] N21-2136 fix errors --- locales/de.json | 6 ++---- locales/en.json | 6 ++---- locales/es.json | 6 ++---- locales/uk.json | 6 ++---- views/lib/topbar.hbs | 11 ++++++++--- 5 files changed, 16 insertions(+), 19 deletions(-) diff --git a/locales/de.json b/locales/de.json index aaddf576bf..1730add363 100644 --- a/locales/de.json +++ b/locales/de.json @@ -2440,10 +2440,8 @@ "tab_label": { "settings": "Einstellungen", "signOut": "Logout", - "sanis": { - "signOut": "Logout Bildungscloud", - "externalSignOut": "Logout Bildungscloud & moin.schule" - } + "sanisSignOut": "Logout Bildungscloud", + "sanisExternalSignOut": "Logout Bildungscloud & moin.schule" }, "text": { "allActionsThatCreate": "Sämtliche Aktionen, die Daten anlegen oder ändern, sind deaktiviert und nicht sichtbar.", diff --git a/locales/en.json b/locales/en.json index d35fb552eb..204a59cb1f 100644 --- a/locales/en.json +++ b/locales/en.json @@ -2440,10 +2440,8 @@ "tab_label": { "settings": "Settings", "signOut": "Sign out", - "sanis": { - "signOut": "Logout Bildungscloud", - "externalSignOut": "Logout Bildungscloud & moin.schule" - } + "sanisSignOut": "Logout Bildungscloud", + "sanisExternalSignOut": "Logout Bildungscloud & moin.schule" }, "text": { "allActionsThatCreate": "All actions that create or change data are deactivated and not visible.", diff --git a/locales/es.json b/locales/es.json index 2c902f3e17..29a4e78a96 100644 --- a/locales/es.json +++ b/locales/es.json @@ -2440,10 +2440,8 @@ "tab_label": { "settings": "Configuración", "signOut": "Cerrar sesión", - "sanis": { - "signOut": "Cerrar sesión Bildungscloud", - "externalSignOut": "Cerrar sesión Bildungscloud & moin.schule" - } + "sanisSignOut": "Cerrar sesión Bildungscloud", + "sanisExternalSignOut": "Cerrar sesión Bildungscloud & moin.schule" }, "text": { "allActionsThatCreate": "Todas las acciones que crean o modifican datos están desactivadas y no son visibles.", diff --git a/locales/uk.json b/locales/uk.json index 3a87fef3f5..d90a4e3f36 100644 --- a/locales/uk.json +++ b/locales/uk.json @@ -2608,10 +2608,8 @@ "tab_label": { "settings": "Налаштування", "signOut": "Вийти з системи", - "sanis": { - "signOut": "Вийти з системи Bildungscloud", - "externalSignOut": "Вийти з системи Bildungscloud & moin.schule" - } + "sanisSignOut": "Вийти з системи Bildungscloud", + "sanisExternalSignOut": "Вийти з системи Bildungscloud & moin.schule" }, "text": { "allActionsThatCreate": "Усі дії, які створюють або змінюють дані, деактивовані та не показуються.", diff --git a/views/lib/topbar.hbs b/views/lib/topbar.hbs index 9e4adbe65f..647e85d99b 100644 --- a/views/lib/topbar.hbs +++ b/views/lib/topbar.hbs @@ -60,12 +60,17 @@ {{> "user/forms/language" language=@root.userLanguage }}
  • {{$t "lib.loggedin.tab_label.settings" }}
  • {{#ifeq externalSystem "SANIS"}} -
  • {{$t "lib.loggedin.tab_label.sanis.externalSignOut"}}
  • -
  • {{$t 'lib.loggedin.tab_label.sanis.signOut'}}
  • +
  • {{$t "lib.loggedin.tab_label.sanisExternalSignOut"}}
  • +
  • {{$t 'lib.loggedin.tab_label.sanisSignOut'}}
  • {{else}}
  • {{$t 'lib.loggedin.tab_label.signOut'}}
  • {{/ifeq}}