localization bug fix
This commit is contained in:
parent
77a7e87c0e
commit
451b3bd37b
|
|
@ -2,7 +2,7 @@ APP_ENV=production
|
|||
APP_DEBUG=false
|
||||
APP_URL=
|
||||
APP_CIPHER=AES-256-CBC
|
||||
APP_KEY=
|
||||
APP_KEY=base64:b+IDeKd6fuC3vhnP4pjIqtx4AG3pnYWrOQ9zO+w8gxo=
|
||||
APP_TIMEZONE=
|
||||
|
||||
DB_TYPE=mysql
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ class Install extends Command
|
|||
$user_data['is_parent'] = 1;
|
||||
$user_data['is_admin'] = 1;
|
||||
$user_data['is_registered'] = 1;
|
||||
$user = User::create($user_data);
|
||||
User::create($user_data);
|
||||
|
||||
DB::commit();
|
||||
$this->info('Admin User Successfully Created');
|
||||
|
|
@ -127,12 +127,12 @@ class Install extends Command
|
|||
|
||||
|
||||
// $a = " _
|
||||
// | |
|
||||
// | |
|
||||
// /\ /\ ___ _ __ __| | __ _ _ __
|
||||
// / \/ \ / _ \ '_ \ / _` |/ _' | '_ \
|
||||
// / /\ /\ \ __/ | '-| (_| | (_| | | | |
|
||||
// /_/ \/ \_\___|_| \__,_|\__,_|_| |_|
|
||||
//
|
||||
//
|
||||
// ";
|
||||
$this->comment('Success! You can now run Attendize');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
|||
'is_registered',
|
||||
'is_confirmed',
|
||||
'is_parent',
|
||||
'remember_token'
|
||||
'remember_token',
|
||||
'is_admin'
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
'env' => env('APP_ENV', 'local'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ return [
|
|||
//'et' => ['name' => 'Estonian', 'script' => 'Latn', 'native' => 'eesti', 'regional' => 'et_EE'],
|
||||
//'na' => ['name' => 'Nauru', 'script' => 'Latn', 'native' => 'Ekakairũ Naoero', 'regional' => ''],
|
||||
//'guz' => ['name' => 'Ekegusii', 'script' => 'Latn', 'native' => 'Ekegusii', 'regional' => ''],
|
||||
'en' => ['name' => 'English', 'script' => 'Latn', 'native' => 'English', 'regional' => 'en_GB'],
|
||||
'en' => ['name' => 'English', 'script' => 'Latn', 'native' => 'English', 'regional' => 'en_GB'],
|
||||
//'en-AU' => ['name' => 'Australian English', 'script' => 'Latn', 'native' => 'Australian English', 'regional' => 'en_AU'],
|
||||
//'en-GB' => ['name' => 'British English', 'script' => 'Latn', 'native' => 'British English', 'regional' => 'en_GB'],
|
||||
//'en-US' => ['name' => 'U.S. English', 'script' => 'Latn', 'native' => 'U.S. English', 'regional' => 'en_US'],
|
||||
|
|
@ -309,7 +309,7 @@ return [
|
|||
//
|
||||
'hideDefaultLocaleInURL' => false,
|
||||
|
||||
// If you want to display the locales in particular order in the language selector you should write the order here.
|
||||
// If you want to display the locales in particular order in the language selector you should write the order here.
|
||||
//CAUTION: Please consider using the appropriate locale code otherwise it will not work
|
||||
//Example: 'localesOrder' => ['es','en'],
|
||||
'localesOrder' => [ "ru", "tk","en"],
|
||||
|
|
|
|||
|
|
@ -67,11 +67,15 @@
|
|||
{{--<li><a href=""><img src="{{asset('assets/images/icons/user.svg')}}"> Вход</a></li>--}}
|
||||
{{--<li><a href=""><img src="{{asset('assets/images/icons/plus.svg')}}"> Регистрация</a></li>--}}
|
||||
<li class="dropdown pull-right">
|
||||
<a href="" class="dropdown-toggle" data-toggle="dropdown"><img src="{{asset('assets/images/icons/globe.svg')}}"> Русский <i class="fa fa-caret-down"></i></a>
|
||||
<a href="" class="dropdown-toggle" data-toggle="dropdown"><img src="{{asset('assets/images/icons/globe.svg')}}"> Language <i class="fa fa-caret-down"></i></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/setLocale/ru">Русский</a></li>
|
||||
<li><a href="/setLocale/tk">Туркменский</a></li>
|
||||
<li><a href="/setLocale/en">English</a></li>
|
||||
@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
|
||||
<li>
|
||||
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
|
||||
{{ $properties['native'] }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
<div class="clearfix"></div>
|
||||
|
|
@ -85,4 +89,4 @@
|
|||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<!-- End Header -->
|
||||
<!-- End Header -->
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
@if($theatre->count()>0)
|
||||
@if(isset($theatre))
|
||||
@include('Bilettm.Partials.HomeTheatre')
|
||||
@endif
|
||||
<section id="second-add-wrapper" style="margin: 100px 0;">
|
||||
|
|
@ -97,19 +97,10 @@
|
|||
});
|
||||
// home page teatrda ulanan sliderim un script
|
||||
// initialization of carousel
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$('#date-click').click(function () {
|
||||
$('#date-click-content').toggleClass('show-content');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Reference in New Issue