Merge pull request #1665 from rumansaleem/fix-hardcoded-bagisto

Replace hardcoded 'Bagisto' with application name from config.
This commit is contained in:
Jitendra Singh 2019-10-21 12:01:26 +05:30 committed by GitHub
commit 75eeddc1b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 16 additions and 16 deletions

View File

@ -78,9 +78,9 @@
<div class="brand-logo">
@if (core()->getConfigData('general.design.admin_logo.logo_image'))
<img src="{{ \Illuminate\Support\Facades\Storage::url(core()->getConfigData('general.design.admin_logo.logo_image')) }}" alt="Bagisto" style="height: 40px; width: 110px;"/>
<img src="{{ \Illuminate\Support\Facades\Storage::url(core()->getConfigData('general.design.admin_logo.logo_image')) }}" alt="{{ config('app.name') }}" style="height: 40px; width: 110px;"/>
@else
<img src="{{ asset('vendor/webkul/ui/assets/images/logo.png') }}" alt="Bagisto"/>
<img src="{{ asset('vendor/webkul/ui/assets/images/logo.png') }}" alt="{{ config('app.name') }}"/>
@endif
</div>

View File

@ -3,9 +3,9 @@
<div class="brand-logo">
<a href="{{ route('admin.dashboard.index') }}">
@if (core()->getConfigData('general.design.admin_logo.logo_image'))
<img src="{{ \Illuminate\Support\Facades\Storage::url(core()->getConfigData('general.design.admin_logo.logo_image')) }}" alt="Bagisto" style="height: 40px; width: 110px;"/>
<img src="{{ \Illuminate\Support\Facades\Storage::url(core()->getConfigData('general.design.admin_logo.logo_image')) }}" alt="{{ config('app.name') }}" style="height: 40px; width: 110px;"/>
@else
<img src="{{ asset('vendor/webkul/ui/assets/images/logo.png') }}" alt="Bagisto"/>
<img src="{{ asset('vendor/webkul/ui/assets/images/logo.png') }}" alt="{{ config('app.name') }}"/>
@endif
</a>
</div>

View File

@ -20,7 +20,7 @@ return [
],
'home' => [
'page-title' => 'Bagisto - Home',
'page-title' => config('app.name') . ' - Home',
'featured-products' => 'Featured Products',
'new-products' => 'New Products',
'verify-email' => 'Verify your email account',
@ -61,14 +61,14 @@ return [
'subscribed' => 'You are now subscribed to subscription emails.',
'not-subscribed' => 'You can not be subscribed to subscription emails, please try again later.',
'already' => 'You are already subscribed to our subscription list.',
'unsubscribed' => 'You are unsubscribed from subscription mails0',
'unsubscribed' => 'You are unsubscribed from subscription mails.',
'already-unsub' => 'You are already unsubscribed.',
'not-subscribed' => 'Error! Mail can not be sent currently, please try again later.'
],
'search' => [
'no-results' => 'No Results Found',
'page-title' => 'Bagisto - Search',
'page-title' => config('app.name') . ' - Search',
'found-results' => 'Search Results Found',
'found-result' => 'Search Result Found'
],
@ -607,7 +607,7 @@ return [
'username-email' => 'UserName/Email',
'subject' => 'New Customer Registration',
'password' => 'Password',
'summary' => 'Your account has been created in bagisto.
'summary' => 'Your account has been created.
Your account details are below: ',
'thanks' => 'Thanks!',
],
@ -616,13 +616,13 @@ return [
'subject' => 'New Customer Registration',
'customer-registration' => 'Customer Registered Successfully',
'dear' => 'Dear :customer_name',
'greeting' => 'Welcome and thank you for registering at Bagisto!',
'greeting' => 'Welcome and thank you for registering with us!',
'summary' => 'Your account has now been created successfully and you can login using your email address and password credentials. Upon logging in, you will be able to access other services including reviewing past orders, wishlists and editing your account information.',
'thanks' => 'Thanks!',
],
'verification' => [
'heading' => 'Bagisto - Email Verification',
'heading' => config('app.name') . ' - Email Verification',
'subject' => 'Verification Mail',
'verify' => 'Verify Your Account',
'summary' => 'This is the mail to verify that the email address you entered is yours.
@ -631,9 +631,9 @@ return [
'subscription' => [
'subject' => 'Subscription Email',
'greeting' => ' Welcome to Bagisto - Email Subscription',
'greeting' => ' Welcome to ' . config('app.name') . ' - Email Subscription',
'unsubscribe' => 'Unsubscribe',
'summary' => 'Thanks for putting me into your inbox. Its been a while since youve read Bagisto email, and we dont want to overwhelm your inbox. If you still do not want to receive
'summary' => 'Thanks for putting me into your inbox. Its been a while since youve read ' . config('app.name') . ' email, and we dont want to overwhelm your inbox. If you still do not want to receive
the latest email marketing news then for sure click the button below.'
]
]

View File

@ -18,7 +18,7 @@ return [
],
'home' => [
'page-title' => 'Bagisto - Inicio',
'page-title' => config('app.name') . ' - Inicio',
'featured-products' => 'Productos Destacados',
'new-products' => 'Nuevos Productos',
'verify-email' => 'Verifica tu cuenta de correo',

View File

@ -60,7 +60,7 @@ return [
'subscribed' => 'شما هم اکنون در ایمیل های اشتراک مشترک شده اید',
'not-subscribed' => 'شما نمی توانید به عضویت در ایمیل مشترک شوید ، پس از مدتی دوباره امتحان کنید',
'already' => 'شما قبلاً در لیست اشتراک های ما مشترک شده اید',
'unsubscribed' => 'شما از نامه های اشتراک Bagisto مشترک نیستید',
'unsubscribed' => 'شما از نامه های اشتراک مشترکاً مشترک نیستید',
'already-unsub' => 'شما قبلاً لغو اشتراک شده اید',
'not-subscribed' => 'خطا! نامه ارسال نمی شود در حال حاضر ، لطفا بعدا دوباره امتحان کنید'
],

View File

@ -16,7 +16,7 @@ return [
],
'home' => [
'page-title' => 'Bagisto - Home',
'page-title' => config('app.name') . ' - Home',
'featured-products' => 'Produtos em Destaque',
'new-products' => 'Novos Produtos',
'verify-email' => 'Verifique sua Conta de E-mail',

View File

@ -1,5 +1,5 @@
@if (core()->getConfigData('general.design.admin_logo.logo_image'))
<img src="{{ \Illuminate\Support\Facades\Storage::url(core()->getConfigData('general.design.admin_logo.logo_image')) }}" alt="Bagisto" style="height: 40px; width: 110px;"/>
<img src="{{ \Illuminate\Support\Facades\Storage::url(core()->getConfigData('general.design.admin_logo.logo_image')) }}" alt="{{ config('app.name') }}" style="height: 40px; width: 110px;"/>
@else
<img src="{{ bagisto_asset('images/logo.svg') }}">
@endif