More translations
This commit is contained in:
parent
89ebcbdb10
commit
81c148fc4d
@ -87,6 +87,33 @@ return [
|
||||
'nodownloads' => 'There are no downloads!',
|
||||
],
|
||||
|
||||
'emails' => [
|
||||
'whoops' => 'Whoops',
|
||||
'hello' => 'Hello',
|
||||
'regards' => 'Regards',
|
||||
'buttontroubles' => [
|
||||
'If you’re having trouble clicking the ":actiontext" button,',
|
||||
'copy and paste the URL below into your web browser:',
|
||||
],
|
||||
'allrightsreserved' => 'All Rights Reserved',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'401title' => 'Not Authorized',
|
||||
'401header' => 'Unauthorized Access',
|
||||
'401message' => [
|
||||
'Well, this is embarrassing, you are not authorized to access or perform this function.',
|
||||
'Click <a href=":link">here</a> to go back to the home page.',
|
||||
],
|
||||
'404title' => 'Not Found',
|
||||
'404header' => 'Page Not Found',
|
||||
'404message' => [
|
||||
'Well, this is embarrassing, the page you requested does not exist.',
|
||||
'Click <a href=":link">here</a> to go back to the home page.',
|
||||
],
|
||||
'503message' => 'Be right back.',
|
||||
],
|
||||
|
||||
'flights' => [
|
||||
'mybid' => 'My Bid|My Bids',
|
||||
'search' => 'Search',
|
||||
|
@ -83,6 +83,33 @@ return [
|
||||
'recentreports' => 'Rapporti Recenti',
|
||||
],
|
||||
|
||||
'emails' => [
|
||||
'whoops' => 'Ops',
|
||||
'hello' => 'Ciao',
|
||||
'regards' => 'Saluti',
|
||||
'buttontroubles' => [
|
||||
'Se hai problemi a cliccare il bottone ":actiontext",',
|
||||
'copia e incolla l\'URL qui sotto nel tuo browser:',
|
||||
],
|
||||
'allrightsreserved' => 'Tutti i Diritti Riservati',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'401title' => 'Non Autorizzato',
|
||||
'401header' => 'Accesso Non Autorizzato',
|
||||
'401message' => [
|
||||
'Beh, è imbarazzante, non sei autorizzato ad accedere o ad eseguire questa funzionalità.',
|
||||
'Clicca <a href=":link">qui</a> per tornare alla home page.',
|
||||
],
|
||||
'404title' => 'Not Found',
|
||||
'404header' => 'Page Not Found',
|
||||
'404message' => [
|
||||
'Beh, è imbarazzante, la pagina che hai richiesto non esiste.',
|
||||
'Clicca <a href=":link">qui</a> per tornare alla home page.',
|
||||
],
|
||||
'503message' => 'Torniamo subito.',
|
||||
],
|
||||
|
||||
'downloads' => [
|
||||
'nodownloads' => 'Non ci sono downloads!',
|
||||
],
|
||||
|
@ -1,12 +1,13 @@
|
||||
@extends('app')
|
||||
@section('title', 'not authorized')
|
||||
@section('title', __trans('frontend.errors.401title'))
|
||||
|
||||
@section('content')
|
||||
<div class="container registered-page">
|
||||
<h3>Unauthorized</h3>
|
||||
<h3>@lang('frontend.errors.401header')</h3>
|
||||
<p>
|
||||
Well, this is embarrassing, you are not authorized to access or perform this function.
|
||||
Click <a href="{{ url()->previous() }}">here</a> to go back to the home page.
|
||||
@foreach(trans('frontend.errors.401message') as $line)
|
||||
{!! str_replace(':link', config('app.url'), $line).'<br />' !!}
|
||||
@endforeach
|
||||
</p>
|
||||
</div>
|
||||
@endsection
|
||||
|
@ -1,12 +1,13 @@
|
||||
@extends('app')
|
||||
@section('title', 'not found')
|
||||
@section('title', trans('frontend.errors.404title'))
|
||||
|
||||
@section('content')
|
||||
<div class="container registered-page">
|
||||
<h3>Page Not Found</h3>
|
||||
<h3>@lang('frontend.errors.404header')</h3>
|
||||
<p>
|
||||
Well, this is embarrassing, the page you requested does not exist.
|
||||
Click <a href="{{ url()->previous() }}">here</a> to go back to the home page.
|
||||
@foreach(trans('frontend.errors.404message') as $line)
|
||||
{!! str_replace(':link', config('app.url'), $line).'<br />' !!}
|
||||
@endforeach
|
||||
{{ $exception->getMessage() }}
|
||||
</p>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Be right back.</title>
|
||||
<title>@lang('frontend.errors.503message')</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">Be right back.</div>
|
||||
<div class="title">@lang('frontend.errors.503message')</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
if (! empty($greeting)) {
|
||||
echo $greeting, "\n\n";
|
||||
} else {
|
||||
echo $level == 'error' ? 'Whoops!' : 'Hello!', "\n\n";
|
||||
echo $level == 'error' ? trans('frontend.emails.whoops').'!' : trans('frontend.emails.hello').',', "\n\n";
|
||||
}
|
||||
|
||||
if (! empty($introLines)) {
|
||||
@ -18,5 +18,5 @@ if (! empty($outroLines)) {
|
||||
echo implode("\n", $outroLines), "\n\n";
|
||||
}
|
||||
|
||||
echo 'Regards,', "\n";
|
||||
echo trans('frontend.emails.regards).',', "\n";
|
||||
echo config('app.name'), "\n";
|
||||
|
@ -85,9 +85,9 @@ $style = [
|
||||
<!-- Greeting -->
|
||||
<h1 style="{{ $style['header-1'] }}">
|
||||
@if ($level == 'error')
|
||||
Whoops!
|
||||
@lang('frontend.emails.whoops')!
|
||||
@else
|
||||
Hello!
|
||||
@lang('frontend.emails.hello'),
|
||||
@endif
|
||||
</h1>
|
||||
|
||||
@ -136,7 +136,7 @@ $style = [
|
||||
|
||||
<!-- Salutation -->
|
||||
<p style="{{ $style['paragraph'] }}">
|
||||
Regards,<br>{{ config('app.name') }}
|
||||
@lang('frontend.emails.regards'),<br>{{ config('app.name') }}
|
||||
</p>
|
||||
|
||||
<!-- Sub Copy -->
|
||||
@ -145,8 +145,9 @@ $style = [
|
||||
<tr>
|
||||
<td style="{{ $fontFamily }}">
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
If you’re having trouble clicking the "{{ $actionText }}" button,
|
||||
copy and paste the URL below into your web browser:
|
||||
@foreach(trans('frontend.emails.buttontroubles' as $line)
|
||||
{{ str_replace(':actiontext', $actionText, $line) }}
|
||||
@endforeach
|
||||
</p>
|
||||
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
@ -173,7 +174,7 @@ $style = [
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
© {{ date('Y') }}
|
||||
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ config('app.name') }}</a>.
|
||||
All rights reserved.
|
||||
@lang(frontend.emails.allrightsreserved')
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user