Translations Added
This commit is contained in:
parent
b0c1374352
commit
6da4dfbbbe
|
|
@ -580,6 +580,9 @@ return [
|
|||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -571,6 +571,9 @@ return [
|
|||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
'attributes' =>
|
||||
[
|
||||
|
|
|
|||
|
|
@ -514,84 +514,87 @@ return [
|
|||
|
||||
'catalog' => [
|
||||
'products' => [
|
||||
'title' => 'Products',
|
||||
'add-product-btn-title' => 'Add Product',
|
||||
'add-title' => 'Add Product',
|
||||
'edit-title' => 'Edit Product',
|
||||
'save-btn-title' => 'Save Product',
|
||||
'general' => 'General',
|
||||
'product-type' => 'Product Type',
|
||||
'simple' => 'Simple',
|
||||
'configurable' => 'Configurable',
|
||||
'familiy' => 'Attribute Family',
|
||||
'sku' => 'SKU',
|
||||
'configurable-attributes' => 'Configurable Attributes',
|
||||
'attribute-header' => 'Attribute(s)',
|
||||
'attribute-option-header' => 'Attribute Option(s)',
|
||||
'no' => 'No',
|
||||
'yes' => 'Yes',
|
||||
'disabled' => 'Disabled',
|
||||
'enabled' => 'Enabled',
|
||||
'add-variant-btn-title' => 'Add Variant',
|
||||
'name' => 'Name',
|
||||
'qty' => 'Qty',
|
||||
'price' => 'Price',
|
||||
'weight' => 'Weight',
|
||||
'status' => 'Status',
|
||||
'add-variant-title' => 'Add Variant',
|
||||
'add-image-btn-title' => 'Add Image',
|
||||
'mass-delete-success' => 'All the selected products have been deleted successfully',
|
||||
'mass-update-success' => 'All the selected products have been updated successfully',
|
||||
'configurable-error' => 'Please select atleast one configurable attribute.',
|
||||
'categories' => 'Categories',
|
||||
'images' => 'Images',
|
||||
'inventories' => 'Inventories',
|
||||
'variations' => 'Variations',
|
||||
'downloadable' => 'Downloadable Information',
|
||||
'links' => 'Links',
|
||||
'add-link-btn-title' => 'Add Link',
|
||||
'samples' => 'Samples',
|
||||
'add-sample-btn-title' => 'Add Sample',
|
||||
'downloads' => 'Download Allowed',
|
||||
'file' => 'File',
|
||||
'sample' => 'Sample',
|
||||
'upload-file' => 'Upload File',
|
||||
'url' => 'Url',
|
||||
'sort-order' => 'Sort Order',
|
||||
'browse-file' => 'Browse File',
|
||||
'product-link' => 'Linked Products',
|
||||
'cross-selling' => 'Cross Selling',
|
||||
'up-selling' => 'Up Selling',
|
||||
'related-products' => 'Related Products',
|
||||
'product-search-hint' => 'Start typing product name',
|
||||
'no-result-found' => 'Products not found with same name.',
|
||||
'searching' => 'Searching ...',
|
||||
'grouped-products' => 'Grouped Products',
|
||||
'search-products' => 'Search Products',
|
||||
'channel' => 'Channels',
|
||||
'bundle-items' => 'Bundle Items',
|
||||
'add-option-btn-title' => 'Add Option',
|
||||
'option-title' => 'Option Title',
|
||||
'input-type' => 'Input Type',
|
||||
'is-required' => 'Is Required',
|
||||
'select' => 'Select',
|
||||
'radio' => 'Radio',
|
||||
'checkbox' => 'Checkbox',
|
||||
'multiselect' => 'Multiselect',
|
||||
'new-option' => 'New Option',
|
||||
'is-default' => 'Is Default',
|
||||
'customer-group' => 'Customer Group',
|
||||
'add-group-price' => 'Add Customer Group Price',
|
||||
'all-group' => 'All Groups',
|
||||
'fixed' => 'Fixed',
|
||||
'discount' => 'Discount',
|
||||
'remove-image-btn-title' => 'Remove Image',
|
||||
'videos' => 'Videos',
|
||||
'video' => 'Video',
|
||||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'title' => 'Products',
|
||||
'add-product-btn-title' => 'Add Product',
|
||||
'add-title' => 'Add Product',
|
||||
'edit-title' => 'Edit Product',
|
||||
'save-btn-title' => 'Save Product',
|
||||
'general' => 'General',
|
||||
'product-type' => 'Product Type',
|
||||
'simple' => 'Simple',
|
||||
'configurable' => 'Configurable',
|
||||
'familiy' => 'Attribute Family',
|
||||
'sku' => 'SKU',
|
||||
'configurable-attributes' => 'Configurable Attributes',
|
||||
'attribute-header' => 'Attribute(s)',
|
||||
'attribute-option-header' => 'Attribute Option(s)',
|
||||
'no' => 'No',
|
||||
'yes' => 'Yes',
|
||||
'disabled' => 'Disabled',
|
||||
'enabled' => 'Enabled',
|
||||
'add-variant-btn-title' => 'Add Variant',
|
||||
'name' => 'Name',
|
||||
'qty' => 'Qty',
|
||||
'price' => 'Price',
|
||||
'weight' => 'Weight',
|
||||
'status' => 'Status',
|
||||
'add-variant-title' => 'Add Variant',
|
||||
'add-image-btn-title' => 'Add Image',
|
||||
'mass-delete-success' => 'All the selected products have been deleted successfully',
|
||||
'mass-update-success' => 'All the selected products have been updated successfully',
|
||||
'configurable-error' => 'Please select atleast one configurable attribute.',
|
||||
'categories' => 'Categories',
|
||||
'images' => 'Images',
|
||||
'inventories' => 'Inventories',
|
||||
'variations' => 'Variations',
|
||||
'downloadable' => 'Downloadable Information',
|
||||
'links' => 'Links',
|
||||
'add-link-btn-title' => 'Add Link',
|
||||
'samples' => 'Samples',
|
||||
'add-sample-btn-title' => 'Add Sample',
|
||||
'downloads' => 'Download Allowed',
|
||||
'file' => 'File',
|
||||
'sample' => 'Sample',
|
||||
'upload-file' => 'Upload File',
|
||||
'url' => 'Url',
|
||||
'sort-order' => 'Sort Order',
|
||||
'browse-file' => 'Browse File',
|
||||
'product-link' => 'Linked Products',
|
||||
'cross-selling' => 'Cross Selling',
|
||||
'up-selling' => 'Up Selling',
|
||||
'related-products' => 'Related Products',
|
||||
'product-search-hint' => 'Start typing product name',
|
||||
'no-result-found' => 'Products not found with same name.',
|
||||
'searching' => 'Searching ...',
|
||||
'grouped-products' => 'Grouped Products',
|
||||
'search-products' => 'Search Products',
|
||||
'channel' => 'Channels',
|
||||
'bundle-items' => 'Bundle Items',
|
||||
'add-option-btn-title' => 'Add Option',
|
||||
'option-title' => 'Option Title',
|
||||
'input-type' => 'Input Type',
|
||||
'is-required' => 'Is Required',
|
||||
'select' => 'Select',
|
||||
'radio' => 'Radio',
|
||||
'checkbox' => 'Checkbox',
|
||||
'multiselect' => 'Multiselect',
|
||||
'new-option' => 'New Option',
|
||||
'is-default' => 'Is Default',
|
||||
'customer-group' => 'Customer Group',
|
||||
'add-group-price' => 'Add Customer Group Price',
|
||||
'all-group' => 'All Groups',
|
||||
'fixed' => 'Fixed',
|
||||
'discount' => 'Discount',
|
||||
'remove-image-btn-title' => 'Remove Image',
|
||||
'videos' => 'Videos',
|
||||
'video' => 'Video',
|
||||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'variant-already-exist-message' => 'Variant with same attribute options already exists.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -592,6 +592,9 @@ return [
|
|||
'add-video-btn-title' => 'Agregar Video',
|
||||
'remove-video-btn-title' => 'Remover Video',
|
||||
'not-support-video' => 'Su navegador no soporta la etiqueta video.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -581,6 +581,9 @@ return [
|
|||
'add-video-btn-title' => 'اضافه کردن فیلم',
|
||||
'remove-video-btn-title' => 'حذف فیلم',
|
||||
'not-support-video' => 'مرورگر شما تگ ویدیو را پشتیبانی نمی کند',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -591,6 +591,9 @@ return [
|
|||
'remove-video-btn-title' => 'Supprimer la vidéo',
|
||||
'not-support-video' => 'Votre navigateur ne prend pas en charge la balise vidéo.',
|
||||
'variant-already-exist-message' => 'Une variante avec les mêmes options d\'attribut existe déjà.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -581,6 +581,9 @@ return [
|
|||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -577,6 +577,9 @@ return [
|
|||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -579,6 +579,9 @@ return [
|
|||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -578,6 +578,9 @@ return [
|
|||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -574,6 +574,9 @@ return [
|
|||
'add-video-btn-title' => 'Add Video',
|
||||
'remove-video-btn-title' => 'Remove Video',
|
||||
'not-support-video' => 'Your browser does not support the video tag.',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'saved-inventory-message' => 'Product inventory saved successfully.',
|
||||
],
|
||||
|
||||
'attributes' => [
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
</div>
|
||||
@endforeach
|
||||
|
||||
<button class="btn btn-primary" onclick="saveEditQuantityForm('{{ route('admin.catalog.products.update-inventories', $product->id) }}', '{{ $product->id }}')">Save</button>
|
||||
<button class="btn btn-danger" onclick="cancelEditQuantityForm('{{ $product->id }}')">Cancel</button>
|
||||
<button class="btn btn-primary" onclick="saveEditQuantityForm('{{ route('admin.catalog.products.update-inventories', $product->id) }}', '{{ $product->id }}')">{{ __('admin::app.catalog.products.save') }}</button>
|
||||
<button class="btn btn-danger" onclick="cancelEditQuantityForm('{{ $product->id }}')">{{ __('admin::app.catalog.products.cancel') }}</button>
|
||||
</form>
|
||||
</span>
|
||||
|
|
@ -262,7 +262,7 @@ class ProductController extends Controller
|
|||
$this->productInventoryRepository->saveInventories(request()->all(), $product);
|
||||
|
||||
return response()->json([
|
||||
'message' => 'Product inventory saved successfully.',
|
||||
'message' => __('admin::app.catalog.products.saved-inventory-message'),
|
||||
'updatedTotal' => $this->productInventoryRepository->where('product_id', $product->id)->sum('qty')
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue