Translation: adding error translation files.
This commit is contained in:
parent
9c039e90d4
commit
f332f0a40f
2 changed files with 80 additions and 0 deletions
40
resources/lang/en/errors.php
Normal file
40
resources/lang/en/errors.php
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'401' => [
|
||||
'title' => 'Unauthorized',
|
||||
'message' => 'Authorization required to access this page.'
|
||||
],
|
||||
|
||||
'403' => [
|
||||
'title' => 'Forbidden',
|
||||
'message' => 'You dont have permission to access this page.'
|
||||
],
|
||||
|
||||
'404' => [
|
||||
'title' => 'Page not found',
|
||||
'message' => 'The page could not be found'
|
||||
],
|
||||
|
||||
'419' => [
|
||||
'title' => 'Page Expired',
|
||||
'message' => 'Sorry, your session has expired, Please refresh and try again.'
|
||||
],
|
||||
|
||||
'429' => [
|
||||
'title' => 'Too Many Requests',
|
||||
'message' => 'Too many requests was sent during a short period of time, wait a while and try again!'
|
||||
],
|
||||
|
||||
'500' => [
|
||||
'title' => 'Server Error',
|
||||
'message' => 'The server encounterd an error. Try again or contact the server owner.'
|
||||
],
|
||||
|
||||
'503' => [
|
||||
'title' => 'Service Unavailable',
|
||||
'message' => 'The server could not handle the request, wait a while and try again.'
|
||||
],
|
||||
|
||||
];
|
||||
40
resources/lang/se/errors.php
Normal file
40
resources/lang/se/errors.php
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'401' => [
|
||||
'title' => 'Obehörig',
|
||||
'message' => 'Auktorisering krävs för att komma åt den här sidan.'
|
||||
],
|
||||
|
||||
'403' => [
|
||||
'title' => 'Förbjudet',
|
||||
'message' => 'Du har inte behörighet att komma åt den här sidan.'
|
||||
],
|
||||
|
||||
'404' => [
|
||||
'title' => 'Sidan kan inte visas',
|
||||
'message' => 'Denna sida existerar inte.'
|
||||
],
|
||||
|
||||
'419' => [
|
||||
'title' => 'Sidan har upphört',
|
||||
'message' => 'Din session har löpt ut. Uppdatera sidan och försök igen.'
|
||||
],
|
||||
|
||||
'429' => [
|
||||
'title' => 'För många förfrågningar',
|
||||
'message' => 'Du har skickat för många förfrågningar under kort tid, vänta en stund och försök igen!'
|
||||
],
|
||||
|
||||
'500' => [
|
||||
'title' => 'Serverfel',
|
||||
'message' => 'Servern stötte på ett fel. Försök igen eller kontakta serverägaren.'
|
||||
],
|
||||
|
||||
'503' => [
|
||||
'title' => 'Tjänst ej tillgänglig',
|
||||
'message' => 'Servern kunde inte hantera förfrågan, vänta en stund o försök igen.'
|
||||
],
|
||||
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue