Skip to content

Commit

Permalink
Add ECAS specific error codes for 403
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrupp committed Jun 19, 2018
1 parent 4c2c9f3 commit 24d2e6e
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions l10n/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ OC.L10N.register(
"Your CAS settings have been updated.": "Ihre CAS Einstellungen wurden gespeichert.",
"Your CAS settings could not be updated. Please try again.": "Ihre CAS Einstellungen konnten nicht gespeichert werden. Bitte versuchen Sie es erneut.",
"Forbidden. You do not have access to this application. Please refer to your administrator if something feels wrong to you.": "Verboten. Sie haben keinen Zugriff auf diese Anwendung. Bitte wenden Sie sich an Ihren Administrator, wenn Sie denken, dass etwas nicht stimmt.",
"You do not have access to the JRCbox application. Please contact the JRCbox administrator if something feels wrong to you.": "Sie haben keinen Zugriff auf diese JRCbox Anwendung. Bitte wenden Sie sich an den JRCbox Administrator, wenn Sie denken, dass etwas nicht stimmt.",
"Internal Server Error. The server encountered an error. Please try again.": "Interner Serverfehler. Die Serveranfrage war fehlerhaft, bitte versuchen Sie es erneut.",
"Go back to the login page": "Zurück zur Startseite"
},
Expand Down
1 change: 1 addition & 0 deletions l10n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"Your CAS settings have been updated.": "Ihre CAS Einstellungen wurden gespeichert.",
"Your CAS settings could not be updated. Please try again.": "Ihre CAS Einstellungen konnten nicht gespeichert werden. Bitte versuchen Sie es erneut.",
"Forbidden. You do not have access to this application. Please refer to your administrator if something feels wrong to you.": "Verboten. Sie haben keinen Zugriff auf diese Anwendung. Bitte wenden Sie sich an Ihren Administrator, wenn Sie denken, dass etwas nicht stimmt.",
"You do not have access to the JRCbox application. Please contact the JRCbox administrator if something feels wrong to you.": "Sie haben keinen Zugriff auf diese JRCbox Anwendung. Bitte wenden Sie sich an den JRCbox Administrator, wenn Sie denken, dass etwas nicht stimmt.",
"Internal Server Error. The server encountered an error. Please try again.": "Interner Serverfehler. Die Serveranfrage war fehlerhaft, bitte versuchen Sie es erneut.",
"Go back to the login page": "Zurück zur Startseite"
},
Expand Down
4 changes: 4 additions & 0 deletions l10n/de/user_cas.po
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ msgstr ""
msgid "Forbidden. You do not have access to this application. Please refer to your administrator if something feels wrong to you."
msgstr "Verboten. Sie haben keinen Zugriff auf diese Anwendung. Bitte wenden Sie sich an Ihren Administrator, wenn Sie denken, dass etwas nicht stimmt."

#: templates/cas-error.php:24
msgid "You do not have access to the JRCbox application. Please contact the JRCbox administrator if something feels wrong to you."
msgstr "Sie haben keinen Zugriff auf diese JRCbox Anwendung. Bitte wenden Sie sich an den JRCbox Administrator, wenn Sie denken, dass etwas nicht stimmt."

#: templates/cas-error.php:24
msgid "Internal Server Error. The server encountered an error. Please try again."
msgstr "Interner Serverfehler. Die Serveranfrage war fehlerhaft, bitte versuchen Sie es erneut."
Expand Down
1 change: 1 addition & 0 deletions l10n/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ OC.L10N.register(
"Your CAS settings have been updated.": "Vos paramètres CAS ont été mis à jour.",
"Your CAS settings could not be updated. Please try again.": "Vos paramètres CAS n'ont pas pu être mis à jour. Veuillez réessayer.",
"Forbidden. You do not have access to this application. Please refer to your administrator if something feels wrong to you.": "Interdit. Vous n'avez pas accès à cette application. Veuillez vous adresser à votre administrateur si quelque chose vous semble incorrect.",
"You do not have access to the JRCbox application. Please contact the JRCbox administrator if something feels wrong to you.": "Vous n'avez pas accès à cette application JRCbox. Veuillez vous adresser à votre administrateur JRCbox si quelque chose vous semble incorrect.",
"Internal Server Error. The server encountered an error. Please try again.": "Erreur Interne du Serveur. Le serveur a rencontré une erreur. Veuillez réessayer.",
"Go back to the login page": "Retourner à la page d'accueil"
},
Expand Down
1 change: 1 addition & 0 deletions l10n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"Your CAS settings have been updated.": "Vos paramètres CAS ont été mis à jour.",
"Your CAS settings could not be updated. Please try again.": "Vos paramètres CAS n'ont pas pu être mis à jour. Veuillez réessayer."
"Forbidden. You do not have access to this application. Please refer to your administrator if something feels wrong to you.": "Interdit. Vous n'avez pas accès à cette application. Veuillez vous adresser à votre administrateur si quelque chose vous semble incorrect.",
"You do not have access to the JRCbox application. Please contact the JRCbox administrator if something feels wrong to you.": "Vous n'avez pas accès à cette application JRCbox. Veuillez vous adresser à votre administrateur JRCbox si quelque chose vous semble incorrect.",
"Internal Server Error. The server encountered an error. Please try again.": "Erreur Interne du Serveur. Le serveur a rencontré une erreur. Veuillez réessayer.",
"Go back to the login page": "Retourner à la page d'accueil"
},
Expand Down
4 changes: 4 additions & 0 deletions l10n/fr/user_cas.po
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ msgstr ""
msgid "Forbidden. You do not have access to this application. Please refer to your administrator if something feels wrong to you."
msgstr "Interdit. Vous n'avez pas accès à cette application. Veuillez vous adresser à votre administrateur si quelque chose vous semble incorrect."

#: templates/cas-error.php:24
msgid "You do not have access to the JRCbox application. Please contact the JRCbox administrator if something feels wrong to you."
msgstr "Vous n'avez pas accès à cette application JRCbox. Veuillez vous adresser à votre administrateur JRCbox si quelque chose vous semble incorrect."

#: templates/cas-error.php:24
msgid "Internal Server Error. The server encountered an error. Please try again."
msgstr "Erreur Interne du Serveur. Le serveur a rencontré une erreur. Veuillez réessayer."
Expand Down
4 changes: 4 additions & 0 deletions l10n/templates/user_cas.pot
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ msgstr ""
msgid "Forbidden. You do not have access to this application. Please refer to your administrator if something feels wrong to you."
msgstr ""

#: templates/cas-error.php:24
msgid "You do not have access to the JRCbox application. Please contact the JRCbox administrator if something feels wrong to you."
msgstr ""

#: templates/cas-error.php:24
msgid "Internal Server Error. The server encountered an error. Please try again."
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion templates/cas-error.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<span class="error casError">
<p>
<b><?php p($l->t($_['errorCode']));?>: <?php p($l->t($_['errorMessage'])); ?></b>
<b><?php if($_['errorCode']) { p($l->t($_['errorCode']));?>: <?php } ?><?php p($l->t($_['errorMessage'])); ?></b>
</p>
<p>
<a href="<?php p($_['backUrl']); ?>">
Expand Down

0 comments on commit 24d2e6e

Please sign in to comment.