Skip to content

Commit

Permalink
N21-2136 fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
GordonNicholasCap committed Nov 4, 2024
1 parent 3082667 commit b126f0b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 19 deletions.
6 changes: 2 additions & 4 deletions locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
6 changes: 2 additions & 4 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
6 changes: 2 additions & 4 deletions locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
6 changes: 2 additions & 4 deletions locales/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -2608,10 +2608,8 @@
"tab_label": {
"settings": "Налаштування",
"signOut": "Вийти з системи",
"sanis": {
"signOut": "Вийти з системи Bildungscloud",
"externalSignOut": "Вийти з системи Bildungscloud & moin.schule"
}
"sanisSignOut": "Вийти з системи Bildungscloud",
"sanisExternalSignOut": "Вийти з системи Bildungscloud & moin.schule"
},
"text": {
"allActionsThatCreate": "Усі дії, які створюють або змінюють дані, деактивовані та не показуються.",
Expand Down
11 changes: 8 additions & 3 deletions views/lib/topbar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,17 @@
{{> "user/forms/language" language=@root.userLanguage }}
<li><a class="dropdown-item" data-testid="settings" href="/account/" role="menuitem" aria-label="{{$t 'lib.loggedin.tab_label.settings' }}">{{$t "lib.loggedin.tab_label.settings" }}</a></li>
{{#ifeq externalSystem "SANIS"}}
<li><a class="dropdown-item localstorageclear" data-testid="logout-external" href="/logout/external/" role="menuitem" aria-label="{{$t 'lib.loggedin.tab_label.sanis.signOut'}}">{{$t "lib.loggedin.tab_label.sanis.externalSignOut"}}</a></li>
<li><a class="dropdown-item localstorageclear" data-testid="logout" href= {{#hasConfig "OAUTH2_LOGOUT_URI"}} {{getConfig "OAUTH2_LOGOUT_URI"}} {{else}} "/logout/" {{/hasConfig}} role="menuitem" aria-label="{{$t 'lib.loggedin.tab_label.sanis.signOut'}}">{{$t 'lib.loggedin.tab_label.sanis.signOut'}}</a></li>
<li><a class="dropdown-item localstorageclear" data-testid="logout-external" href="/logout/external/" role="menuitem" aria-label="{{$t 'lib.loggedin.tab_label.sanisExternalSignOut'}}">{{$t "lib.loggedin.tab_label.sanisExternalSignOut"}}</a></li>
<li><a class="dropdown-item localstorageclear"
data-testid="logout"
role="menuitem"
href= {{#hasConfig "OAUTH2_LOGOUT_URI"}} {{getConfig "OAUTH2_LOGOUT_URI"}} {{else}} "/logout/" {{/hasConfig}}
aria-label="{{$t 'lib.loggedin.tab_label.sanisSignOut'}}">{{$t 'lib.loggedin.tab_label.sanisSignOut'}}</a></li>
{{else}}
<li><a class="dropdown-item localstorageclear"
data-testid="logout"
href= {{#hasConfig "OAUTH2_LOGOUT_URI"}} {{getConfig "OAUTH2_LOGOUT_URI"}} {{else}} "/logout/" {{/hasConfig}} role="menuitem"
role="menuitem"
href= {{#hasConfig "OAUTH2_LOGOUT_URI"}} {{getConfig "OAUTH2_LOGOUT_URI"}} {{else}} "/logout/" {{/hasConfig}}
aria-label="{{$t 'lib.loggedin.tab_label.signOut'}}">
{{$t 'lib.loggedin.tab_label.signOut'}}</a></li>
{{/ifeq}}
Expand Down

0 comments on commit b126f0b

Please sign in to comment.