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