Translation Key Added
This commit is contained in:
parent
5191890e1e
commit
048e9d3740
|
|
@ -215,6 +215,19 @@ return [
|
|||
'product_image' => 'Product Image',
|
||||
'actions' => 'Actions',
|
||||
],
|
||||
'wishlist' => [
|
||||
'save' => 'Save',
|
||||
'share' => 'Share',
|
||||
'share-wishlist' => 'Share Wishlist',
|
||||
'wishlist-sharing' => 'Wishlist Sharing',
|
||||
'shared-link' => 'Shared Link',
|
||||
'visibility' => 'Visibility',
|
||||
'public' => 'Public',
|
||||
'private' => 'Private',
|
||||
'customer-name' => ':name\'s Shared Wishlist',
|
||||
'enable-wishlist-info' => 'Enable wishlist sharing to get the link.',
|
||||
'remove-all-success' => 'All the items from your wishlist have been removed',
|
||||
],
|
||||
'login-form' => [
|
||||
'sign-up' => 'Sign up',
|
||||
'new-customer' => 'New Customer',
|
||||
|
|
@ -235,9 +248,6 @@ return [
|
|||
'recover-password' => 'Recover Password',
|
||||
'recover-password-text' => 'If you forgot your password, recover it by entering your email address.',
|
||||
],
|
||||
'wishlist' => [
|
||||
'remove-all-success' => 'All the items from your wishlist have been removed',
|
||||
],
|
||||
],
|
||||
|
||||
'error' => [
|
||||
|
|
|
|||
|
|
@ -40,10 +40,10 @@
|
|||
<div class="cart-wish-wrap mt5">
|
||||
<div class="mb-2">
|
||||
<span class="fs16">
|
||||
Visibility:
|
||||
{{ __('velocity::app.customer.wishlist.visibility') }} :
|
||||
|
||||
<span class="badge {{ $wishlistItem->shared ? 'badge-success' : 'badge-danger' }}">
|
||||
{{ $wishlistItem->shared ? 'Public' : 'Private' }}
|
||||
{{ $wishlistItem->shared ? __('velocity::app.customer.wishlist.public') : __('velocity::app.customer.wishlist.private') }}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<div class="wishlist-container">
|
||||
@if ($wishlistItems->count())
|
||||
<h2 class="text-center">
|
||||
{{ $customer->name }}'s Wishlist
|
||||
{{ __('velocity::app.customer.wishlist.customer-name', ['name' => $customer->name]) }}
|
||||
</h2>
|
||||
|
||||
@foreach ($wishlistItems as $wishlistItem)
|
||||
|
|
|
|||
|
|
@ -33,8 +33,7 @@
|
|||
class="remove-decoration theme-btn light"
|
||||
href="javascript:void(0);"
|
||||
@click="window.showShareWishlistModal();">
|
||||
Share
|
||||
{{-- {{ __('shop::app.customer.account.wishlist.share') }} --}}
|
||||
{{ __('velocity::app.customer.wishlist.share') }}
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
|
@ -61,7 +60,7 @@
|
|||
<div id="shareWishlistModal" class="d-none">
|
||||
<modal id="shareWishlist" :is-open="modalIds.shareWishlist">
|
||||
<h3 slot="header">
|
||||
Share Wishlist
|
||||
{{ __('velocity::app.customer.wishlist.share-wishlist') }}
|
||||
</h3>
|
||||
|
||||
<i class="rango-close"></i>
|
||||
|
|
@ -73,7 +72,7 @@
|
|||
<div class="row">
|
||||
<div class="col-12">
|
||||
<label class="mandatory">
|
||||
Wishlist Sharing
|
||||
{{ __('velocity::app.customer.wishlist.wishlist-sharing') }}
|
||||
</label>
|
||||
|
||||
<select name="shared" class="form-control">
|
||||
|
|
@ -86,14 +85,14 @@
|
|||
<div class="row mt-2">
|
||||
<div class="col-12">
|
||||
<label class="mandatory">
|
||||
Visibility
|
||||
{{ __('velocity::app.customer.wishlist.visibility') }}
|
||||
</label>
|
||||
|
||||
<div>
|
||||
@if ($isWishlistShared)
|
||||
<span class="badge badge-success">Public</span>
|
||||
<span class="badge badge-success">{{ __('velocity::app.customer.wishlist.public') }}</span>
|
||||
@else
|
||||
<span class="badge badge-danger">Private</span>
|
||||
<span class="badge badge-danger">{{ __('velocity::app.customer.wishlist.private') }}</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -102,14 +101,14 @@
|
|||
<div class="row mt-2">
|
||||
<div class="col-12">
|
||||
<label class="mandatory">
|
||||
Shared Link
|
||||
{{ __('velocity::app.customer.wishlist.shared-link') }}
|
||||
</label>
|
||||
|
||||
<div>
|
||||
@if ($isWishlistShared)
|
||||
<a href="{{ $wishlistSharedLink ?? 'javascript:void(0);' }}" target="_blank">{{ $wishlistSharedLink }}</a>
|
||||
@else
|
||||
<p class="alert alert-danger">Enable wishlist sharing to get the link.</p>
|
||||
<p class="alert alert-danger">{{ __('velocity::app.customer.wishlist.enable-wishlist-info') }}</p>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -118,7 +117,7 @@
|
|||
<div class="row mt-2">
|
||||
<div class="col-12">
|
||||
<button type="submit" class="theme-btn float-right">
|
||||
Save
|
||||
{{ __('velocity::app.customer.wishlist.save') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue