added error message and translation for the same.
This commit is contained in:
parent
90e7d258be
commit
3be901147d
|
|
@ -48,6 +48,8 @@ class ProductsCategoriesProxyController extends Controller
|
|||
$customer = auth()->guard('customer')->user();
|
||||
|
||||
return view($this->_config['product_view'], compact('product', 'customer'));
|
||||
} else {
|
||||
session()->flash('warning', trans('shop::app.common.product-individual-view-inactive'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'حدث خطأ. الرجاء المحاولة لاحقاً.',
|
||||
'image-upload-limit' => 'أقصى حجم لتحميل الصورة هو 2 ميغا بايت',
|
||||
'no-result-found' => 'لا توجد نتائج.',
|
||||
'product-individual-view-inactive' => 'المنتج غير متوفر للعرض بشكل فردي',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'কিছু ভুল হয়েছে। পরে আবার চেষ্টা করুন.',
|
||||
'image-upload-limit' => 'ছবির সর্বোচ্চ আপলোড সাইজ 2MB',
|
||||
'no-result-found' => 'আমরা কোনো রেকর্ড খুঁজে পাইনি।',
|
||||
'product-individual-view-inactive' => 'পণ্য পৃথকভাবে দেখার জন্য উপলব্ধ নয়',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.',
|
||||
'image-upload-limit' => 'Die maximale Upload-Größe des Bildes beträgt 2 MB',
|
||||
'no-result-found' => 'Wir konnten keine Aufzeichnungen finden.',
|
||||
'product-individual-view-inactive' => 'Das Produkt kann nicht einzeln angezeigt werden',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Something went wrong, please try again later.',
|
||||
'image-upload-limit' => 'Image max upload size is 2MB',
|
||||
'no-result-found' => 'We could not find any records.',
|
||||
'product-individual-view-inactive' => 'Product is not available to view individually',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Algo ha ido mal, por favor prueba más tarde.',
|
||||
'image-upload-limit' => 'El tamaño máximo de carga de la imagen es de 2 MB',
|
||||
'no-result-found' => 'No pudimos encontrar ningún registro.',
|
||||
'product-individual-view-inactive' => 'El producto no está disponible para verlo individualmente',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ return [
|
|||
'error' => 'مشکلی رخ داده است. لطفا بعدا دوباره امتحان کنید.',
|
||||
'image-upload-limit' => 'حداکثر اندازه بارگذاری تصویر 2 مگابایت است',
|
||||
'no-result-found' => 'ما هیچ سابقه ای پیدا نکردیم.',
|
||||
'product-individual-view-inactive' => 'محصول برای مشاهده به صورت جداگانه در دسترس نیست',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Quelque chose c\'est mal passé. Merci d\'essayer plus tard.',
|
||||
'image-upload-limit' => 'La taille maximale de téléchargement de l\'image est de 2 Mo',
|
||||
'no-result-found' => 'Nous n\'avons pu trouver aucun enregistrement.',
|
||||
'product-individual-view-inactive' => 'Le produit n\'est pas disponible pour être vu individuellement',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' =>'משהו השתבש, אנא נסה שוב מאוחר יותר.',
|
||||
'image-upload-limit' => 'גודל העלאת התמונה המקסימלי הוא 2MB',
|
||||
'no-result-found' => 'לא הצלחנו למצוא רשומות',
|
||||
'product-individual-view-inactive' => 'המוצר אינו זמין לצפייה בנפרד',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'कुछ गलत हो गया है। कृपया बाद में दोबारा प्रयास करें।',
|
||||
'image-upload-limit' => 'छवि अधिकतम अपलोड आकार 2MB है',
|
||||
'no-result-found' => 'हमें कोई रिकॉर्ड नहीं मिला।',
|
||||
'product-individual-view-inactive' => 'उत्पाद व्यक्तिगत रूप से देखने के लिए उपलब्ध नहीं है',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Qualcosa è andato storto, per favore prova ancora più tardi.',
|
||||
'image-upload-limit' => 'La dimensione massima di caricamento dell\'immagine è 2 MB',
|
||||
'no-result-found' => 'Non abbiamo trovato risultati.',
|
||||
'product-individual-view-inactive' => 'Il prodotto non è disponibile per la visualizzazione singolarmente',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return [
|
|||
'common' => [
|
||||
'error' => 'エラーが発生しました。しばらく待ってから、再度アクセスしてください。',
|
||||
'image-upload-limit' => '画像の最大アップロードサイズは2MBです',
|
||||
'product-individual-view-inactive' => '製品を個別に表示することはできません',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Er is iets misgegaan, probeer het later opnieuw.',
|
||||
'image-upload-limit' => 'De maximale uploadgrootte van de afbeelding is 2 MB',
|
||||
'no-result-found' => 'We hebben geen records kunnen vinden.',
|
||||
'product-individual-view-inactive' => 'Product is niet afzonderlijk te bekijken',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Coś poszło nie tak. Proszę spróbować później.',
|
||||
'image-upload-limit' => 'Maksymalny rozmiar przesyłanego obrazu to 2 MB',
|
||||
'no-result-found' => 'Nie znaleźliśmy żadnych zapisów.',
|
||||
'product-individual-view-inactive' => 'Produkt nie jest dostępny do obejrzenia pojedynczo',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Algo deu errado, por favor, tente novamente mais tarde.',
|
||||
'image-upload-limit' => 'O tamanho máximo de upload da imagem é 2 MB',
|
||||
'no-result-found' => 'We could not find any records.',
|
||||
'product-individual-view-inactive' => 'Product is not available to view individually',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Что-то пошло не так. Пожалуйста, повторите попытку позже.',
|
||||
'image-upload-limit' => 'Максимальный размер загружаемого изображения – 2 МБ',
|
||||
'no-result-found' => 'Нам не удалось найти никаких записей.',
|
||||
'product-individual-view-inactive' => 'Товар недоступен для просмотра по отдельности',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'යම් දෙයක් වැරදී ඇත, කරුණාකර පසුව නැවත උත්සාහ කරන්න.',
|
||||
'image-upload-limit' => 'පින්තූර උඩුගත කිරීමේ උපරිම ප්රමාණය 2MB',
|
||||
'no-result-found' => 'අපට කිසිදු වාර්තාවක් සොයාගත නොහැකි විය.',
|
||||
'product-individual-view-inactive' => 'නිෂ්පාදනය තනි තනිව බැලීමට නොමැත',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Bir şeyler ters gitti, lütfen tekrar deneyin.',
|
||||
'image-upload-limit' => 'Maksimum resim yükleme boyutu 2 MB',
|
||||
'no-result-found' => 'Kayıt bulunamadı.',
|
||||
'product-individual-view-inactive' => 'Ürün tek tek görüntülenemez',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return [
|
|||
'error' => 'Что-то пошло не так. Пожалуйста, повторите попытку позже.',
|
||||
'image-upload-limit' => 'Максимальный размер загружаемого изображения – 2 МБ',
|
||||
'no-result-found' => 'Нам не удалось найти никаких записей.',
|
||||
'product-individual-view-inactive' => 'Товар недоступний для перегляду окремо',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ return [
|
|||
'common' => [
|
||||
'error' => '发生错误。请稍后再试.',
|
||||
'image-upload-limit' => '图片最大上传大小为2MB',
|
||||
'no-result-found' => '我们找不到任何记录.'
|
||||
'no-result-found' => '我们找不到任何记录.',
|
||||
'product-individual-view-inactive' => '產品無法單獨查看',
|
||||
],
|
||||
|
||||
'home' => [
|
||||
|
|
|
|||
Loading…
Reference in New Issue