Use controller method for 404 responses

This commit is contained in:
Sebastian Serth
2022-09-14 01:01:14 +02:00
parent 006c794f54
commit f1aa004284
4 changed files with 34 additions and 1 deletions

View File

@ -248,7 +248,8 @@ de:
idleRunners: Freie Runner
usedRunners: Reservierte Runner
application:
not_authorized: Sie Sind nicht berechtigt, diese Aktion auszuführen.
not_authorized: Sie sind nicht berechtigt, diese Aktion auszuführen.
not_found: Die angeforderte Ressource konnte nicht gefunden werden.
welcome:
text_signed_in_as_external_user: 'Bitte rufen Sie %{application_name} von einer E-Learning-Plattform auf.'
text_signed_in_as_internal_user: 'Schön, Sie zu sehen, %{user_name}!'

View File

@ -249,6 +249,7 @@ en:
usedRunners: Reserved Runners
application:
not_authorized: You are not authorized to perform this action.
not_found: The requested resource could not be found.
welcome:
text_signed_in_as_external_user: 'Please access %{application_name} from an e-learning platform.'
text_signed_in_as_internal_user: 'Good to see you, %{user_name}!'