diff --git a/addons/default/visiosoft/advs-module/migrations/2020_10_15_130044_visiosoft.module.advs__create_productoptions_stream.php b/addons/default/visiosoft/advs-module/migrations/2020_10_15_130044_visiosoft.module.advs__create_productoptions_stream.php new file mode 100644 index 000000000..2961bbc3c --- /dev/null +++ b/addons/default/visiosoft/advs-module/migrations/2020_10_15_130044_visiosoft.module.advs__create_productoptions_stream.php @@ -0,0 +1,52 @@ + [ + 'type' => 'anomaly.field_type.select', + 'config' => [ + 'handler' => 'Visiosoft\AdvsModule\OptionHandler\CategoriesOptions@handle' + ] + ], + ]; + /** + * The stream definition. + * + * @var array + */ + protected $stream = [ + 'slug' => 'productoptions', + 'title_column' => 'name', + 'translatable' => true, + 'versionable' => false, + 'trashable' => true, + 'searchable' => false, + 'sortable' => false, + ]; + + /** + * The stream assignments. + * + * @var array + */ + protected $assignments = [ + 'category', + 'name' => [ + 'translatable' => true, + 'required' => true, + ], + ]; +} diff --git a/addons/default/visiosoft/advs-module/migrations/2020_10_15_131614_visiosoft.module.advs__create_productoptions_value_stream.php b/addons/default/visiosoft/advs-module/migrations/2020_10_15_131614_visiosoft.module.advs__create_productoptions_value_stream.php new file mode 100644 index 000000000..47fff9601 --- /dev/null +++ b/addons/default/visiosoft/advs-module/migrations/2020_10_15_131614_visiosoft.module.advs__create_productoptions_value_stream.php @@ -0,0 +1,56 @@ + [ + 'type' => 'anomaly.field_type.relationship', + 'config' => [ + 'related' => ProductoptionModel::class, + ], + ] + ]; + + /** + * The stream definition. + * + * @var array + */ + protected $stream = [ + 'slug' => 'productoptions_value', + 'title_column' => 'name', + 'translatable' => true, + 'versionable' => false, + 'trashable' => true, + 'searchable' => false, + 'sortable' => false, + ]; + + /** + * The stream assignments. + * + * @var array + */ + protected $assignments = [ + 'name' => [ + 'translatable' => true, + 'required' => true, + ], + 'product_option' => [ + 'required' => true, + ], + ]; +} diff --git a/addons/default/visiosoft/advs-module/migrations/2020_10_16_082339_visiosoft.module.advs__added_options_field.php b/addons/default/visiosoft/advs-module/migrations/2020_10_16_082339_visiosoft.module.advs__added_options_field.php new file mode 100644 index 000000000..d00e201c7 --- /dev/null +++ b/addons/default/visiosoft/advs-module/migrations/2020_10_16_082339_visiosoft.module.advs__added_options_field.php @@ -0,0 +1,48 @@ + 'advs', + ]; + + /** + * The addon fields. + * + * @var array + */ + protected $fields = [ + 'product_options_value' => [ + 'type' => 'anomaly.field_type.multiple', + 'config' => [ + 'mode' => 'lookup', + 'related' => \Visiosoft\AdvsModule\ProductoptionsValue\ProductoptionsValueModel::class, + ], + ] + ]; + + /** + * The field's assignment. + * + * @var array + */ + protected $assignments = [ + 'product_options_value', + ]; +} diff --git a/addons/default/visiosoft/advs-module/migrations/2020_10_16_124151_visiosoft.module.advs__create_option_configuration_stream.php b/addons/default/visiosoft/advs-module/migrations/2020_10_16_124151_visiosoft.module.advs__create_option_configuration_stream.php new file mode 100644 index 000000000..456ec6a8c --- /dev/null +++ b/addons/default/visiosoft/advs-module/migrations/2020_10_16_124151_visiosoft.module.advs__create_option_configuration_stream.php @@ -0,0 +1,59 @@ + 'visiosoft.field_type.json', + ]; + + /** + * The stream definition. + * + * @var array + */ + protected $stream = [ + 'slug' => 'option_configuration', + 'title_column' => 'option_json', + 'translatable' => false, + 'versionable' => false, + 'trashable' => false, + 'searchable' => false, + 'sortable' => false, + ]; + + /** + * The stream assignments. + * + * @var array + */ + protected $assignments = [ + 'parent_adv' => [ + 'required' => true, + ], + 'price' => [ + 'required' => true, + ], + 'currency' => [ + 'required' => true, + ], + 'stock' => [ + 'required' => true, + ], + 'option_json' => [ + 'required' => true, + 'unique' => true, + ], + ]; + +} diff --git a/addons/default/visiosoft/advs-module/migrations/2020_10_21_061025_visiosoft.module.advs__create_old_price_field.php b/addons/default/visiosoft/advs-module/migrations/2020_10_21_061025_visiosoft.module.advs__create_old_price_field.php new file mode 100644 index 000000000..f559bed8e --- /dev/null +++ b/addons/default/visiosoft/advs-module/migrations/2020_10_21_061025_visiosoft.module.advs__create_old_price_field.php @@ -0,0 +1,27 @@ + 'advs', + ]; + + protected $fields = [ + 'old_price' => [ + 'type' => 'visiosoft.field_type.decimal', + 'config' => [ + 'decimal' => 2, + 'separator' => '.', + 'point' => ',' + ], + ], + ]; + + protected $assignments = [ + 'old_price' + ]; +} diff --git a/addons/default/visiosoft/advs-module/resources/config/permissions.php b/addons/default/visiosoft/advs-module/resources/config/permissions.php index eae0b67cd..cead467e5 100644 --- a/addons/default/visiosoft/advs-module/resources/config/permissions.php +++ b/addons/default/visiosoft/advs-module/resources/config/permissions.php @@ -21,4 +21,29 @@ return [ 'write', 'delete', ], + 'productoptions' => [ + 'read', + 'write', + 'delete', + ], + 'productoptions_value' => [ + 'read', + 'write', + 'delete', + ], + 'options_configuration' => [ + 'read', + 'write', + 'delete', + ], + 'option_configuration' => [ + 'read', + 'write', + 'delete', + ], + 'option_configuration' => [ + 'read', + 'write', + 'delete', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/css/list.css b/addons/default/visiosoft/advs-module/resources/css/list.css index cc6bb4d82..cc9d284f0 100644 --- a/addons/default/visiosoft/advs-module/resources/css/list.css +++ b/addons/default/visiosoft/advs-module/resources/css/list.css @@ -200,6 +200,10 @@ a.sort-by-open-dropdown:hover { color: #8598AA; } +.list-view-type button { + background-color: unset; +} + .list-view-type button:focus { outline: none; } diff --git a/addons/default/visiosoft/advs-module/resources/js/settings.js b/addons/default/visiosoft/advs-module/resources/js/settings.js index 119d656dd..14817b7b4 100644 --- a/addons/default/visiosoft/advs-module/resources/js/settings.js +++ b/addons/default/visiosoft/advs-module/resources/js/settings.js @@ -1,13 +1,21 @@ // Hide watermark_image by default -$(".watermark_image").hide(); +const watermarkType = $("select[name='watermark_type']") +const watermarkText = $(".watermark_text") +const watermarkImage = $(".watermark_image") -$("select[name='watermark_type']").change((event) => { - let watermarkType = event.target.value; - if (watermarkType === 'text') { - $(".watermark_image").hide(); - $(".watermark_text").show() +if (watermarkType.val() === 'text') { + watermarkImage.hide(); +} else { + watermarkText.hide(); +} + +$(watermarkType).change((event) => { + const watermarkTypeValue = event.target.value; + if (watermarkTypeValue === 'text') { + watermarkImage.hide(); + watermarkText.show() } else if (event.target.value === 'image') { - $(".watermark_image").show(); - $(".watermark_text").hide() + watermarkImage.show(); + watermarkText.hide() } }); \ No newline at end of file diff --git a/addons/default/visiosoft/advs-module/resources/lang/ar/button.php b/addons/default/visiosoft/advs-module/resources/lang/ar/button.php index 619791e2c..48e15c7a6 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ar/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ar/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'تحديث الفئة' ], 'new_option' => 'خيار جديد', + 'export' => 'تصدير' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ar/field.php b/addons/default/visiosoft/advs-module/resources/lang/ar/field.php index e9700e6ad..76f2ec990 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ar/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ar/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'و ما فوق', 'and_below' => 'و تحت', 'clear_all' => 'امسح الكل', + 'balances' => 'الرصيد', + 'packages' => 'الحزمة', + 'dopings' => 'المنشطات', + 'advs' => 'Advs', + 'site' => 'الموقع', + 'subscription' => 'اشتراك', + 'created' => 'خلقت', + 'old_price' => [ + 'name' => 'سعر قديم' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ar/section.php b/addons/default/visiosoft/advs-module/resources/lang/ar/section.php index de00453e2..ee6dd29b9 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ar/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ar/section.php @@ -39,9 +39,10 @@ return [ ], 'general' => 'جنرال لواء', 'ads' => 'إعلانات', - 'user' => 'المستعمل', + 'user' => 'العضو', 'filter' => 'منقي', 'options' => [ 'title' => 'خيارات', ], + 'ads_image' => 'صورة الإعلانات', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ar/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ar/setting.php index 1155381e9..cee207ae4 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ar/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ar/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'الإعلان الافتراضي', ], - 'add_canvas' => [ - 'name' => 'أضف قماش', - ], - 'thumbnail_width' => [ - 'name' => 'عرض الصورة المصغرة', - ], - 'thumbnail_height' => [ - 'name' => 'ارتفاع الصورة المصغرة', - ], - 'picture_width' => [ - 'name' => 'عرض الصورة', - ], - 'picture_height' => [ - 'name' => 'ارتفاع الصورة', - ], 'twitter' => [ 'name' => 'تغريد', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'جوجل', ], - 'watermark_type' => [ - 'name' => 'نوع العلامة المائية', - ], - 'watermark_text' => [ - 'name' => 'نص العلامة المائية', - ], - 'watermark_image' => [ - 'name' => 'صورة العلامة المائية', - ], - 'watermark_position' => [ - 'name' => 'موقف العلامة المائية', - ], 'listing_page_image' => [ 'name' => 'سرد صورة الصفحة', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'حد الإعلانات الشعبية', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'تغيير حجم الصورة الخلفية', + ], + 'full_image_width' => [ + 'name' => 'Full Image Width', + ], + 'full_image_height' => [ + 'name' => 'ارتفاع الصورة الكاملة', + ], + 'medium_image_width' => [ + 'name' => 'Medium Image Width', + ], + 'medium_image_height' => [ + 'name' => 'متوسط ارتفاع الصورة', + ], + 'thumbnail_width' => [ + 'name' => 'عرض الصورة المصغرة', + ], + 'thumbnail_height' => [ + 'name' => 'ارتفاع الصورة المصغرة', + ], + 'add_canvas' => [ + 'name' => 'أضف قماش', + ], + 'image_canvas_width' => [ + 'name' => 'عرض قماش الصورة', + ], + 'image_canvas_height' => [ + 'name' => 'ارتفاع قماش الصورة', + ], + 'watermark_type' => [ + 'name' => 'نوع العلامة المائية', + ], + 'watermark_text' => [ + 'name' => 'نص العلامة المائية', + ], + 'watermark_image' => [ + 'name' => 'صورة العلامة المائية', + ], + 'watermark_position' => [ + 'name' => 'موقف العلامة المائية', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/az/button.php b/addons/default/visiosoft/advs-module/resources/lang/az/button.php index 2b2b78363..d3d3d0609 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/az/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/az/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Kateqoriya yeniləyin' ], 'new_option' => 'Yeni Seçim', + 'export' => 'İxrac' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/az/field.php b/addons/default/visiosoft/advs-module/resources/lang/az/field.php index 15e855630..401ee36bc 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/az/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/az/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'və yuxarıda', 'and_below' => 'və aşağıda', 'clear_all' => 'Hamısını sil, hamısını təmizlə', + 'balances' => 'Qalıqlar', + 'packages' => 'Paketlər', + 'dopings' => 'Dopinqlər', + 'advs' => 'Advs', + 'site' => 'Sayt', + 'subscription' => 'Abunə', + 'created' => 'Yarandı', + 'old_price' => [ + 'name' => 'Köhnə Qiymət' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/az/section.php b/addons/default/visiosoft/advs-module/resources/lang/az/section.php index 7520a0921..1b9870d8d 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/az/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/az/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Seçimlər', ], + 'ads_image' => 'Reklamlar şəkli', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/az/setting.php b/addons/default/visiosoft/advs-module/resources/lang/az/setting.php index 3d1b95d1e..6321f842a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/az/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/az/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Defolt Elan GET', ], - 'add_canvas' => [ - 'name' => 'Kətan əlavə edin', - ], - 'thumbnail_width' => [ - 'name' => 'Eskiz eni', - ], - 'thumbnail_height' => [ - 'name' => 'Eskiz hündürlüyü', - ], - 'picture_width' => [ - 'name' => 'Şəkil genişliyi', - ], - 'picture_height' => [ - 'name' => 'Şəkil Boyu', - ], 'twitter' => [ 'name' => 'Twitter', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Su nişanının növü', - ], - 'watermark_text' => [ - 'name' => 'Su nişanı Mətn', - ], - 'watermark_image' => [ - 'name' => 'Su nişanı şəkli', - ], - 'watermark_position' => [ - 'name' => 'Su nişanının mövqeyi', - ], 'listing_page_image' => [ 'name' => 'Səhifənin görüntüləməsi', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Populyar elanlar limiti', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Image Resize Backend', + ], + 'full_image_width' => [ + 'name' => 'Tam şəkil genişliyi', + ], + 'full_image_height' => [ + 'name' => 'Tam şəkil boyu', + ], + 'medium_image_width' => [ + 'name' => 'Orta şəkil genişliyi', + ], + 'medium_image_height' => [ + 'name' => 'Orta şəkil boyu', + ], + 'thumbnail_width' => [ + 'name' => 'Eskiz eni', + ], + 'thumbnail_height' => [ + 'name' => 'Eskiz hündürlüyü', + ], + 'add_canvas' => [ + 'name' => 'Kətan əlavə edin', + ], + 'image_canvas_width' => [ + 'name' => 'Şəkil kətan eni', + ], + 'image_canvas_height' => [ + 'name' => 'Şəkil kətan hündürlüyü', + ], + 'watermark_type' => [ + 'name' => 'Su nişanının növü', + ], + 'watermark_text' => [ + 'name' => 'Su nişanı Mətn', + ], + 'watermark_image' => [ + 'name' => 'Su nişanı şəkli', + ], + 'watermark_position' => [ + 'name' => 'Su nişanının mövqeyi', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/bn/button.php b/addons/default/visiosoft/advs-module/resources/lang/bn/button.php index 0eb42cdbf..507b20b1e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/bn/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/bn/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'আপডেট বিভাগ' ], 'new_option' => 'নতুন বিকল্প', + 'export' => 'রফতানি' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/bn/field.php b/addons/default/visiosoft/advs-module/resources/lang/bn/field.php index daac50ac7..aa268613f 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/bn/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/bn/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'এবং উপরে', 'and_below' => 'এবং নিচে', 'clear_all' => 'সব পরিষ্কার করে দাও', + 'balances' => 'ব্যালেন্স', + 'packages' => 'প্যাকেজগুলি', + 'dopings' => 'ডোপিংস', + 'advs' => 'অ্যাড', + 'site' => 'সাইট', + 'subscription' => 'সাবস্ক্রিপশন', + 'created' => 'তৈরি হয়েছে', + 'old_price' => [ + 'name' => 'পুরাতন মূল্য' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/bn/section.php b/addons/default/visiosoft/advs-module/resources/lang/bn/section.php index 140708046..610813794 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/bn/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/bn/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'বিকল্পগুলি', ], + 'ads_image' => 'বিজ্ঞাপন চিত্র', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/bn/setting.php b/addons/default/visiosoft/advs-module/resources/lang/bn/setting.php index 8c2d1e888..03ebdfa37 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/bn/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/bn/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'ডিফল্ট বিজ্ঞাপন জিইটি', ], - 'add_canvas' => [ - 'name' => 'ক্যানভাস যুক্ত করুন', - ], - 'thumbnail_width' => [ - 'name' => 'থাম্বনেইল প্রস্থ', - ], - 'thumbnail_height' => [ - 'name' => 'থাম্বনেইল উচ্চতা', - ], - 'picture_width' => [ - 'name' => 'চিত্র প্রস্থ', - ], - 'picture_height' => [ - 'name' => 'চিত্র উচ্চতা', - ], 'twitter' => [ 'name' => 'টুইটার', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'গুগল', ], - 'watermark_type' => [ - 'name' => 'ওয়াটারমার্ক টাইপ', - ], - 'watermark_text' => [ - 'name' => 'জলছবি পাঠ্য', - ], - 'watermark_image' => [ - 'name' => 'জলছবি ইমেজ', - ], - 'watermark_position' => [ - 'name' => 'জলছবি অবস্থান', - ], 'listing_page_image' => [ 'name' => 'পৃষ্ঠার চিত্র তালিকাভুক্ত', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'জনপ্রিয় বিজ্ঞাপন সীমাবদ্ধতা', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'চিত্র পুনরায় আকার ব্যাকএন্ড', + ], + 'full_image_width' => [ + 'name' => 'পূর্ণ চিত্র প্রস্থ', + ], + 'full_image_height' => [ + 'name' => 'পূর্ণ চিত্র উচ্চতা', + ], + 'medium_image_width' => [ + 'name' => 'মাঝারি চিত্র প্রস্থ', + ], + 'medium_image_height' => [ + 'name' => 'মাঝারি চিত্র উচ্চতা', + ], + 'thumbnail_width' => [ + 'name' => 'থাম্বনেইল প্রস্থ', + ], + 'thumbnail_height' => [ + 'name' => 'থাম্বনেইল উচ্চতা', + ], + 'add_canvas' => [ + 'name' => 'ক্যানভাস যুক্ত করুন', + ], + 'image_canvas_width' => [ + 'name' => 'চিত্র ক্যানভাস প্রস্থ', + ], + 'image_canvas_height' => [ + 'name' => 'চিত্র ক্যানভাস উচ্চতা', + ], + 'watermark_type' => [ + 'name' => 'ওয়াটারমার্ক টাইপ', + ], + 'watermark_text' => [ + 'name' => 'জলছবি পাঠ্য', + ], + 'watermark_image' => [ + 'name' => 'জলছবি ইমেজ', + ], + 'watermark_position' => [ + 'name' => 'জলছবি অবস্থান', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/de/button.php b/addons/default/visiosoft/advs-module/resources/lang/de/button.php index f396f1363..bdff5f8bf 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/de/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/de/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Kategorie aktualisieren' ], 'new_option' => 'Neue Option', + 'export' => 'Export' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/de/field.php b/addons/default/visiosoft/advs-module/resources/lang/de/field.php index ed94fe3fe..547cef5eb 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/de/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/de/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'und darüber', 'and_below' => 'und darunter', 'clear_all' => 'Alles löschen', + 'balances' => 'Guthaben', + 'packages' => 'Pakete', + 'dopings' => 'Dopings', + 'advs' => 'Advs', + 'site' => 'Seite? ˅', + 'subscription' => 'Abonnement', + 'created' => 'Erstellt', + 'old_price' => [ + 'name' => 'Alter Preis' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/de/section.php b/addons/default/visiosoft/advs-module/resources/lang/de/section.php index 088484cc8..9ace3ae91 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/de/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/de/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Optionen', ], + 'ads_image' => 'Anzeigenbild', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/de/setting.php b/addons/default/visiosoft/advs-module/resources/lang/de/setting.php index f5da68417..9d26feaab 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/de/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/de/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Standardanzeige GET', ], - 'add_canvas' => [ - 'name' => 'Leinwand hinzufügen', - ], - 'thumbnail_width' => [ - 'name' => 'Miniaturbildbreite', - ], - 'thumbnail_height' => [ - 'name' => 'Miniaturbildhöhe', - ], - 'picture_width' => [ - 'name' => 'Bildbreite', - ], - 'picture_height' => [ - 'name' => 'Bildhöhe', - ], 'twitter' => [ 'name' => 'Twitter', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Wasserzeichentyp', - ], - 'watermark_text' => [ - 'name' => 'Wasserzeichentext', - ], - 'watermark_image' => [ - 'name' => 'Wasserzeichen Bild', - ], - 'watermark_position' => [ - 'name' => 'Wasserzeichen Position', - ], 'listing_page_image' => [ 'name' => 'Listing Page Image', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Beliebtes Anzeigenlimit', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Bildgröße Backend ändern', + ], + 'full_image_width' => [ + 'name' => 'Volle Bildbreite', + ], + 'full_image_height' => [ + 'name' => 'Vollbildhöhe', + ], + 'medium_image_width' => [ + 'name' => 'Mittlere Bildbreite', + ], + 'medium_image_height' => [ + 'name' => 'Mittlere Bildhöhe', + ], + 'thumbnail_width' => [ + 'name' => 'Miniaturbildbreite', + ], + 'thumbnail_height' => [ + 'name' => 'Miniaturbildhöhe', + ], + 'add_canvas' => [ + 'name' => 'Leinwand hinzufügen', + ], + 'image_canvas_width' => [ + 'name' => 'Bild Leinwandbreite', + ], + 'image_canvas_height' => [ + 'name' => 'Bild Leinwand Höhe', + ], + 'watermark_type' => [ + 'name' => 'Wasserzeichentyp', + ], + 'watermark_text' => [ + 'name' => 'Wasserzeichentext', + ], + 'watermark_image' => [ + 'name' => 'Wasserzeichen Bild', + ], + 'watermark_position' => [ + 'name' => 'Wasserzeichen Position', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/el/button.php b/addons/default/visiosoft/advs-module/resources/lang/el/button.php index 9f8e6dda7..2d57a0c0a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/el/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/el/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Ενημέρωση κατηγορίας' ], 'new_option' => 'Νέα επιλογή', + 'export' => 'Εξαγωγή' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/el/field.php b/addons/default/visiosoft/advs-module/resources/lang/el/field.php index 1a6ee9765..8765550a7 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/el/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/el/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'και παραπανω', 'and_below' => 'και παρακάτω', 'clear_all' => 'Τα καθαρίζω όλα', + 'balances' => 'Υπόλοιπα', + 'packages' => 'Πακέτα', + 'dopings' => 'Ντόπινγκ', + 'advs' => 'Advs', + 'site' => 'Ιστοσελίδα', + 'subscription' => 'Συνδρομή', + 'created' => 'Δημιουργήθηκε', + 'old_price' => [ + 'name' => 'Παλιά τιμή' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/el/section.php b/addons/default/visiosoft/advs-module/resources/lang/el/section.php index adbd65a96..a1121a250 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/el/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/el/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Επιλογές', ], + 'ads_image' => 'Εικόνα διαφημίσεων', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/el/setting.php b/addons/default/visiosoft/advs-module/resources/lang/el/setting.php index e257cf308..5d16cf2ca 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/el/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/el/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Προεπιλεγμένη διαφήμιση GET', ], - 'add_canvas' => [ - 'name' => 'Προσθήκη καμβά', - ], - 'thumbnail_width' => [ - 'name' => 'Πλάτος μικρογραφιών', - ], - 'thumbnail_height' => [ - 'name' => 'Ύψος μικρογραφιών', - ], - 'picture_width' => [ - 'name' => 'Πλάτος εικόνας', - ], - 'picture_height' => [ - 'name' => 'Ύψος εικόνας', - ], 'twitter' => [ 'name' => 'Κελάδημα', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Τύπος υδατογραφήματος', - ], - 'watermark_text' => [ - 'name' => 'Κείμενο υδατογράφημα', - ], - 'watermark_image' => [ - 'name' => 'Εικόνα υδατογράφημα', - ], - 'watermark_position' => [ - 'name' => 'Θέση υδατοσήματος', - ], 'listing_page_image' => [ 'name' => 'Λίστα εικόνων σελίδας', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Όριο δημοφιλών διαφημίσεων', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Μέγεθος εικόνας Backend', + ], + 'full_image_width' => [ + 'name' => 'Πλήρες πλάτος εικόνας', + ], + 'full_image_height' => [ + 'name' => 'Ύψος πλήρους εικόνας', + ], + 'medium_image_width' => [ + 'name' => 'Μεσαίο πλάτος εικόνας', + ], + 'medium_image_height' => [ + 'name' => 'Μεσαίο ύψος εικόνας', + ], + 'thumbnail_width' => [ + 'name' => 'Πλάτος μικρογραφιών', + ], + 'thumbnail_height' => [ + 'name' => 'Ύψος μικρογραφιών', + ], + 'add_canvas' => [ + 'name' => 'Προσθήκη καμβά', + ], + 'image_canvas_width' => [ + 'name' => 'Πλάτος καμβά εικόνας', + ], + 'image_canvas_height' => [ + 'name' => 'Ύψος καμβά εικόνας', + ], + 'watermark_type' => [ + 'name' => 'Τύπος υδατογραφήματος', + ], + 'watermark_text' => [ + 'name' => 'Κείμενο υδατογράφημα', + ], + 'watermark_image' => [ + 'name' => 'Εικόνα υδατογράφημα', + ], + 'watermark_position' => [ + 'name' => 'Θέση υδατοσήματος', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/button.php b/addons/default/visiosoft/advs-module/resources/lang/en/button.php index c84a77408..1b49391ae 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/button.php @@ -32,4 +32,11 @@ return [ 'name' => 'Update Category' ], 'new_option' => 'New Option', + 'export' => 'Export', + 'new_productoption' => 'New Productoption', + 'new_productoptions_value' => 'New Productoptions value', + 'new_options_configuration' => 'New Options configuration', + 'new_option_configuration' => 'New Option configuration', + 'new_option_configuration' => 'New Option configuration', + 'create_configurations' => 'Create Configurations', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/field.php b/addons/default/visiosoft/advs-module/resources/lang/en/field.php index fc6f0d4dc..6fd4f4005 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/field.php @@ -137,7 +137,9 @@ return [ 'oldest' => 'Oldest', 'address_a_z' => 'Address (A to Z)', 'address_z_a' => 'Address (Z to A)', - 'categories' => 'Categories', + 'categories' => [ + 'name' => 'Categories' + ], 'all_categories' => 'All Categories', 'location' => 'Location', 'send_message' => 'Send Message', @@ -306,4 +308,20 @@ return [ 'and_above' => 'and above', 'and_below' => 'and below', 'clear_all' => 'Clear All', + 'balances' => 'Balances', + 'packages' => 'Packages', + 'dopings' => 'Dopings', + 'advs' => 'Advs', + 'site' => 'Site', + 'subscription' => 'Subscription', + 'created' => 'Created', + 'product_option' => [ + 'name' => 'Product Option' + ], + 'option_json' => [ + 'name' => 'Option' + ], + 'old_price' => [ + 'name' => 'Old Price' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/permission.php b/addons/default/visiosoft/advs-module/resources/lang/en/permission.php index a75575d96..0a094c9f1 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/permission.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/permission.php @@ -57,4 +57,44 @@ return [ 'delete' => 'Can delete options?', ], ], + 'productoptions' => [ + 'name' => 'Productoptions', + 'option' => [ + 'read' => 'Can read productoptions?', + 'write' => 'Can create/edit productoptions?', + 'delete' => 'Can delete productoptions?', + ], + ], + 'productoptions_value' => [ + 'name' => 'Productoptions value', + 'option' => [ + 'read' => 'Can read productoptions value?', + 'write' => 'Can create/edit productoptions value?', + 'delete' => 'Can delete productoptions value?', + ], + ], + 'options_configuration' => [ + 'name' => 'Options configuration', + 'option' => [ + 'read' => 'Can read options configuration?', + 'write' => 'Can create/edit options configuration?', + 'delete' => 'Can delete options configuration?', + ], + ], + 'option_configuration' => [ + 'name' => 'Option configuration', + 'option' => [ + 'read' => 'Can read option configuration?', + 'write' => 'Can create/edit option configuration?', + 'delete' => 'Can delete option configuration?', + ], + ], + 'option_configuration' => [ + 'name' => 'Option configuration', + 'option' => [ + 'read' => 'Can read option configuration?', + 'write' => 'Can create/edit option configuration?', + 'delete' => 'Can delete option configuration?', + ], + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/section.php b/addons/default/visiosoft/advs-module/resources/lang/en/section.php index b3ebe1995..cdd4948d1 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/section.php @@ -45,4 +45,13 @@ return [ 'title' => 'Options', ], 'ads_image' => 'Ads Image', + 'product_options' => [ + 'title' => 'Options', + ], + 'productoptions_value' => [ + 'title' => 'Options Value', + ], + 'option_configuration' => [ + 'title' => 'Configuration', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/stream.php b/addons/default/visiosoft/advs-module/resources/lang/en/stream.php index 29e720836..761fa569d 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/stream.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/stream.php @@ -22,4 +22,13 @@ return [ 'options' => [ 'name' => 'Options', ], + 'product_options' => [ + 'name' => 'Product Options', + ], + 'productoptions_value' => [ + 'name' => 'Options value', + ], + 'option_configuration' => [ + 'name' => 'Configuration', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/es/button.php b/addons/default/visiosoft/advs-module/resources/lang/es/button.php index 02ae9a86e..f5ccc5cf2 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/es/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/es/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Actualizar categoría' ], 'new_option' => 'Nueva opción', + 'export' => 'Exportar' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/es/field.php b/addons/default/visiosoft/advs-module/resources/lang/es/field.php index e6794e3d7..bf50bef0f 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/es/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/es/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'y por encima', 'and_below' => 'y por debajo', 'clear_all' => 'Limpiar todo', + 'balances' => 'Saldos', + 'packages' => 'Paquetes', + 'dopings' => 'Dopings', + 'advs' => 'Advs', + 'site' => 'Sitio', + 'subscription' => 'Suscripción', + 'created' => 'Creado', + 'old_price' => [ + 'name' => 'Precio anterior' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/es/section.php b/addons/default/visiosoft/advs-module/resources/lang/es/section.php index ed31f945e..575a42471 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/es/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/es/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Opciones', ], + 'ads_image' => 'Imagen de anuncios', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/es/setting.php b/addons/default/visiosoft/advs-module/resources/lang/es/setting.php index 41adca202..3f22d1204 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/es/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/es/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Anuncio predeterminado GET', ], - 'add_canvas' => [ - 'name' => 'Agregar lienzo', - ], - 'thumbnail_width' => [ - 'name' => 'Ancho de miniaturas', - ], - 'thumbnail_height' => [ - 'name' => 'Altura de miniatura', - ], - 'picture_width' => [ - 'name' => 'Ancho de imagen', - ], - 'picture_height' => [ - 'name' => 'Altura de imagen', - ], 'twitter' => [ 'name' => 'Gorjeo', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Tipo de marca de agua', - ], - 'watermark_text' => [ - 'name' => 'Texto de marca de agua', - ], - 'watermark_image' => [ - 'name' => 'Imagen de marca de agua', - ], - 'watermark_position' => [ - 'name' => 'Posición de marca de agua', - ], 'listing_page_image' => [ 'name' => 'Imagen de la página de listado', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Límite de anuncios populares', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Backend de cambio de tamaño de imagen', + ], + 'full_image_width' => [ + 'name' => 'Ancho de imagen completo', + ], + 'full_image_height' => [ + 'name' => 'Altura de imagen completa', + ], + 'medium_image_width' => [ + 'name' => 'Ancho de imagen medio', + ], + 'medium_image_height' => [ + 'name' => 'Altura de imagen media', + ], + 'thumbnail_width' => [ + 'name' => 'Ancho de miniaturas', + ], + 'thumbnail_height' => [ + 'name' => 'Altura de miniatura', + ], + 'add_canvas' => [ + 'name' => 'Agregar lienzo', + ], + 'image_canvas_width' => [ + 'name' => 'Ancho del lienzo de la imagen', + ], + 'image_canvas_height' => [ + 'name' => 'Altura del lienzo de la imagen', + ], + 'watermark_type' => [ + 'name' => 'Tipo de marca de agua', + ], + 'watermark_text' => [ + 'name' => 'Texto de marca de agua', + ], + 'watermark_image' => [ + 'name' => 'Imagen de marca de agua', + ], + 'watermark_position' => [ + 'name' => 'Posición de marca de agua', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fa/button.php b/addons/default/visiosoft/advs-module/resources/lang/fa/button.php index 47ed58fa8..f047c1f03 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fa/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fa/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'رده به روزرسانی' ], 'new_option' => 'گزینه جدید', + 'export' => 'صادرات' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fa/field.php b/addons/default/visiosoft/advs-module/resources/lang/fa/field.php index 24f7a4e22..95588f96a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fa/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fa/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'و بالاتر', 'and_below' => 'و در زیر', 'clear_all' => 'همه را پاک کن', + 'balances' => 'موازنه', + 'packages' => 'بسته ها', + 'dopings' => 'دوپینگ', + 'advs' => 'تبلیغات', + 'site' => 'سایت', + 'subscription' => 'اشتراک، ابونمان', + 'created' => 'ایجاد شده', + 'old_price' => [ + 'name' => 'قیمت قدیمی' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fa/section.php b/addons/default/visiosoft/advs-module/resources/lang/fa/section.php index d119b1281..5ee0f1832 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fa/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fa/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'گزینه ها', ], + 'ads_image' => 'تصویر تبلیغات', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fa/setting.php b/addons/default/visiosoft/advs-module/resources/lang/fa/setting.php index 7ed03eaec..7a33afbfc 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fa/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fa/setting.php @@ -80,21 +80,6 @@ return [ 'default_GET' => [ 'name' => 'تبلیغات پیش فرض GET', ], - 'add_canvas' => [ - 'name' => 'بوم را اضافه کنید', - ], - 'thumbnail_width' => [ - 'name' => 'عرض تصویر', - ], - 'thumbnail_height' => [ - 'name' => 'ارتفاع تصویر بند انگشتی', - ], - 'picture_width' => [ - 'name' => 'عرض تصویر', - ], - 'picture_height' => [ - 'name' => 'ارتفاع تصویر', - ], 'twitter' => [ 'name' => 'توییتر', ], @@ -107,18 +92,6 @@ return [ 'google' => [ 'name' => 'گوگل', ], - 'watermark_type' => [ - 'name' => 'نوع علامت', - ], - 'watermark_text' => [ - 'name' => 'متن علامت', - ], - 'watermark_image' => [ - 'name' => 'تصویر علامت', - ], - 'watermark_position' => [ - 'name' => 'موقعیت علامت سفید', - ], 'listing_page_image' => [ 'name' => 'لیست صفحه تصویر', ], @@ -159,4 +132,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'محدودیت تبلیغات محبوب', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'تغییر اندازه تصویر Backend', + ], + 'full_image_width' => [ + 'name' => 'عرض تصویر کامل', + ], + 'full_image_height' => [ + 'name' => 'ارتفاع تصویر کامل', + ], + 'medium_image_width' => [ + 'name' => 'عرض تصویر متوسط', + ], + 'medium_image_height' => [ + 'name' => 'ارتفاع تصویر متوسط', + ], + 'thumbnail_width' => [ + 'name' => 'عرض تصویر', + ], + 'thumbnail_height' => [ + 'name' => 'ارتفاع تصویر بند انگشتی', + ], + 'add_canvas' => [ + 'name' => 'بوم را اضافه کنید', + ], + 'image_canvas_width' => [ + 'name' => 'عرض بوم تصویر', + ], + 'image_canvas_height' => [ + 'name' => 'ارتفاع بوم تصویر', + ], + 'watermark_type' => [ + 'name' => 'نوع علامت', + ], + 'watermark_text' => [ + 'name' => 'متن علامت', + ], + 'watermark_image' => [ + 'name' => 'تصویر علامت', + ], + 'watermark_position' => [ + 'name' => 'موقعیت علامت سفید', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fr/button.php b/addons/default/visiosoft/advs-module/resources/lang/fr/button.php index 43f94b5d4..a0d77878b 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fr/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fr/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Mettre à jour la catégorie' ], 'new_option' => 'Nouvelle option', + 'export' => 'Exportation' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fr/field.php b/addons/default/visiosoft/advs-module/resources/lang/fr/field.php index 82bb8cffc..599c32431 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fr/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fr/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'et ci-dessus', 'and_below' => 'et plus bas', 'clear_all' => 'Tout effacer', + 'balances' => 'Soldes', + 'packages' => 'Paquets', + 'dopings' => 'Dopage', + 'advs' => 'Advs', + 'site' => 'Site', + 'subscription' => 'Abonnement', + 'created' => 'Créé', + 'old_price' => [ + 'name' => 'Ancien prix' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fr/section.php b/addons/default/visiosoft/advs-module/resources/lang/fr/section.php index 3b5505c45..a88efc582 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fr/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fr/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Options', ], + 'ads_image' => 'Image d\'annonces', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fr/setting.php b/addons/default/visiosoft/advs-module/resources/lang/fr/setting.php index 76e8447b8..349cb8ae3 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fr/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fr/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Annonce par défaut GET', ], - 'add_canvas' => [ - 'name' => 'Ajouter une toile', - ], - 'thumbnail_width' => [ - 'name' => 'Largeur de vignette', - ], - 'thumbnail_height' => [ - 'name' => 'Hauteur de la vignette', - ], - 'picture_width' => [ - 'name' => 'Largeur de l\'image', - ], - 'picture_height' => [ - 'name' => 'Hauteur de l\'image', - ], 'twitter' => [ 'name' => 'Gazouillement', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Type defiligrane', - ], - 'watermark_text' => [ - 'name' => 'Texte en filigrane', - ], - 'watermark_image' => [ - 'name' => 'Image en filigrane', - ], - 'watermark_position' => [ - 'name' => 'Position du filigrane', - ], 'listing_page_image' => [ 'name' => 'Image de page de liste', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Limite des annonces populaires', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Backend de redimensionnement d\'image', + ], + 'full_image_width' => [ + 'name' => 'Largeur totale de l\'image', + ], + 'full_image_height' => [ + 'name' => 'Hauteur totale de l\'image', + ], + 'medium_image_width' => [ + 'name' => 'Largeur d\'image moyenne', + ], + 'medium_image_height' => [ + 'name' => 'Hauteur d\'image moyenne', + ], + 'thumbnail_width' => [ + 'name' => 'Largeur de vignette', + ], + 'thumbnail_height' => [ + 'name' => 'Hauteur de la vignette', + ], + 'add_canvas' => [ + 'name' => 'Ajouter une toile', + ], + 'image_canvas_width' => [ + 'name' => 'Largeur du canevas d\'image', + ], + 'image_canvas_height' => [ + 'name' => 'Hauteur du canevas d\'image', + ], + 'watermark_type' => [ + 'name' => 'Type defiligrane', + ], + 'watermark_text' => [ + 'name' => 'Texte en filigrane', + ], + 'watermark_image' => [ + 'name' => 'Image en filigrane', + ], + 'watermark_position' => [ + 'name' => 'Position du filigrane', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/he/button.php b/addons/default/visiosoft/advs-module/resources/lang/he/button.php index b68b537ce..466fdbe0e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/he/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/he/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'עדכן קטגוריה' ], 'new_option' => 'אפשרות חדשה', + 'export' => 'יְצוּא' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/he/field.php b/addons/default/visiosoft/advs-module/resources/lang/he/field.php index cf39a5c15..ff06ade7a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/he/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/he/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'ומעל', 'and_below' => 'ומתחת', 'clear_all' => 'נקה הכל', + 'balances' => 'יתרות', + 'packages' => 'חבילות', + 'dopings' => 'סמים', + 'advs' => 'עו"ד', + 'site' => 'אֲתַר', + 'subscription' => 'מִנוּי', + 'created' => 'נוצר', + 'old_price' => [ + 'name' => 'מחיר ישן' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/he/section.php b/addons/default/visiosoft/advs-module/resources/lang/he/section.php index 882dfe5dd..3dea65a39 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/he/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/he/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'אפשרויות', ], + 'ads_image' => 'תמונת מודעות', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/he/setting.php b/addons/default/visiosoft/advs-module/resources/lang/he/setting.php index e94f25019..b71c1b1ed 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/he/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/he/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'ברירת מחדל של מודעות GET', ], - 'add_canvas' => [ - 'name' => 'הוסף בד', - ], - 'thumbnail_width' => [ - 'name' => 'רוחב תמונה ממוזערת', - ], - 'thumbnail_height' => [ - 'name' => 'גובה תמונה ממוזערת', - ], - 'picture_width' => [ - 'name' => 'רוחב תמונה', - ], - 'picture_height' => [ - 'name' => 'גובה תמונה', - ], 'twitter' => [ 'name' => 'טוויטר', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'גוגל', ], - 'watermark_type' => [ - 'name' => 'סוג סימן מים', - ], - 'watermark_text' => [ - 'name' => 'טקסט סימן מים', - ], - 'watermark_image' => [ - 'name' => 'תמונה של סימן מים', - ], - 'watermark_position' => [ - 'name' => 'מיקום סימן מים', - ], 'listing_page_image' => [ 'name' => 'תמונת עמוד רישום', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'מגבלת מודעות פופולריות', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'תמונה שינוי גודל backend', + ], + 'full_image_width' => [ + 'name' => 'רוחב תמונה מלא', + ], + 'full_image_height' => [ + 'name' => 'תמונה מלאה גובה', + ], + 'medium_image_width' => [ + 'name' => 'רוחב תמונה בינוני', + ], + 'medium_image_height' => [ + 'name' => 'גובה תמונה בינוני', + ], + 'thumbnail_width' => [ + 'name' => 'רוחב תמונה ממוזערת', + ], + 'thumbnail_height' => [ + 'name' => 'גובה תמונה ממוזערת', + ], + 'add_canvas' => [ + 'name' => 'הוסף בד', + ], + 'image_canvas_width' => [ + 'name' => 'רוחב בד תמונה', + ], + 'image_canvas_height' => [ + 'name' => 'תמונה גובה בד', + ], + 'watermark_type' => [ + 'name' => 'סוג סימן מים', + ], + 'watermark_text' => [ + 'name' => 'טקסט סימן מים', + ], + 'watermark_image' => [ + 'name' => 'תמונה של סימן מים', + ], + 'watermark_position' => [ + 'name' => 'מיקום סימן מים', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/hi/button.php b/addons/default/visiosoft/advs-module/resources/lang/hi/button.php index 802142448..04d35da16 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/hi/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/hi/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'अद्यतन श्रेणी' ], 'new_option' => 'नया विकल्प', + 'export' => 'निर्यात' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/hi/field.php b/addons/default/visiosoft/advs-module/resources/lang/hi/field.php index 3e21a0cba..c4ad70f8c 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/hi/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/hi/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'और ऊपर', 'and_below' => 'और नीचे', 'clear_all' => 'सभी साफ करें', + 'balances' => 'शेष', + 'packages' => 'संकुल', + 'dopings' => 'dopings', + 'advs' => 'advs', + 'site' => 'साइट', + 'subscription' => 'अंशदान', + 'created' => 'बनाया था', + 'old_price' => [ + 'name' => 'पुरानी कीमत' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/hi/section.php b/addons/default/visiosoft/advs-module/resources/lang/hi/section.php index 6fb43035a..3048cb03d 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/hi/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/hi/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'विकल्प', ], + 'ads_image' => 'विज्ञापन छवि', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/hi/setting.php b/addons/default/visiosoft/advs-module/resources/lang/hi/setting.php index f896aef00..c9c14d7e9 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/hi/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/hi/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'डिफ़ॉल्ट विज्ञापन GET', ], - 'add_canvas' => [ - 'name' => 'कैनवास जोड़ें', - ], - 'thumbnail_width' => [ - 'name' => 'थंबनेल की चौड़ाई', - ], - 'thumbnail_height' => [ - 'name' => 'थंबनेल की ऊँचाई', - ], - 'picture_width' => [ - 'name' => 'चित्र चौड़ाई', - ], - 'picture_height' => [ - 'name' => 'चित्र ऊंचाई', - ], 'twitter' => [ 'name' => 'ट्विटर', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'गूगल', ], - 'watermark_type' => [ - 'name' => 'वॉटरमार्क प्रकार', - ], - 'watermark_text' => [ - 'name' => 'वॉटरमार्क पाठ', - ], - 'watermark_image' => [ - 'name' => 'वॉटरमार्क छवि', - ], - 'watermark_position' => [ - 'name' => 'वॉटरमार्क स्थिति', - ], 'listing_page_image' => [ 'name' => 'लिस्टिंग पृष्ठ छवि', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'लोकप्रिय विज्ञापन सीमा', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'छवि बैकएंड का आकार बदलें', + ], + 'full_image_width' => [ + 'name' => 'पूर्ण छवि चौड़ाई', + ], + 'full_image_height' => [ + 'name' => 'पूर्ण छवि ऊँचाई', + ], + 'medium_image_width' => [ + 'name' => 'मध्यम छवि चौड़ाई', + ], + 'medium_image_height' => [ + 'name' => 'मध्यम छवि ऊँचाई', + ], + 'thumbnail_width' => [ + 'name' => 'थंबनेल की चौड़ाई', + ], + 'thumbnail_height' => [ + 'name' => 'थंबनेल की ऊँचाई', + ], + 'add_canvas' => [ + 'name' => 'कैनवास जोड़ें', + ], + 'image_canvas_width' => [ + 'name' => 'छवि कैनवास की चौड़ाई', + ], + 'image_canvas_height' => [ + 'name' => 'छवि कैनवास ऊंचाई', + ], + 'watermark_type' => [ + 'name' => 'वॉटरमार्क प्रकार', + ], + 'watermark_text' => [ + 'name' => 'वॉटरमार्क पाठ', + ], + 'watermark_image' => [ + 'name' => 'वॉटरमार्क छवि', + ], + 'watermark_position' => [ + 'name' => 'वॉटरमार्क स्थिति', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/it/button.php b/addons/default/visiosoft/advs-module/resources/lang/it/button.php index eebc61d89..973973321 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/it/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/it/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Categoria di aggiornamento' ], 'new_option' => 'Nuova opzione', + 'export' => 'Esportare' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/it/field.php b/addons/default/visiosoft/advs-module/resources/lang/it/field.php index 528ef3366..6f2d10da6 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/it/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/it/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'e al di sopra', 'and_below' => 'e sotto', 'clear_all' => 'Cancella tutto', + 'balances' => 'Saldi', + 'packages' => 'Pacchi', + 'dopings' => 'Dopings', + 'advs' => 'Advs', + 'site' => 'Luogo', + 'subscription' => 'Sottoscrizione', + 'created' => 'Creato', + 'old_price' => [ + 'name' => 'Vecchio prezzo' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/it/section.php b/addons/default/visiosoft/advs-module/resources/lang/it/section.php index 20e113b56..25ed5f82e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/it/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/it/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Opzioni', ], + 'ads_image' => 'Immagine degli annunci', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/it/setting.php b/addons/default/visiosoft/advs-module/resources/lang/it/setting.php index 9a0447a3b..b62373bef 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/it/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/it/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Annuncio predefinito GET', ], - 'add_canvas' => [ - 'name' => 'Aggiungi tela', - ], - 'thumbnail_width' => [ - 'name' => 'Larghezza Miniatura', - ], - 'thumbnail_height' => [ - 'name' => 'Altezza Miniatura', - ], - 'picture_width' => [ - 'name' => 'Larghezza immagine', - ], - 'picture_height' => [ - 'name' => 'Altezza dell\'immagine', - ], 'twitter' => [ 'name' => 'cinguettio', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Tipo di filigrana', - ], - 'watermark_text' => [ - 'name' => 'Testo filigrana', - ], - 'watermark_image' => [ - 'name' => 'Immagine filigrana', - ], - 'watermark_position' => [ - 'name' => 'Posizione della filigrana', - ], 'listing_page_image' => [ 'name' => 'Immagine della pagina di elenco', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Limite annunci popolari', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Backend ridimensionamento immagine', + ], + 'full_image_width' => [ + 'name' => 'Larghezza immagine completa', + ], + 'full_image_height' => [ + 'name' => 'Altezza completa dell\'immagine', + ], + 'medium_image_width' => [ + 'name' => 'Larghezza immagine media', + ], + 'medium_image_height' => [ + 'name' => 'Altezza media dell\'immagine', + ], + 'thumbnail_width' => [ + 'name' => 'Larghezza Miniatura', + ], + 'thumbnail_height' => [ + 'name' => 'Altezza Miniatura', + ], + 'add_canvas' => [ + 'name' => 'Aggiungi tela', + ], + 'image_canvas_width' => [ + 'name' => 'Larghezza tela immagine', + ], + 'image_canvas_height' => [ + 'name' => 'Altezza tela immagine', + ], + 'watermark_type' => [ + 'name' => 'Tipo di filigrana', + ], + 'watermark_text' => [ + 'name' => 'Testo filigrana', + ], + 'watermark_image' => [ + 'name' => 'Immagine filigrana', + ], + 'watermark_position' => [ + 'name' => 'Posizione della filigrana', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ja/button.php b/addons/default/visiosoft/advs-module/resources/lang/ja/button.php index b937e7866..2e19aa162 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ja/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ja/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'カテゴリを更新' ], 'new_option' => '新しいオプション', + 'export' => '書き出す' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ja/field.php b/addons/default/visiosoft/advs-module/resources/lang/ja/field.php index 9b68ead52..46ea2dc81 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ja/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ja/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => '以上', 'and_below' => '以下', 'clear_all' => 'すべてクリア', + 'balances' => 'バランス', + 'packages' => 'パッケージ', + 'dopings' => 'ドーピング', + 'advs' => 'アドバンス', + 'site' => '地点', + 'subscription' => 'サブスクリプション', + 'created' => '作成した', + 'old_price' => [ + 'name' => '古い価格' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ja/section.php b/addons/default/visiosoft/advs-module/resources/lang/ja/section.php index e86265cdc..92dacd5ac 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ja/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ja/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'オプション', ], + 'ads_image' => '広告画像', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ja/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ja/setting.php index 212bb25c9..4e69fcdab 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ja/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ja/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'デフォルト広告GET', ], - 'add_canvas' => [ - 'name' => 'キャンバスを追加', - ], - 'thumbnail_width' => [ - 'name' => 'サムネイルの幅', - ], - 'thumbnail_height' => [ - 'name' => 'サムネイルの高さ', - ], - 'picture_width' => [ - 'name' => '画像の幅', - ], - 'picture_height' => [ - 'name' => '画像の高さ', - ], 'twitter' => [ 'name' => 'ツイッター', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'グーグル', ], - 'watermark_type' => [ - 'name' => '透かしタイプ', - ], - 'watermark_text' => [ - 'name' => '透かしテキスト', - ], - 'watermark_image' => [ - 'name' => '透かし画像', - ], - 'watermark_position' => [ - 'name' => '透かしの位置', - ], 'listing_page_image' => [ 'name' => 'リストページの画像', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => '人気の広告制限', ], + + //Image + + 'image_resize_backend' => [ + 'name' => '画像サイズ変更バックエンド', + ], + 'full_image_width' => [ + 'name' => '全画像幅', + ], + 'full_image_height' => [ + 'name' => '全画像の高さ', + ], + 'medium_image_width' => [ + 'name' => '中程度の画像幅', + ], + 'medium_image_height' => [ + 'name' => '中程度の画像の高さ', + ], + 'thumbnail_width' => [ + 'name' => 'サムネイルの幅', + ], + 'thumbnail_height' => [ + 'name' => 'サムネイルの高さ', + ], + 'add_canvas' => [ + 'name' => 'キャンバスを追加', + ], + 'image_canvas_width' => [ + 'name' => '画像のキャンバスの幅', + ], + 'image_canvas_height' => [ + 'name' => '画像キャンバスの高さ', + ], + 'watermark_type' => [ + 'name' => '透かしタイプ', + ], + 'watermark_text' => [ + 'name' => '透かしテキスト', + ], + 'watermark_image' => [ + 'name' => '透かし画像', + ], + 'watermark_position' => [ + 'name' => '透かしの位置', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ko/button.php b/addons/default/visiosoft/advs-module/resources/lang/ko/button.php index db3009a49..2870d56ec 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ko/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ko/button.php @@ -32,4 +32,5 @@ return [ 'name' => '카테고리 업데이트' ], 'new_option' => '새로운 옵션', + 'export' => '수출' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ko/field.php b/addons/default/visiosoft/advs-module/resources/lang/ko/field.php index e19e6a372..7d762de2c 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ko/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ko/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => '이상', 'and_below' => '이하', 'clear_all' => '모두 지우기', + 'balances' => '균형', + 'packages' => '패키지', + 'dopings' => '도핑', + 'advs' => 'Advs', + 'site' => '대지', + 'subscription' => '신청', + 'created' => '만들어진', + 'old_price' => [ + 'name' => '이전 가격' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ko/section.php b/addons/default/visiosoft/advs-module/resources/lang/ko/section.php index f86413da6..e93d90bbf 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ko/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ko/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => '옵션', ], + 'ads_image' => '광고 이미지', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ko/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ko/setting.php index 0be464f25..d98d9c54a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ko/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ko/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => '기본 광고 GET', ], - 'add_canvas' => [ - 'name' => '캔버스 추가', - ], - 'thumbnail_width' => [ - 'name' => '썸네일 폭', - ], - 'thumbnail_height' => [ - 'name' => '썸네일 높이', - ], - 'picture_width' => [ - 'name' => '사진 폭', - ], - 'picture_height' => [ - 'name' => '사진 높이', - ], 'twitter' => [ 'name' => '트위터', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => '구글', ], - 'watermark_type' => [ - 'name' => '워터 마크 유형', - ], - 'watermark_text' => [ - 'name' => '워터 마크 텍스트', - ], - 'watermark_image' => [ - 'name' => '워터 마크 이미지', - ], - 'watermark_position' => [ - 'name' => '워터 마크 위치', - ], 'listing_page_image' => [ 'name' => '리스팅 페이지 이미지', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => '인기 광고 제한', ], + + //Image + + 'image_resize_backend' => [ + 'name' => '이미지 크기 조정 백엔드', + ], + 'full_image_width' => [ + 'name' => '전체 이미지 너비', + ], + 'full_image_height' => [ + 'name' => '전체 이미지 높이', + ], + 'medium_image_width' => [ + 'name' => '중간 이미지 너비', + ], + 'medium_image_height' => [ + 'name' => '중간 이미지 높이', + ], + 'thumbnail_width' => [ + 'name' => '썸네일 폭', + ], + 'thumbnail_height' => [ + 'name' => '썸네일 높이', + ], + 'add_canvas' => [ + 'name' => '캔버스 추가', + ], + 'image_canvas_width' => [ + 'name' => '이미지 캔버스 너비', + ], + 'image_canvas_height' => [ + 'name' => '이미지 캔버스 높이', + ], + 'watermark_type' => [ + 'name' => '워터 마크 유형', + ], + 'watermark_text' => [ + 'name' => '워터 마크 텍스트', + ], + 'watermark_image' => [ + 'name' => '워터 마크 이미지', + ], + 'watermark_position' => [ + 'name' => '워터 마크 위치', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/nl/button.php b/addons/default/visiosoft/advs-module/resources/lang/nl/button.php index bc54f1937..0d59ef1fd 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/nl/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/nl/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Categorie bijwerken' ], 'new_option' => 'Nieuwe optie', + 'export' => 'Exporteren' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/nl/field.php b/addons/default/visiosoft/advs-module/resources/lang/nl/field.php index 95d2cc31f..b6c3e3252 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/nl/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/nl/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'en hoger', 'and_below' => 'en onder', 'clear_all' => 'Wis alles', + 'balances' => 'Weegschalen', + 'packages' => 'Pakketjes', + 'dopings' => 'Dopings', + 'advs' => 'Advs', + 'site' => 'Site', + 'subscription' => 'Abonnement', + 'created' => 'Gemaakt', + 'old_price' => [ + 'name' => 'Oude prijs' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/nl/section.php b/addons/default/visiosoft/advs-module/resources/lang/nl/section.php index 250209946..4f0fede9b 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/nl/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/nl/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Opties', ], + 'ads_image' => 'Advertenties afbeelding', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/nl/setting.php b/addons/default/visiosoft/advs-module/resources/lang/nl/setting.php index 630c9b4ab..d0a12341e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/nl/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/nl/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Standaardadvertentie GET', ], - 'add_canvas' => [ - 'name' => 'Canvas toevoegen', - ], - 'thumbnail_width' => [ - 'name' => 'Thumbnail breedte', - ], - 'thumbnail_height' => [ - 'name' => 'Hoogte miniatuur', - ], - 'picture_width' => [ - 'name' => 'Beeldbreedte', - ], - 'picture_height' => [ - 'name' => 'Beeldhoogte', - ], 'twitter' => [ 'name' => 'tjilpen', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Watermerk Type', - ], - 'watermark_text' => [ - 'name' => 'Watermerktekst', - ], - 'watermark_image' => [ - 'name' => 'Watermerk afbeelding', - ], - 'watermark_position' => [ - 'name' => 'Watermerkpositie', - ], 'listing_page_image' => [ 'name' => 'Lijstpagina-afbeelding', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Beperking van populaire advertenties', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Afbeelding formaat wijzigen backend', + ], + 'full_image_width' => [ + 'name' => 'Volledige afbeeldingsbreedte', + ], + 'full_image_height' => [ + 'name' => 'Volledige beeldhoogte', + ], + 'medium_image_width' => [ + 'name' => 'Gemiddelde afbeeldingsbreedte', + ], + 'medium_image_height' => [ + 'name' => 'Gemiddelde afbeeldingshoogte', + ], + 'thumbnail_width' => [ + 'name' => 'Thumbnail breedte', + ], + 'thumbnail_height' => [ + 'name' => 'Hoogte miniatuur', + ], + 'add_canvas' => [ + 'name' => 'Canvas toevoegen', + ], + 'image_canvas_width' => [ + 'name' => 'Breedte afbeelding canvas', + ], + 'image_canvas_height' => [ + 'name' => 'Hoogte afbeelding canvas', + ], + 'watermark_type' => [ + 'name' => 'Watermerk Type', + ], + 'watermark_text' => [ + 'name' => 'Watermerktekst', + ], + 'watermark_image' => [ + 'name' => 'Watermerk afbeelding', + ], + 'watermark_position' => [ + 'name' => 'Watermerkpositie', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pl/button.php b/addons/default/visiosoft/advs-module/resources/lang/pl/button.php index 36752c315..b5b6249a8 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pl/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pl/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Zaktualizuj kategorię' ], 'new_option' => 'Nowa opcja', + 'export' => 'Eksport' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pl/field.php b/addons/default/visiosoft/advs-module/resources/lang/pl/field.php index 3d1d8b019..f47f2ad86 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pl/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pl/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'i powyżej', 'and_below' => 'i poniżej', 'clear_all' => 'Wyczyść wszystko', + 'balances' => 'Salda', + 'packages' => 'Pakiety', + 'dopings' => 'Dopingi', + 'advs' => 'Advs', + 'site' => 'Teren', + 'subscription' => 'Subskrypcja', + 'created' => 'Utworzony', + 'old_price' => [ + 'name' => 'Stara cena' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pl/section.php b/addons/default/visiosoft/advs-module/resources/lang/pl/section.php index 80483f314..ed280efba 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pl/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pl/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Opcje', ], + 'ads_image' => 'Obraz reklam', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pl/setting.php b/addons/default/visiosoft/advs-module/resources/lang/pl/setting.php index 52f96627a..0b204de14 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pl/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pl/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Domyślna reklama GET', ], - 'add_canvas' => [ - 'name' => 'Dodaj płótno', - ], - 'thumbnail_width' => [ - 'name' => 'Szerokość miniatury', - ], - 'thumbnail_height' => [ - 'name' => 'Wysokość miniatury', - ], - 'picture_width' => [ - 'name' => 'Szerokość obrazu', - ], - 'picture_height' => [ - 'name' => 'Wysokość obrazu', - ], 'twitter' => [ 'name' => 'Świergot', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Rodzaj znaku wodnego', - ], - 'watermark_text' => [ - 'name' => 'Tekst znaku wodnego', - ], - 'watermark_image' => [ - 'name' => 'Obraz znaku wodnego', - ], - 'watermark_position' => [ - 'name' => 'Pozycja znaku wodnego', - ], 'listing_page_image' => [ 'name' => 'Obraz strony z listą', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Limit popularnych reklam', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Image Resize Backend', + ], + 'full_image_width' => [ + 'name' => 'Pełna szerokość obrazu', + ], + 'full_image_height' => [ + 'name' => 'Pełna wysokość obrazu', + ], + 'medium_image_width' => [ + 'name' => 'Średnia szerokość obrazu', + ], + 'medium_image_height' => [ + 'name' => 'Średnia wysokość obrazu', + ], + 'thumbnail_width' => [ + 'name' => 'Szerokość miniatury', + ], + 'thumbnail_height' => [ + 'name' => 'Wysokość miniatury', + ], + 'add_canvas' => [ + 'name' => 'Dodaj płótno', + ], + 'image_canvas_width' => [ + 'name' => 'Szerokość obszaru roboczego obrazu', + ], + 'image_canvas_height' => [ + 'name' => 'Wysokość obszaru roboczego obrazu', + ], + 'watermark_type' => [ + 'name' => 'Rodzaj znaku wodnego', + ], + 'watermark_text' => [ + 'name' => 'Tekst znaku wodnego', + ], + 'watermark_image' => [ + 'name' => 'Obraz znaku wodnego', + ], + 'watermark_position' => [ + 'name' => 'Pozycja znaku wodnego', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pt/button.php b/addons/default/visiosoft/advs-module/resources/lang/pt/button.php index 53d5d0a7e..b443ea231 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pt/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pt/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Atualizar categoria' ], 'new_option' => 'Nova Opção', + 'export' => 'Exportar' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pt/field.php b/addons/default/visiosoft/advs-module/resources/lang/pt/field.php index 1429a94fe..60067ae2c 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pt/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pt/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'e acima', 'and_below' => 'e abaixo', 'clear_all' => 'Limpar tudo', + 'balances' => 'Saldos', + 'packages' => 'Pacotes', + 'dopings' => 'Dopings', + 'advs' => 'Advs', + 'site' => 'Local', + 'subscription' => 'Inscrição', + 'created' => 'Criado', + 'old_price' => [ + 'name' => 'Preço antigo' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pt/section.php b/addons/default/visiosoft/advs-module/resources/lang/pt/section.php index 293c32207..8602cf001 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pt/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pt/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Opções', ], + 'ads_image' => 'Imagem de Anúncios', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pt/setting.php b/addons/default/visiosoft/advs-module/resources/lang/pt/setting.php index 5004d7dea..505a5dd08 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pt/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pt/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Ad GET padrão', ], - 'add_canvas' => [ - 'name' => 'Adicionar tela', - ], - 'thumbnail_width' => [ - 'name' => 'Largura da miniatura', - ], - 'thumbnail_height' => [ - 'name' => 'Altura da miniatura', - ], - 'picture_width' => [ - 'name' => 'Largura da imagem', - ], - 'picture_height' => [ - 'name' => 'Altura da imagem', - ], 'twitter' => [ 'name' => 'Twitter', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Tipo de marca d\\'água', - ], - 'watermark_text' => [ - 'name' => 'Texto de marca d\\'água', - ], - 'watermark_image' => [ - 'name' => 'Imagem de marca d\\'água', - ], - 'watermark_position' => [ - 'name' => 'Posição da marca d\\'água', - ], 'listing_page_image' => [ 'name' => 'Listar imagem da página', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Limite de anúncios populares', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Backend de redimensionamento de imagem', + ], + 'full_image_width' => [ + 'name' => 'Largura total da imagem', + ], + 'full_image_height' => [ + 'name' => 'Altura total da imagem', + ], + 'medium_image_width' => [ + 'name' => 'Largura de imagem média', + ], + 'medium_image_height' => [ + 'name' => 'Altura Média da Imagem', + ], + 'thumbnail_width' => [ + 'name' => 'Largura da miniatura', + ], + 'thumbnail_height' => [ + 'name' => 'Altura da miniatura', + ], + 'add_canvas' => [ + 'name' => 'Adicionar tela', + ], + 'image_canvas_width' => [ + 'name' => 'Largura da tela da imagem', + ], + 'image_canvas_height' => [ + 'name' => 'Altura da tela da imagem', + ], + 'watermark_type' => [ + 'name' => 'Tipo de marca d\\'água', + ], + 'watermark_text' => [ + 'name' => 'Texto de marca d\\'água', + ], + 'watermark_image' => [ + 'name' => 'Imagem de marca d\\'água', + ], + 'watermark_position' => [ + 'name' => 'Posição da marca d\\'água', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ro/button.php b/addons/default/visiosoft/advs-module/resources/lang/ro/button.php index b9170691e..05365e89e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ro/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ro/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Actualizare categorie' ], 'new_option' => 'Opțiune nouă', + 'export' => 'Export' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ro/field.php b/addons/default/visiosoft/advs-module/resources/lang/ro/field.php index 07aabded1..3a7c2ce03 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ro/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ro/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'Si mai sus', 'and_below' => 'si sub', 'clear_all' => 'Curata tot', + 'balances' => 'Solduri', + 'packages' => 'Pachete', + 'dopings' => 'Dopaje', + 'advs' => 'Sfaturi', + 'site' => 'Site', + 'subscription' => 'Abonament', + 'created' => 'Creată', + 'old_price' => [ + 'name' => 'Preț vechi' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ro/section.php b/addons/default/visiosoft/advs-module/resources/lang/ro/section.php index f05c48fa7..d52aea029 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ro/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ro/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Opțiuni', ], + 'ads_image' => 'Imagine publicitară', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ro/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ro/setting.php index e79fa7e7d..2e9a5cab8 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ro/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ro/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Anunț implicit GET', ], - 'add_canvas' => [ - 'name' => 'Adăugați pânză', - ], - 'thumbnail_width' => [ - 'name' => 'Lățimea miniaturii', - ], - 'thumbnail_height' => [ - 'name' => 'Înălțimea miniaturii', - ], - 'picture_width' => [ - 'name' => 'Lățimea imaginii', - ], - 'picture_height' => [ - 'name' => 'Înălțimea imaginii', - ], 'twitter' => [ 'name' => 'Stare de nervozitate', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Tip filigran', - ], - 'watermark_text' => [ - 'name' => 'Text Filigran', - ], - 'watermark_image' => [ - 'name' => 'Filigran imagine', - ], - 'watermark_position' => [ - 'name' => 'Poziția filigranului', - ], 'listing_page_image' => [ 'name' => 'Listare imagine pagină', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Limita de anunțuri populare', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Backend de redimensionare imagine', + ], + 'full_image_width' => [ + 'name' => 'Lățimea imaginii complete', + ], + 'full_image_height' => [ + 'name' => 'Înălțimea imaginii complete', + ], + 'medium_image_width' => [ + 'name' => 'Lățimea medie a imaginii', + ], + 'medium_image_height' => [ + 'name' => 'Înălțimea medie a imaginii', + ], + 'thumbnail_width' => [ + 'name' => 'Lățimea miniaturii', + ], + 'thumbnail_height' => [ + 'name' => 'Înălțimea miniaturii', + ], + 'add_canvas' => [ + 'name' => 'Adăugați pânză', + ], + 'image_canvas_width' => [ + 'name' => 'Lățimea pânzei imaginii', + ], + 'image_canvas_height' => [ + 'name' => 'Înălțimea imaginii pânzei', + ], + 'watermark_type' => [ + 'name' => 'Tip filigran', + ], + 'watermark_text' => [ + 'name' => 'Text Filigran', + ], + 'watermark_image' => [ + 'name' => 'Filigran imagine', + ], + 'watermark_position' => [ + 'name' => 'Poziția filigranului', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ru/button.php b/addons/default/visiosoft/advs-module/resources/lang/ru/button.php index ef3b7785c..7db3d66cb 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ru/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ru/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Обновить категорию' ], 'new_option' => 'Новый вариант', + 'export' => 'Экспорт' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ru/field.php b/addons/default/visiosoft/advs-module/resources/lang/ru/field.php index 63f2056ce..8cc41cf7a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ru/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ru/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'и выше', 'and_below' => 'и ниже', 'clear_all' => 'Очистить все', + 'balances' => 'Балансы', + 'packages' => 'Пакеты', + 'dopings' => 'Допинг', + 'advs' => 'Advs', + 'site' => 'Сайт', + 'subscription' => 'Подписка', + 'created' => 'Создано', + 'old_price' => [ + 'name' => 'Старая цена' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ru/section.php b/addons/default/visiosoft/advs-module/resources/lang/ru/section.php index 7c2ae7bd5..a36bd2601 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ru/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ru/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Параметры', ], + 'ads_image' => 'Рекламное изображение', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ru/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ru/setting.php index 344d09a6d..2ca00532e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ru/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ru/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Реклама по умолчанию GET', ], - 'add_canvas' => [ - 'name' => 'Добавить холст', - ], - 'thumbnail_width' => [ - 'name' => 'Ширина миниатюры', - ], - 'thumbnail_height' => [ - 'name' => 'Высота миниатюры', - ], - 'picture_width' => [ - 'name' => 'Ширина картинки', - ], - 'picture_height' => [ - 'name' => 'Высота картинки', - ], 'twitter' => [ 'name' => 'щебет', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Тип водяного знака', - ], - 'watermark_text' => [ - 'name' => 'Текст водяного знака', - ], - 'watermark_image' => [ - 'name' => 'Изображение водяного знака', - ], - 'watermark_position' => [ - 'name' => 'Положение водяного знака', - ], 'listing_page_image' => [ 'name' => 'Изображение страницы со списком', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Лимит популярной рекламы', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Бэкэнд изменения размера изображения', + ], + 'full_image_width' => [ + 'name' => 'Полная ширина изображения', + ], + 'full_image_height' => [ + 'name' => 'Полная высота изображения', + ], + 'medium_image_width' => [ + 'name' => 'Средняя ширина изображения', + ], + 'medium_image_height' => [ + 'name' => 'Средняя высота изображения', + ], + 'thumbnail_width' => [ + 'name' => 'Ширина миниатюры', + ], + 'thumbnail_height' => [ + 'name' => 'Высота миниатюры', + ], + 'add_canvas' => [ + 'name' => 'Добавить холст', + ], + 'image_canvas_width' => [ + 'name' => 'Ширина холста изображения', + ], + 'image_canvas_height' => [ + 'name' => 'Высота холста изображения', + ], + 'watermark_type' => [ + 'name' => 'Тип водяного знака', + ], + 'watermark_text' => [ + 'name' => 'Текст водяного знака', + ], + 'watermark_image' => [ + 'name' => 'Изображение водяного знака', + ], + 'watermark_position' => [ + 'name' => 'Положение водяного знака', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sq/button.php b/addons/default/visiosoft/advs-module/resources/lang/sq/button.php index 004a53e08..ea5c36fbd 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sq/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sq/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Kategoria Azhornimeve' ], 'new_option' => 'Opsioni i ri', + 'export' => 'Eksporto' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sq/field.php b/addons/default/visiosoft/advs-module/resources/lang/sq/field.php index 5364d6b0c..58fe05860 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sq/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sq/field.php @@ -307,4 +307,14 @@ return [ 'and_above' => 'dhe më lart', 'and_below' => 'dhe më poshtë', 'clear_all' => 'Pastroji të gjitha', + 'balances' => 'Bilancet', + 'packages' => 'Paketat', + 'dopings' => 'Dopingët', + 'advs' => 'Adv', + 'site' => 'Faqen', + 'subscription' => 'Abonim', + 'created' => 'Krijuar', + 'old_price' => [ + 'name' => 'Çmimi i Vjetër' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sq/section.php b/addons/default/visiosoft/advs-module/resources/lang/sq/section.php index 81ca43dbe..6b38db36e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sq/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sq/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Opsione', ], + 'ads_image' => 'Imazhi i reklamave', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sq/setting.php b/addons/default/visiosoft/advs-module/resources/lang/sq/setting.php index 7e33fbb5c..444748716 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sq/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sq/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Përcaktuar SET', ], - 'add_canvas' => [ - 'name' => 'Shto Canvas', - ], - 'thumbnail_width' => [ - 'name' => 'Gjerësia e Thumbnail', - ], - 'thumbnail_height' => [ - 'name' => 'Lartësia e Thumbnail', - ], - 'picture_width' => [ - 'name' => 'Gjerësia e figurës', - ], - 'picture_height' => [ - 'name' => 'Lartësia e figurës', - ], 'twitter' => [ 'name' => 'Twitter', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Tipi Filigranit', - ], - 'watermark_text' => [ - 'name' => 'Teksti i Filigranit', - ], - 'watermark_image' => [ - 'name' => 'Imazhi i Filigranit', - ], - 'watermark_position' => [ - 'name' => 'Pozicioni i Filigranit', - ], 'listing_page_image' => [ 'name' => 'Lista e figurës së faqes', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Kufiri i reklamave popullore', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Ndryshimi i madhësisë së imazhit Backend', + ], + 'full_image_width' => [ + 'name' => 'Gjerësia e imazhit të plotë', + ], + 'full_image_height' => [ + 'name' => 'Lartësia e imazhit të plotë', + ], + 'medium_image_width' => [ + 'name' => 'Gjerësia Mesatare e Imazhit', + ], + 'medium_image_height' => [ + 'name' => 'Lartësia mesatare e figurës', + ], + 'thumbnail_width' => [ + 'name' => 'Gjerësia e Thumbnail', + ], + 'thumbnail_height' => [ + 'name' => 'Lartësia e Thumbnail', + ], + 'add_canvas' => [ + 'name' => 'Shto Canvas', + ], + 'image_canvas_width' => [ + 'name' => 'Gjerësia e kanavacës së imazhit', + ], + 'image_canvas_height' => [ + 'name' => 'Lartësia e kanavacës së imazhit', + ], + 'watermark_type' => [ + 'name' => 'Tipi Filigranit', + ], + 'watermark_text' => [ + 'name' => 'Teksti i Filigranit', + ], + 'watermark_image' => [ + 'name' => 'Imazhi i Filigranit', + ], + 'watermark_position' => [ + 'name' => 'Pozicioni i Filigranit', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sv/button.php b/addons/default/visiosoft/advs-module/resources/lang/sv/button.php index fe78e694e..f992ccff6 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sv/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sv/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Uppdatera kategori' ], 'new_option' => 'Nytt alternativ', + 'export' => 'Exportera' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sv/field.php b/addons/default/visiosoft/advs-module/resources/lang/sv/field.php index 2a05f75c9..634294430 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sv/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sv/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'och ovan', 'and_below' => 'och under', 'clear_all' => 'Rensa alla', + 'balances' => 'Balanser', + 'packages' => 'Paket', + 'dopings' => 'Dopings', + 'advs' => 'Adv', + 'site' => 'Webbplats', + 'subscription' => 'Prenumeration', + 'created' => 'Skapad', + 'old_price' => [ + 'name' => 'Gammalt pris' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sv/section.php b/addons/default/visiosoft/advs-module/resources/lang/sv/section.php index 29c6aaae6..85daf8b42 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sv/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sv/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'alternativ', ], + 'ads_image' => 'Annonsbild', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sv/setting.php b/addons/default/visiosoft/advs-module/resources/lang/sv/setting.php index c82d762cd..751af7b8f 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sv/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sv/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Standardannons GET', ], - 'add_canvas' => [ - 'name' => 'Lägg till Canvas', - ], - 'thumbnail_width' => [ - 'name' => 'Miniatyrbredd', - ], - 'thumbnail_height' => [ - 'name' => 'Miniatyrhöjd', - ], - 'picture_width' => [ - 'name' => 'Bildbredd', - ], - 'picture_height' => [ - 'name' => 'Bildhöjd', - ], 'twitter' => [ 'name' => 'Twitter', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Vattenmärketyp', - ], - 'watermark_text' => [ - 'name' => 'Vattenmärketekst', - ], - 'watermark_image' => [ - 'name' => 'Vattenmärkesbild', - ], - 'watermark_position' => [ - 'name' => 'Vattenmärkes position', - ], 'listing_page_image' => [ 'name' => 'Lista sidbild', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Gräns för populära annonser', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Bild Ändra storlek på backend', + ], + 'full_image_width' => [ + 'name' => 'Full bildbredd', + ], + 'full_image_height' => [ + 'name' => 'Full bildhöjd', + ], + 'medium_image_width' => [ + 'name' => 'Medium bildbredd', + ], + 'medium_image_height' => [ + 'name' => 'Medium bildhöjd', + ], + 'thumbnail_width' => [ + 'name' => 'Miniatyrbredd', + ], + 'thumbnail_height' => [ + 'name' => 'Miniatyrhöjd', + ], + 'add_canvas' => [ + 'name' => 'Lägg till Canvas', + ], + 'image_canvas_width' => [ + 'name' => 'Bild Canvas Bredd', + ], + 'image_canvas_height' => [ + 'name' => 'Bild Kanvashöjd', + ], + 'watermark_type' => [ + 'name' => 'Vattenmärketyp', + ], + 'watermark_text' => [ + 'name' => 'Vattenmärketekst', + ], + 'watermark_image' => [ + 'name' => 'Vattenmärkesbild', + ], + 'watermark_position' => [ + 'name' => 'Vattenmärkes position', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/tr/button.php b/addons/default/visiosoft/advs-module/resources/lang/tr/button.php index 6721c2085..0ee3ab8a2 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Kategori Güncelle' ], 'new_option' => 'Yeni Seçenek', + 'export' => 'İhracat' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/tr/field.php b/addons/default/visiosoft/advs-module/resources/lang/tr/field.php index cc2f95416..e1c05d54c 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/field.php @@ -150,7 +150,7 @@ return [ 'search_desc' => 'Burada favori arama seçimlerinizi ekleyebilir ve yönetebilirsiniz.', 'complaint_placeholder' => 'Şikayet ayrıntılarınızı buraya yazın.', 'show_details' => 'Detayları göster', - 'ad_actions' => 'Reklam İşlemleri', + 'ad_actions' => 'İlan İşlemleri', 'edit' => 'Düzenle', 'approve' => 'Onayla', 'passive' => "Pasif", @@ -275,11 +275,11 @@ return [ "were_found" => 'bulundular.', // Pending screen - 'pending_message_1' => 'Reklam Onay Sürecinde', - 'pending_message_2' => "Reklamın Güncelleme Tarihi", + 'pending_message_1' => 'İlan Onay Sürecinde', + 'pending_message_2' => "İlan Güncelleme Tarihi", 'pending_message_3' => 'Tahmini Bekleme Süresi', 'pending_message_4' => 'Onay sürecinde geçirilen süre doping zamanına eklenecektir.', - 'pending_message_5' => 'Onay sürecinde reklamla ilgili çağrı merkezinden hiçbir işlem yapılamaz.', + 'pending_message_5' => 'Onay sürecinde ilanla ilgili çağrı merkezinden hiçbir işlem yapılamaz.', 'hours' => 'saatler', // Preview page @@ -308,4 +308,14 @@ return [ 'and_above' => 've yukarıda', 'and_below' => 've aşağıda', 'clear_all' => 'Hepsini temizle', + 'balances' => 'Bakiyeler', + 'packages' => 'Paketler', + 'dopings' => 'Dopingler', + 'advs' => 'Advs', + 'site' => 'Site', + 'subscription' => 'Abonelik', + 'created' => 'Oluşturuldu', + 'old_price' => [ + 'name' => 'Eski fiyat' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/tr/message.php b/addons/default/visiosoft/advs-module/resources/lang/tr/message.php index 00fd03e21..82df978e8 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/message.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/message.php @@ -23,6 +23,6 @@ return [ 'choose_user' => 'Bir kullanıcı seçin', 'owner_updated_successfully' => 'Sahibi Başarıyla Güncellenmiştir!', 'no_add_found' => 'İlan Bulunamadı!', - 'replicated_success' => 'Reklam başarıyla kopyalandı!', - 'ad_doesnt_exist' => "Bu reklam mevcut değil!", + 'replicated_success' => 'İlan başarıyla kopyalandı!', + 'ad_doesnt_exist' => "Bu İlan mevcut değil!", ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/tr/section.php b/addons/default/visiosoft/advs-module/resources/lang/tr/section.php index c286a8554..f7adc843e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Seçenekler', ], + 'ads_image' => 'İlan Resmi', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/tr/setting.php b/addons/default/visiosoft/advs-module/resources/lang/tr/setting.php index 65ceea4d9..9e3c9d652 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/setting.php @@ -9,7 +9,7 @@ return [ ], 'hide_zero_price' => [ 'name' => 'Sıfır ise Fiyatı Gizle', - 'instructions' => 'Reklam fiyatı 0 ise fiyatı gizle', + 'instructions' => 'İlan fiyatı 0 ise fiyatı gizle', ], 'estimated_pending_time' => [ 'name' => 'Tahmini Bekleme Süresi', @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Varsayılan İlan GET', ], - 'add_canvas' => [ - 'name' => 'Tuval Ekle', - ], - 'thumbnail_width' => [ - 'name' => 'Küçük Resim Genişliği', - ], - 'thumbnail_height' => [ - 'name' => 'Küçük Resim Yüksekliği', - ], - 'picture_width' => [ - 'name' => 'Resim Genişliği', - ], - 'picture_height' => [ - 'name' => 'Resim Yüksekliği', - ], 'twitter' => [ 'name' => 'Twitter', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Filigran Türü', - ], - 'watermark_text' => [ - 'name' => 'Filigran Metni', - ], - 'watermark_image' => [ - 'name' => 'Filigran Görüntüsü', - ], - 'watermark_position' => [ - 'name' => 'Filigran Konumu', - ], 'listing_page_image' => [ 'name' => 'Sayfa Resmi Listeleme', ], @@ -156,6 +129,51 @@ return [ 'name' => 'TCMB Exchange URL\'si', ], 'popular_ads_limit' => [ - 'name' => 'Popüler Reklam Limiti', + 'name' => 'Popüler İlan Limiti', + ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Görüntüyü Yeniden Boyutlandır Arka Uç', + ], + 'full_image_width' => [ + 'name' => 'Tam Resim Genişliği', + ], + 'full_image_height' => [ + 'name' => 'Tam Resim Yüksekliği', + ], + 'medium_image_width' => [ + 'name' => 'Orta Resim Genişliği', + ], + 'medium_image_height' => [ + 'name' => 'Orta Resim Yüksekliği', + ], + 'thumbnail_width' => [ + 'name' => 'Küçük Resim Genişliği', + ], + 'thumbnail_height' => [ + 'name' => 'Küçük Resim Yüksekliği', + ], + 'add_canvas' => [ + 'name' => 'Tuval Ekle', + ], + 'image_canvas_width' => [ + 'name' => 'Görüntü Tuvali Genişliği', + ], + 'image_canvas_height' => [ + 'name' => 'Resim Tuval Yüksekliği', + ], + 'watermark_type' => [ + 'name' => 'Filigran Türü', + ], + 'watermark_text' => [ + 'name' => 'Filigran Metni', + ], + 'watermark_image' => [ + 'name' => 'Filigran Görüntüsü', + ], + 'watermark_position' => [ + 'name' => 'Filigran Konumu', ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/uk/button.php b/addons/default/visiosoft/advs-module/resources/lang/uk/button.php index 6b7277f53..fe6de7c4a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/uk/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/uk/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Оновити категорію' ], 'new_option' => 'Нова опція', + 'export' => 'Експорт' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/uk/field.php b/addons/default/visiosoft/advs-module/resources/lang/uk/field.php index 628c6f494..09fe095f1 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/uk/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/uk/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'і вище', 'and_below' => 'і нижче', 'clear_all' => 'Очистити все', + 'balances' => 'Баланси', + 'packages' => 'Пакети', + 'dopings' => 'Допінг', + 'advs' => 'Advs', + 'site' => 'Сайт', + 'subscription' => 'Передплата', + 'created' => 'Створено', + 'old_price' => [ + 'name' => 'Стара ціна' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/uk/section.php b/addons/default/visiosoft/advs-module/resources/lang/uk/section.php index d93a621d2..ef8a84fe9 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/uk/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/uk/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Параметри', ], + 'ads_image' => 'Зображення оголошень', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/uk/setting.php b/addons/default/visiosoft/advs-module/resources/lang/uk/setting.php index bd4e1cd21..5056bf078 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/uk/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/uk/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Оголошення за замовчуванням GET', ], - 'add_canvas' => [ - 'name' => 'Додати полотно', - ], - 'thumbnail_width' => [ - 'name' => 'Ширина мініатюри', - ], - 'thumbnail_height' => [ - 'name' => 'Висота мініатюри', - ], - 'picture_width' => [ - 'name' => 'Ширина зображення', - ], - 'picture_height' => [ - 'name' => 'Висота зображення', - ], 'twitter' => [ 'name' => 'Twitter', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Тип водяного знака', - ], - 'watermark_text' => [ - 'name' => 'Текст водяного знака', - ], - 'watermark_image' => [ - 'name' => 'Зображення водяного знака', - ], - 'watermark_position' => [ - 'name' => 'Позиція водяного знака', - ], 'listing_page_image' => [ 'name' => 'Зображення сторінки лістингу', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Ліміт популярних оголошень', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Змінення розміру зображення', + ], + 'full_image_width' => [ + 'name' => 'Повна ширина зображення', + ], + 'full_image_height' => [ + 'name' => 'Повна висота зображення', + ], + 'medium_image_width' => [ + 'name' => 'Середня ширина зображення', + ], + 'medium_image_height' => [ + 'name' => 'Середня висота зображення', + ], + 'thumbnail_width' => [ + 'name' => 'Ширина мініатюри', + ], + 'thumbnail_height' => [ + 'name' => 'Висота мініатюри', + ], + 'add_canvas' => [ + 'name' => 'Додати полотно', + ], + 'image_canvas_width' => [ + 'name' => 'Ширина полотна зображення', + ], + 'image_canvas_height' => [ + 'name' => 'Висота полотна зображення', + ], + 'watermark_type' => [ + 'name' => 'Тип водяного знака', + ], + 'watermark_text' => [ + 'name' => 'Текст водяного знака', + ], + 'watermark_image' => [ + 'name' => 'Зображення водяного знака', + ], + 'watermark_position' => [ + 'name' => 'Позиція водяного знака', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ur/button.php b/addons/default/visiosoft/advs-module/resources/lang/ur/button.php index 9b412a895..48e176b96 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ur/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ur/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'زمرہ اپ ڈیٹ کریں' ], 'new_option' => 'نیا آپشن', + 'export' => 'برآمد کریں' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ur/field.php b/addons/default/visiosoft/advs-module/resources/lang/ur/field.php index 000857a60..d38e74af5 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ur/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ur/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'اور اوپر', 'and_below' => 'اور نیچے', 'clear_all' => 'تمام کو صاف کریں', + 'balances' => 'توازن', + 'packages' => 'پیکیجز', + 'dopings' => 'ڈوپنگز', + 'advs' => 'ایڈز', + 'site' => 'سائٹ', + 'subscription' => 'سب سکریپشن', + 'created' => 'بنائی گئی', + 'old_price' => [ + 'name' => 'پرانی قیمت' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ur/section.php b/addons/default/visiosoft/advs-module/resources/lang/ur/section.php index 61ffc72a8..ad7aaf4a5 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ur/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ur/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'اختیارات', ], + 'ads_image' => 'اشتہارات کی تصویر', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ur/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ur/setting.php index 4727eb38e..26549bf87 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ur/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ur/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'ڈیفالٹ اشتہار GET', ], - 'add_canvas' => [ - 'name' => 'کینوس شامل کریں', - ], - 'thumbnail_width' => [ - 'name' => 'تھمب نیل چوڑائی', - ], - 'thumbnail_height' => [ - 'name' => 'تھمب نیل اونچائی', - ], - 'picture_width' => [ - 'name' => 'تصویر کی چوڑائی', - ], - 'picture_height' => [ - 'name' => 'تصویر کی اونچائی', - ], 'twitter' => [ 'name' => 'ٹویٹر', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'گوگل', ], - 'watermark_type' => [ - 'name' => 'واٹر مارک کی قسم', - ], - 'watermark_text' => [ - 'name' => 'واٹر مارک ٹیکسٹ', - ], - 'watermark_image' => [ - 'name' => 'واٹر مارک امیج', - ], - 'watermark_position' => [ - 'name' => 'واٹر مارک پوزیشن', - ], 'listing_page_image' => [ 'name' => 'صفحہ کی فہرست کی فہرست', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'مقبول اشتہارات کی حد', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'شبیہہ کا سائز تبدیل کریں پسدید', + ], + 'full_image_width' => [ + 'name' => 'مکمل تصویری چوڑائی', + ], + 'full_image_height' => [ + 'name' => 'مکمل امیج کی اونچائی', + ], + 'medium_image_width' => [ + 'name' => 'میڈیم تصویری چوڑائی', + ], + 'medium_image_height' => [ + 'name' => 'میڈیم امیج کی اونچائی', + ], + 'thumbnail_width' => [ + 'name' => 'تھمب نیل چوڑائی', + ], + 'thumbnail_height' => [ + 'name' => 'تھمب نیل اونچائی', + ], + 'add_canvas' => [ + 'name' => 'کینوس شامل کریں', + ], + 'image_canvas_width' => [ + 'name' => 'تصویری کینوس کی چوڑائی', + ], + 'image_canvas_height' => [ + 'name' => 'تصویری کینوس کی اونچائی', + ], + 'watermark_type' => [ + 'name' => 'واٹر مارک کی قسم', + ], + 'watermark_text' => [ + 'name' => 'واٹر مارک ٹیکسٹ', + ], + 'watermark_image' => [ + 'name' => 'واٹر مارک امیج', + ], + 'watermark_position' => [ + 'name' => 'واٹر مارک پوزیشن', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/vi/button.php b/addons/default/visiosoft/advs-module/resources/lang/vi/button.php index 5cc1766d8..f1f73f281 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/vi/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/vi/button.php @@ -32,4 +32,5 @@ return [ 'name' => 'Cập nhật danh mục' ], 'new_option' => 'Tùy chọn mới', + 'export' => 'Xuất khẩu' ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/vi/field.php b/addons/default/visiosoft/advs-module/resources/lang/vi/field.php index 50d4e9dd8..0b5e767e2 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/vi/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/vi/field.php @@ -306,4 +306,14 @@ return [ 'and_above' => 'trở lên', 'and_below' => 'và dưới đây', 'clear_all' => 'Làm sạch tất cả', + 'balances' => 'Cân bằng', + 'packages' => 'Các gói', + 'dopings' => 'Liều lượng', + 'advs' => 'Lời khuyên', + 'site' => 'Địa điểm', + 'subscription' => 'Đăng ký', + 'created' => 'Tạo', + 'old_price' => [ + 'name' => 'Giá cũ' + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/vi/section.php b/addons/default/visiosoft/advs-module/resources/lang/vi/section.php index 5efbd87d3..ddb28f2d2 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/vi/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/vi/section.php @@ -44,4 +44,5 @@ return [ 'options' => [ 'title' => 'Tùy chọn', ], + 'ads_image' => 'Hình ảnh Quảng cáo', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/vi/setting.php b/addons/default/visiosoft/advs-module/resources/lang/vi/setting.php index 64abd5421..500915dcc 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/vi/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/vi/setting.php @@ -79,21 +79,6 @@ return [ 'default_GET' => [ 'name' => 'Quảng cáo mặc định NHẬN', ], - 'add_canvas' => [ - 'name' => 'Thêm Canvas', - ], - 'thumbnail_width' => [ - 'name' => 'Chiều rộng hình thu nhỏ', - ], - 'thumbnail_height' => [ - 'name' => 'Chiều cao hình thu nhỏ', - ], - 'picture_width' => [ - 'name' => 'Chiều rộng hình ảnh', - ], - 'picture_height' => [ - 'name' => 'Chiều cao hình ảnh', - ], 'twitter' => [ 'name' => 'Twitter', ], @@ -106,18 +91,6 @@ return [ 'google' => [ 'name' => 'Google', ], - 'watermark_type' => [ - 'name' => 'Loại hình mờ', - ], - 'watermark_text' => [ - 'name' => 'Văn bản thủy ấn', - ], - 'watermark_image' => [ - 'name' => 'Hình mờ', - ], - 'watermark_position' => [ - 'name' => 'Vị trí hình mờ', - ], 'listing_page_image' => [ 'name' => 'Danh sách trang hình ảnh', ], @@ -158,4 +131,49 @@ return [ 'popular_ads_limit' => [ 'name' => 'Giới hạn Quảng cáo Phổ biến', ], + + //Image + + 'image_resize_backend' => [ + 'name' => 'Phần phụ trợ thay đổi kích thước hình ảnh', + ], + 'full_image_width' => [ + 'name' => 'Chiều rộng hình ảnh đầy đủ', + ], + 'full_image_height' => [ + 'name' => 'Chiều cao toàn ảnh', + ], + 'medium_image_width' => [ + 'name' => 'Chiều rộng hình ảnh trung bình', + ], + 'medium_image_height' => [ + 'name' => 'Chiều cao hình ảnh trung bình', + ], + 'thumbnail_width' => [ + 'name' => 'Chiều rộng hình thu nhỏ', + ], + 'thumbnail_height' => [ + 'name' => 'Chiều cao hình thu nhỏ', + ], + 'add_canvas' => [ + 'name' => 'Thêm Canvas', + ], + 'image_canvas_width' => [ + 'name' => 'Chiều rộng canvas hình ảnh', + ], + 'image_canvas_height' => [ + 'name' => 'Chiều cao canvas hình ảnh', + ], + 'watermark_type' => [ + 'name' => 'Loại hình mờ', + ], + 'watermark_text' => [ + 'name' => 'Văn bản thủy ấn', + ], + 'watermark_image' => [ + 'name' => 'Hình mờ', + ], + 'watermark_position' => [ + 'name' => 'Vị trí hình mờ', + ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig index efd963ad9..d700caebb 100644 --- a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig +++ b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig @@ -1,7 +1,7 @@
{% set standardPrice = adv.standard_price.value %} - {% if standardPrice %} + {% if standardPrice and standardPrice > 0 %}

{{ adv.standard_price.currency(null,'currency') }} @@ -45,7 +45,7 @@

- {{ addBlock('ad-detail/details',{'adv':adv, 'options':options})|raw }} + {{ addBlock('ad-detail/details',{'adv':adv, 'options':options, 'configurations':configurations})|raw }} {{ addBlock('ad-detail/widget-details',{'adv':adv})|raw }} diff --git a/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig b/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig index 0991832e0..d0e4b35e3 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig @@ -40,8 +40,7 @@ 'villages':villages, 'param':param, 'categoryId':categoryId, - 'cityId':cityId, - '_ORDER_':['visiosoft.module.cats', 'visiosoft.module.location'] + 'cityId':cityId })|raw }} diff --git a/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig b/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig index 29416109b..861db4e06 100644 --- a/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig +++ b/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig @@ -59,9 +59,12 @@
- {{ addBlock('new-ad/fields', {'adv': adv})|raw }} - -
+ {% if setting_value('visiosoft.module.advs::market_place') %} + {{ addBlock('new-ad/fields', {'adv': adv})|raw }} + {% endif %} +
{% set standardPriceValue = form.fields.standard_price.value|split('.') %}
- +
-
@@ -133,6 +138,15 @@ +
+ +
+ {{ form.fields.product_options_value.input|raw }} +
+
+
diff --git a/addons/default/visiosoft/advs-module/resources/views/new-ad/preview/preview.twig b/addons/default/visiosoft/advs-module/resources/views/new-ad/preview/preview.twig index 1c52f2e32..f016f7040 100644 --- a/addons/default/visiosoft/advs-module/resources/views/new-ad/preview/preview.twig +++ b/addons/default/visiosoft/advs-module/resources/views/new-ad/preview/preview.twig @@ -14,6 +14,10 @@ {% else %} {% set continueLink = url_route('adv_detail_seo', [adv.slug, adv.id]) %} {% endif %} + + {{trans('visiosoft.module.advs::button.create_configurations')}} + {{ trans('visiosoft.module.advs::field.edit') }} @@ -27,6 +31,10 @@
+ + {{trans('visiosoft.module.advs::button.create_configurations')}} + {{ trans('visiosoft.module.advs::field.edit') }} diff --git a/addons/default/visiosoft/advs-module/src/Adv/AdvModel.php b/addons/default/visiosoft/advs-module/src/Adv/AdvModel.php index bf879d2ad..44a7f571c 100644 --- a/addons/default/visiosoft/advs-module/src/Adv/AdvModel.php +++ b/addons/default/visiosoft/advs-module/src/Adv/AdvModel.php @@ -13,6 +13,8 @@ use Visiosoft\LocationModule\Country\CountryModel; use Visiosoft\CartsModule\Cart\Command\GetCart; use Visiosoft\LocationModule\District\DistrictModel; use Visiosoft\LocationModule\Neighborhood\NeighborhoodModel; +use Visiosoft\LocationModule\Village\Contract\VillageRepositoryInterface; +use Visiosoft\LocationModule\Village\VillageModel; class AdvModel extends AdvsAdvsEntryModel implements AdvInterface { @@ -67,9 +69,9 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface return $query->where('advs_advs.slug', '!=', ""); } - public function userAdv($nullable_ad = false) + public function userAdv($nullable_ad = false, $checkRole = true) { - if (Auth::user()->hasRole('admin')) { + if (Auth::user()->hasRole('admin') && $checkRole) { return $this->getAdv(null, $nullable_ad); } else { return $this->getAdv(null, $nullable_ad) @@ -373,8 +375,19 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface return $neighborhood ? $neighborhood->name : false; } + public function getVillage() + { + $village = app(VillageRepositoryInterface::class)->find($this->village); + return $village ? $village->name : false; + } + public function expired() { return $this->finish_at ? $this->finish_at < Carbon::now() : true; } + + public function getProductOptionsValues() + { + return $this->product_options_value; + } } diff --git a/addons/default/visiosoft/advs-module/src/Adv/AdvRepository.php b/addons/default/visiosoft/advs-module/src/Adv/AdvRepository.php index e39e5580a..f61347c48 100644 --- a/addons/default/visiosoft/advs-module/src/Adv/AdvRepository.php +++ b/addons/default/visiosoft/advs-module/src/Adv/AdvRepository.php @@ -447,4 +447,30 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface ->orderBy('count_show_ad', 'desc') ->paginate(setting_value('visiosoft.module.advs::popular_ads_limit', setting_value('streams::per_page'))); } + + public function getName($id){ + return $this->find($id)->name; + } + + public function approveAds($adsIDs) + { + $defaultAdPublishTime = setting_value('visiosoft.module.advs::default_published_time'); + $ads = $this->newQuery()->whereIn('advs_advs.id', $adsIDs)->update([ + 'status' => 'approved', + 'finish_at' => date('Y-m-d H:i:s', strtotime(date('Y-m-d H:i:s') . ' + ' . $defaultAdPublishTime . ' day')), + 'publish_at' => date('Y-m-d H:i:s') + ]); + + return $ads; + } + + public function getUserAds($userID = null) + { + $userID = auth_id_if_null($userID); + return $this->newQuery() + ->where('advs_advs.created_by_id', $userID) + ->where('status', 'approved') + ->where('finish_at', '>', date('Y-m-d H:i:s')) + ->get(); + } } diff --git a/addons/default/visiosoft/advs-module/src/Adv/AdvsExport.php b/addons/default/visiosoft/advs-module/src/Adv/AdvsExport.php new file mode 100644 index 000000000..ef50835c4 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Adv/AdvsExport.php @@ -0,0 +1,79 @@ +newQuery() + ->leftJoin('cats_category', function ($q){ + $q->on('cats_category.id', 'advs_advs.cat1') + ->orOn('cats_category.id', 'advs_advs.cat2') + ->orOn('cats_category.id', 'advs_advs.cat3') + ->orOn('cats_category.id', 'advs_advs.cat4') + ->orOn('cats_category.id', 'advs_advs.cat5') + ->orOn('cats_category.id', 'advs_advs.cat6') + ->orOn('cats_category.id', 'advs_advs.cat7') + ->orOn('cats_category.id', 'advs_advs.cat8') + ->orOn('cats_category.id', 'advs_advs.cat9') + ->orOn('cats_category.id', 'advs_advs.cat10'); + }) + ->leftJoin('cats_category_translations', 'cats_category.id', 'cats_category_translations.entry_id') + ->leftJoin('location_countries_translations','advs_advs.country_id', 'location_countries_translations.entry_id') + ->leftJoin('location_cities_translations','advs_advs.city', 'location_cities_translations.entry_id') + ->leftJoin('location_districts_translations','advs_advs.district', 'location_districts_translations.entry_id') + ->where('cats_category_translations.locale',Request()->session()->get('_locale', setting_value('streams::default_locale', 'en'))) + ->where('advs_advs_translations.locale',Request()->session()->get('_locale', setting_value('streams::default_locale', 'en'))) + ->select(['advs_advs.*', 'location_countries_translations.name as country', 'location_cities_translations.name as city_name', 'location_districts_translations.name as district', DB::raw("group_concat(default_cats_category_translations.name SEPARATOR ', ') as categories")]) + ->groupBy('advs_advs.id') + ->get(); + + return $cats; + } + + public function map($adv): array + { + return [ + $adv->id, + $adv->name, + strip_tags($adv->advs_desc), + $adv->currency, + $adv->price, + $adv->standard_price, + $adv->created_by_id, + $adv->categories, + $adv->country, + $adv->city_name, + $adv->district, + ]; + } + + public function headings(): array + { + return [ + 'ID', + trans('module::field.name.name'), + trans('module::field.description'), + trans('module::field.currency.name'), + trans('module::field.price.name'), + trans('module::field.standard_price.name'), + trans('module::field.created'), + trans('module::field.categories'), + trans('module::field.country.name'), + trans('module::field.city.name'), + trans('module::field.district.name'), + ]; + } +} diff --git a/addons/default/visiosoft/advs-module/src/Adv/Command/GetUserAds.php b/addons/default/visiosoft/advs-module/src/Adv/Command/GetUserAds.php new file mode 100644 index 000000000..4541f1a40 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Adv/Command/GetUserAds.php @@ -0,0 +1,18 @@ +userID = $userID; + } + + public function handle(AdvRepositoryInterface $advRepository) + { + return $advRepository->getUserAds($this->userID); + } +} diff --git a/addons/default/visiosoft/advs-module/src/Adv/Contract/AdvInterface.php b/addons/default/visiosoft/advs-module/src/Adv/Contract/AdvInterface.php index a9cb314fd..42968fa28 100644 --- a/addons/default/visiosoft/advs-module/src/Adv/Contract/AdvInterface.php +++ b/addons/default/visiosoft/advs-module/src/Adv/Contract/AdvInterface.php @@ -4,5 +4,83 @@ use Anomaly\Streams\Platform\Entry\Contract\EntryInterface; interface AdvInterface extends EntryInterface { + public function is_enabled($slug); + + public function is_enabled_extension($slug); + + public function is_active($id); + + public function getAdv($id = null, $nullable_ad = false, $trashed = false); + + public function userAdv($nullable_ad = false, $checkRole = true); + + public function getAdvByCat($cat_id); + + public function pendingAdvsByUser(); + + public function favsAdvsByUser($fav_ids); + + public function myAdvsByUser(); + + public function foreignCurrency($currency, $price, $isUpdate, $settings); + + public function popularAdvs(); + + public function advsofDay(); + + public function statusAds($id, $status); + + public function finish_at_Ads($id, $endDate); + + public function publish_at_Ads($id); + + public function getLastUserAdv(); + + public function getLocationNames($advs); + + public function isAdv($id); + + public function addCart($item, $quantity = 1, $name = null); + + public function getAdvDetailLinkByModel($object, $type = null); + + public function getAdvDetailLinkByAdId($id); + + public function getAdvimage($id); + + public function getLatestField($slug); + + public function updateStock($id, $quantity); + + public function stockControl($id, $quantity); + + public function saveCustomField($category_id, $field_id, $name); + + public function customfields(); + + public function priceFormat($adv); + + public function AddAdsDefaultCoverImage($ad); + + public function GetAdsDefaultCoverImageByAdId($id); + + public function viewed_Ad($id); + + public function getRecommended($id); + + public function authControl(); + + public function inStock(); + + public function getCity(); + + public function getDistrict(); + + public function getNeighborhood(); + + public function getVillage(); + public function expired(); + + public function getProductOptionsValues(); } diff --git a/addons/default/visiosoft/advs-module/src/Adv/Contract/AdvRepositoryInterface.php b/addons/default/visiosoft/advs-module/src/Adv/Contract/AdvRepositoryInterface.php index 4118d90a4..589404ee8 100644 --- a/addons/default/visiosoft/advs-module/src/Adv/Contract/AdvRepositoryInterface.php +++ b/addons/default/visiosoft/advs-module/src/Adv/Contract/AdvRepositoryInterface.php @@ -44,4 +44,10 @@ interface AdvRepositoryInterface extends EntryRepositoryInterface public function getByUsersIDs($usersIDs); public function getPopular(); + + public function getName($id); + + public function approveAds($adsIDs); + + public function getUserAds($userID = null); } diff --git a/addons/default/visiosoft/advs-module/src/Adv/Form/AdvFormBuilder.php b/addons/default/visiosoft/advs-module/src/Adv/Form/AdvFormBuilder.php index 0623c5ca6..8f58892f5 100644 --- a/addons/default/visiosoft/advs-module/src/Adv/Form/AdvFormBuilder.php +++ b/addons/default/visiosoft/advs-module/src/Adv/Form/AdvFormBuilder.php @@ -60,7 +60,8 @@ class AdvFormBuilder extends FormBuilder ], 'files', 'popular_adv', - 'adv_day' + 'adv_day', + 'product_options_value' ]; protected $category = null; diff --git a/addons/default/visiosoft/advs-module/src/AdvsModule.php b/addons/default/visiosoft/advs-module/src/AdvsModule.php index 0eda5defc..e7835c641 100644 --- a/addons/default/visiosoft/advs-module/src/AdvsModule.php +++ b/addons/default/visiosoft/advs-module/src/AdvsModule.php @@ -37,9 +37,22 @@ class AdvsModule extends Module ], ], ], + 'product_options' => [ + 'title' => 'visiosoft.module.advs::section.product_options.title', + 'buttons' => [ + 'new_productoption', + ], + ], + 'productoptions_value' => [ + 'title' => 'visiosoft.module.advs::section.productoptions_value.title', + 'buttons' => [ + 'new_productoptions_value', + ], + ], + 'option_configuration', 'assets_clear' => [ - 'title' => 'visiosoft.module.advs::section.assets_clear.name', - 'href' => '/admin/assets/clear', + 'title' => 'visiosoft.module.advs::section.assets_clear.name', + 'href' => '/admin/assets/clear', ] // 'custom_fields' => [ // 'buttons' => [ diff --git a/addons/default/visiosoft/advs-module/src/AdvsModulePlugin.php b/addons/default/visiosoft/advs-module/src/AdvsModulePlugin.php index 475def11a..40186316b 100644 --- a/addons/default/visiosoft/advs-module/src/AdvsModulePlugin.php +++ b/addons/default/visiosoft/advs-module/src/AdvsModulePlugin.php @@ -7,9 +7,9 @@ use Visiosoft\AdvsModule\Adv\Command\appendRequestURL; use Visiosoft\AdvsModule\Adv\Command\GetAd; use Visiosoft\AdvsModule\Adv\Command\getExchange; use Visiosoft\AdvsModule\Adv\Command\getPopular; +use Visiosoft\AdvsModule\Adv\Command\GetUserAds; use Visiosoft\AdvsModule\Adv\Command\isActive; use Visiosoft\AdvsModule\Adv\Command\LatestAds; -use Visiosoft\AdvsModule\Adv\Contract\AdvRepositoryInterface; use Visiosoft\AdvsModule\Currency\Currency; use Visiosoft\AdvsModule\Currency\CurrencyFormat; @@ -78,6 +78,12 @@ class AdvsModulePlugin extends Plugin ->get(); } ), + new \Twig_SimpleFunction( + 'getUserAds', + function ($userID = null) { + return $this->dispatch(new GetUserAds($userID)); + } + ), new \Twig_SimpleFunction( 'getUserPassiveAdvs', function ($user = null) { diff --git a/addons/default/visiosoft/advs-module/src/AdvsModuleServiceProvider.php b/addons/default/visiosoft/advs-module/src/AdvsModuleServiceProvider.php index 74041899a..1070f7bb7 100644 --- a/addons/default/visiosoft/advs-module/src/AdvsModuleServiceProvider.php +++ b/addons/default/visiosoft/advs-module/src/AdvsModuleServiceProvider.php @@ -15,6 +15,12 @@ use Visiosoft\AdvsModule\Http\Middleware\SetLang; use Visiosoft\AdvsModule\Listener\AddAdvsSettingsScript; use Visiosoft\AdvsModule\Option\Contract\OptionRepositoryInterface; use Visiosoft\AdvsModule\Option\OptionRepository; +use Visiosoft\AdvsModule\OptionConfiguration\Contract\OptionConfigurationRepositoryInterface; +use Visiosoft\AdvsModule\OptionConfiguration\OptionConfigurationRepository; +use Visiosoft\AdvsModule\Productoption\Contract\ProductoptionRepositoryInterface; +use Visiosoft\AdvsModule\Productoption\ProductoptionRepository; +use Visiosoft\AdvsModule\ProductoptionsValue\Contract\ProductoptionsValueRepositoryInterface; +use Visiosoft\AdvsModule\ProductoptionsValue\ProductoptionsValueRepository; use Visiosoft\LocationModule\Village\Contract\VillageRepositoryInterface; use Visiosoft\LocationModule\Village\VillageRepository; use Visiosoft\LocationModule\Village\VillageModel; @@ -75,6 +81,10 @@ class AdvsModuleServiceProvider extends AddonServiceProvider ], 'admin/advs-users/choose/{advId}' => 'Visiosoft\AdvsModule\Http\Controller\Admin\AdvsController@choose', 'admin/class/actions/{id}/{type}' => 'Visiosoft\AdvsModule\Http\Controller\Admin\AdvsController@actions', + 'admin/advs/export' => [ + 'as' => 'advs::exportAdvs', + 'uses' => 'Visiosoft\AdvsModule\Http\Controller\Admin\AdvsController@exportAdvs', + ], // advsController 'advs/list' => [ @@ -210,6 +220,28 @@ class AdvsModuleServiceProvider extends AddonServiceProvider // Others 'advs/ttr/{id}' => 'Visiosoft\PackagesModule\Http\Controller\packageFEController@advsStatusbyUser', + + //Configurations Admin Controller + 'admin/advs/option_configuration/create' => [ + 'as' => 'visiosoft.module.advs::configrations.create', + 'uses' => 'Visiosoft\AdvsModule\Http\Controller\Admin\OptionConfigurationController@create', + ], + 'admin/advs/option_configuration' => [ + 'as' => 'visiosoft.module.advs::configrations.index', + 'uses' => 'Visiosoft\AdvsModule\Http\Controller\Admin\OptionConfigurationController@index', + ], + + //Configuration Controller + 'advs/option_configuration/create' => [ + 'as' => 'visiosoft.module.advs::user.configrations.create', + 'uses' => 'Visiosoft\AdvsModule\Http\Controller\OptionConfigurationController@create', + ], + 'conf/addCart' => [ + 'as' => 'configuration::add_cart', + 'uses' => 'Visiosoft\AdvsModule\Http\Controller\OptionConfigurationController@confAddCart', + ], + + ]; /** @@ -290,6 +322,9 @@ class AdvsModuleServiceProvider extends AddonServiceProvider CategoryRepositoryInterface::class => CategoryRepository::class, CountryRepositoryInterface::class => CountryRepository::class, OptionRepositoryInterface::class => OptionRepository::class, + ProductoptionRepositoryInterface::class => ProductoptionRepository::class, + OptionConfigurationRepositoryInterface::class => OptionConfigurationRepository::class, + ProductoptionsValueRepositoryInterface::class => ProductoptionsValueRepository::class, ]; /** @@ -344,22 +379,30 @@ class AdvsModuleServiceProvider extends AddonServiceProvider 'general_settings' => [ 'title' => 'visiosoft.module.advs::button.general_settings', 'href' => '/admin/settings/modules/visiosoft.module.advs', + 'page' => 'anomaly.module.settings' ], 'theme_settings' => [ 'title' => 'visiosoft.theme.defaultadmin::section.theme_settings.name', 'href' => url('admin/settings/themes/' . setting_value('streams::standard_theme')), + 'page' => 'anomaly.module.settings' ], 'assets_clear' => [ 'title' => 'visiosoft.module.advs::section.assets_clear.name', 'href' => route('assets_clear'), + 'page' => 'anomaly.module.settings' ], + 'export' => [ + 'title' => 'visiosoft.module.advs::button.export', + 'href' => route('advs::exportAdvs'), + 'page' => 'visiosoft.module.advs' + ] ]; foreach ($settings_url as $key => $value) { - $addonCollection->get('anomaly.module.settings')->addSection($key, $value); + $addonCollection->get($value['page'])->addSection($key, $value); } - // Disable file versioning + // Disable file versioning $fileModel->disableVersioning(); } diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/AdvsController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/AdvsController.php index e0268b5d5..2321df840 100644 --- a/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/AdvsController.php +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/AdvsController.php @@ -25,6 +25,8 @@ use Visiosoft\AdvsModule\Option\Contract\OptionRepositoryInterface; use Visiosoft\CatsModule\Category\CategoryModel; use Visiosoft\LocationModule\City\CityModel; use Visiosoft\AlgoliaModule\Search\SearchModel; +use Maatwebsite\Excel\Facades\Excel; +use Visiosoft\AdvsModule\Adv\AdvsExport; class AdvsController extends AdminController { @@ -106,6 +108,10 @@ class AdvsController extends AdminController 'replicate' => [ 'text' => 'Replicate', ], + 'create_configration' => [ + 'text' => trans('visiosoft.module.advs::button.create_configurations'), + 'href' => route('visiosoft.module.advs::configrations.create')."?ad={entry.id}" + ], ], ], ]); @@ -341,4 +347,9 @@ class AdvsController extends AdminController Return Back"; echo "
Return Admin Panel"; } + + + public function exportAdvs(){ + return Excel::download(new AdvsExport(), 'advs-' . time() . '.xlsx'); + } } diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/OptionConfigurationController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/OptionConfigurationController.php new file mode 100644 index 000000000..2115f408f --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/OptionConfigurationController.php @@ -0,0 +1,32 @@ +render(); + } + + /** + * Create a new entry. + * + * @param OptionConfigurationFormBuilder $form + * @return \Symfony\Component\HttpFoundation\Response + */ + public function create(OptionConfigurationFormBuilder $form) + { + $form->setOption('redirect', route('visiosoft.module.advs::configrations.index')); + return $form->render(); + } +} diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/ProductoptionsController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/ProductoptionsController.php new file mode 100644 index 000000000..c4e57e82d --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/ProductoptionsController.php @@ -0,0 +1,43 @@ +render(); + } + + /** + * Create a new entry. + * + * @param ProductoptionFormBuilder $form + * @return \Symfony\Component\HttpFoundation\Response + */ + public function create(ProductoptionFormBuilder $form) + { + return $form->render(); + } + + /** + * Edit an existing entry. + * + * @param ProductoptionFormBuilder $form + * @param $id + * @return \Symfony\Component\HttpFoundation\Response + */ + public function edit(ProductoptionFormBuilder $form, $id) + { + return $form->render($id); + } +} diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/ProductoptionsValueController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/ProductoptionsValueController.php new file mode 100644 index 000000000..2a5acfb58 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/Admin/ProductoptionsValueController.php @@ -0,0 +1,43 @@ +render(); + } + + /** + * Create a new entry. + * + * @param ProductoptionsValueFormBuilder $form + * @return \Symfony\Component\HttpFoundation\Response + */ + public function create(ProductoptionsValueFormBuilder $form) + { + return $form->render(); + } + + /** + * Edit an existing entry. + * + * @param ProductoptionsValueFormBuilder $form + * @param $id + * @return \Symfony\Component\HttpFoundation\Response + */ + public function edit(ProductoptionsValueFormBuilder $form, $id) + { + return $form->render($id); + } +} diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/OptionConfigurationController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/OptionConfigurationController.php new file mode 100644 index 000000000..b3f4ce198 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/OptionConfigurationController.php @@ -0,0 +1,61 @@ +advRepository = $advRepository; + $this->adv_model = $advModel; + $this->optionConfigurationModel = $optionConfigurationModel; + $this->optionConfigurationRepository = $optionConfigurationRepository; + parent::__construct(); + } + + public function create(OptionConfigurationFormBuilder $form) + { + $form->setOption('redirect', route('advs_preview', [request('ad')])); + return $form->render(); + } + + public function confAddCart() + { + + if($conf = $this->optionConfigurationRepository->find($this->request->configuration)) + { + $conf->name = $conf->getName(); + + $this->adv_model->authControl(); + + if ($conf->stock < $this->request->quantity){ + return redirect()->back()->with('warning', [trans('visiosoft.module.carts::message.error1in2')]); + }else{ + $cart = $this->dispatch(new GetCart()); + $cart->add($conf, $this->request->quantity); + return $this->redirect->to(route('visiosoft.module.carts::cart')); + } + } + } +} diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php index bea56a763..2204a7e44 100644 --- a/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php @@ -19,6 +19,10 @@ use Visiosoft\AdvsModule\Adv\Event\showAdPhone; use Visiosoft\AdvsModule\Adv\Event\viewAd; use Visiosoft\AdvsModule\Adv\Form\AdvFormBuilder; use Visiosoft\AdvsModule\Option\Contract\OptionRepositoryInterface; +use Visiosoft\AdvsModule\OptionConfiguration\Contract\OptionConfigurationRepositoryInterface; +use Visiosoft\AdvsModule\OptionConfiguration\OptionConfigurationModel; +use Visiosoft\AdvsModule\Productoption\Contract\ProductoptionRepositoryInterface; +use Visiosoft\AdvsModule\ProductoptionsValue\Contract\ProductoptionsValueRepositoryInterface; use Visiosoft\AlgoliaModule\Search\SearchModel; use Visiosoft\CatsModule\Category\CategoryModel; use Visiosoft\CatsModule\Category\Contract\CategoryRepositoryInterface; @@ -32,6 +36,7 @@ use Visiosoft\LocationModule\Neighborhood\NeighborhoodModel; use Visiosoft\LocationModule\Village\VillageModel; use Visiosoft\PackagesModule\Package\PackageModel; use Visiosoft\ProfileModule\Adress\Contract\AdressRepositoryInterface; +use Visiosoft\SeoModule\Legend\Command\AddMetaData; class AdvsController extends PublicController { @@ -40,6 +45,10 @@ class AdvsController extends PublicController private $adv_model; private $adv_repository; + private $optionConfigurationRepository; + private $productOptionRepository; + private $productOptionsValueRepository; + private $country_repository; private $city_model; @@ -66,6 +75,10 @@ class AdvsController extends PublicController AdvModel $advModel, AdvRepositoryInterface $advRepository, + OptionConfigurationRepositoryInterface $optionConfigurationRepository, + ProductoptionRepositoryInterface $productOptionRepository, + ProductoptionsValueRepositoryInterface $productOptionsValueRepository, + CountryRepositoryInterface $country_repository, CityModel $city_model, @@ -94,6 +107,10 @@ class AdvsController extends PublicController $this->adv_model = $advModel; $this->adv_repository = $advRepository; + $this->optionConfigurationRepository = $optionConfigurationRepository; + $this->productOptionRepository = $productOptionRepository; + $this->productOptionsValueRepository = $productOptionsValueRepository; + $this->country_repository = $country_repository; $this->city_model = $city_model; @@ -254,15 +271,6 @@ class AdvsController extends PublicController if ($categoryId) { - $seo_keywords = $this->category_model->getMeta_keywords($categoryId->id); - $seo_description = $this->category_model->getMeta_description($categoryId->id); - $seo_title = $this->category_model->getMeta_title($categoryId->id); - - $this->template->set('og_description', $seo_description); - $this->template->set('meta_description', $seo_description); - $this->template->set('meta_title', $seo_title); - $this->template->set('meta_keywords', implode(', ', $seo_keywords)); - $mainCats = $this->category_model->getMains($categoryId->id); $current_cat = $this->category_model->getCat($categoryId->id); $mainCats[] = [ @@ -369,34 +377,7 @@ class AdvsController extends PublicController $viewType = $this->requestHttp->cookie('viewType'); - $catText = ''; - if (!$allCats) { - if (count($mainCats) == 1 || count($mainCats) == 2) { - $catText = end($mainCats)['val']; - } elseif (count($mainCats) > 2) { - $catArray = array_slice($mainCats, 2); - $catText = ''; - $loop = 0; - foreach ($catArray as $cat) { - $catText = !$loop ? $catText . $cat['val'] : $catText . ' ' . $cat['val']; - $loop++; - } - } - - if ($cityId) { - $catText = "$cityId->name $catText"; - } - - $this->template->set('showTitle', false); - $this->template->set('meta_title', $catText); - } - - $user = null; - if (!empty($param['user'])) { - $user = $this->userRepository->find($param['user']); - $this->template->set('showTitle', false); - $this->template->set('meta_title', $user->name() . ' ' . trans('visiosoft.module.advs::field.ads')); - } + list('catText' => $catText, 'user' => $user) = $this->handleSeo($categoryId, $mainCats, $cityId); $compact = compact('advs', 'countries', 'mainCats', 'subCats', 'checkboxes', 'param', 'user', 'featured_advs', 'viewType', 'topfields', 'selectDropdown', 'selectRange', 'selectImage', 'ranges', @@ -405,6 +386,71 @@ class AdvsController extends PublicController return $this->viewTypeBasedRedirect($viewType, $compact); } + private function handleSeo($category, $mainCats, $city) + { + $showTitle = true; + $metaTitle = ''; + $catText = ''; + + if ($category) { + $seo_keywords = $this->category_model->getMeta_keywords($category->id); + $seo_description = $this->category_model->getMeta_description($category->id); + + $metaTitle = $this->category_model->getMeta_title($category->id); + $metaDesc = $seo_description; + + $this->template->set('meta_keywords', implode(', ', $seo_keywords)); + + if ($city) { + $catText = "$city->name $catText"; + } elseif (count($mainCats) == 1 || count($mainCats) == 2) { + $catText = end($mainCats)['val']; + } elseif (count($mainCats) > 2) { + $catArray = array_slice($mainCats, 2); + $loop = 0; + foreach ($catArray as $cat) { + $catText = !$loop ? $catText . $cat['val'] : $catText . ' ' . $cat['val']; + $loop++; + } + } + $metaTitle = $catText ?: $metaTitle; + + if (is_module_installed('visiosoft.module.seo')) { + $metaData = dispatch_now(new AddMetaData($category->id, 'category')); + if ($metaData) { + list('metaTitle' => $seoMetaTitle, 'metaDesc' => $seoMetaDesc) = $metaData; + $metaTitle = $seoMetaTitle ?: $metaTitle; + $metaDesc = $seoMetaDesc ?: $metaDesc; + } + } + + $this->template->set('og_description', $metaDesc); + $this->template->set('meta_description', $metaDesc); + + $showTitle = false; + } + + $user = null; + if (\request()->user) { + $user = $this->userRepository->find(\request()->user); + $showTitle = false; + $metaTitle = $user->name() . ' ' . trans('visiosoft.module.advs::field.ads'); + } + + $this->template->set('showTitle', $showTitle); + $this->template->set('meta_title', $metaTitle); + + // Set rel="canonical" + if (\request()->sort_by || \request()->doping) { + $canonParam = \request()->all(); + unset($canonParam['sort_by'], $canonParam['doping']); + $canonUrl = fullLink($canonParam, \request()->url()); + $this->template->set('additional_meta', ""); + } + + return compact('catText', 'user'); + } + public function viewTypeBasedRedirect($viewType, $compact) { if (!$viewType) { @@ -433,7 +479,7 @@ class AdvsController extends PublicController $adv = $this->adv_repository->getListItemAdv($id); - if ($adv && !$adv->expired()) { + if ($adv && (!$adv->expired() || $adv->created_by_id === \auth()->id())) { if ($this->adv_model->is_enabled('complaints')) { $complaints = ComplaintsComplainTypesEntryModel::all(); @@ -484,13 +530,6 @@ class AdvsController extends PublicController $this->event->dispatch(new viewAd($adv));//view ad - $this->template->set('meta_keywords', implode(',', explode(' ', $adv->name))); - $this->template->set('meta_description', strip_tags($adv->advs_desc, '')); - $this->template->set('showTitle', false); - $this->template->set( - 'meta_title', - $adv->name . " " . end($categories)['name'] . ' ' . setting_value('streams::domain') - ); if (substr($adv->cover_photo, 0, 4) === "http") { $coverPhoto = $adv->cover_photo; } else { @@ -500,11 +539,38 @@ class AdvsController extends PublicController $coverPhoto = \Illuminate\Support\Facades\Request::root() . '/' . $adv->cover_photo; } } - $this->template->set('meta_image', $coverPhoto); - if ($adv->created_by_id == isset(auth()->user()->id) or $adv->status == "approved") { + $metaTitle = $adv->name . " " . end($categories)['name'] . ' ' . setting_value('streams::domain'); + $metaDesc = strip_tags($adv->advs_desc, ''); + + if (is_module_installed('visiosoft.module.seo')) { + $metaData = dispatch_now(new AddMetaData($adv->cat1, 'ad', $adv->id)); + if ($metaData) { + list('metaTitle' => $seoMetaTitle, 'metaDesc' => $seoMetaDesc) = $metaData; + $metaTitle = $seoMetaTitle ?: $metaTitle; + $metaDesc = $seoMetaDesc ?: $metaDesc; + } + } + + $coverPhotoInfo = pathinfo($coverPhoto); + if (substr($coverPhotoInfo['basename'], 0, 3) === "tn-") { + $ogImage = substr(basename($coverPhotoInfo['basename']), 3); + $ogImage = $coverPhotoInfo['dirname'] . "/$ogImage"; + } else { + $ogImage = $coverPhoto; + } + + $this->template->set('meta_image', $ogImage); + $this->template->set('meta_keywords', implode(',', explode(' ', $adv->name))); + $this->template->set('meta_description', $metaDesc); + $this->template->set('showTitle', false); + $this->template->set('meta_title', $metaTitle); + + $configurations = $this->optionConfigurationRepository->getConf($adv->id); + + if ($adv->created_by_id == isset(auth()->user()->id) or $adv->status == "approved") { return $this->view->make('visiosoft.module.advs::ad-detail/detail', compact('adv', 'complaints', - 'recommended_advs', 'categories', 'features', 'comments', 'qrSRC', 'options')); + 'recommended_advs', 'categories', 'features', 'comments', 'qrSRC', 'options', 'configurations')); } else { return back(); } @@ -545,7 +611,7 @@ class AdvsController extends PublicController $isActiveDopings = $this->adv_model->is_enabled('dopings'); return $this->view->make('visiosoft.module.advs::new-ad/preview/preview', - compact('adv', 'categories', 'features', 'isActiveDopings', 'options')); + compact('adv', 'categories', 'features', 'isActiveDopings', 'configurations')); } public function getLocations() @@ -643,8 +709,7 @@ class AdvsController extends PublicController CategoryRepositoryInterface $categoryRepository, Dispatcher $events, AdvModel $advModel, - AdressRepositoryInterface $address, - CategoryModel $categoryModel + AdressRepositoryInterface $address ) { if (!Auth::user()) { @@ -659,10 +724,21 @@ class AdvsController extends PublicController /* Update Adv */ $adv = AdvsAdvsEntryModel::find($request->update_id); + + //Set Old Price + $old_price = ($adv->slug == "") ? $request->price : $adv->price; + $adv->old_price = $old_price; + + + $allowPendingAdCreation = false; if ($advModel->is_enabled('packages') and $adv->slug == "") { $cat = app('Visiosoft\PackagesModule\Http\Controller\PackageFEController')->AdLimitForNewAd($request); if (!is_null($cat)) { - return redirect('/'); + if (array_key_exists('allowPendingAds', $cat)) { + $allowPendingAdCreation = $cat['allowPendingAds']; + } else { + return redirect($cat['redirect']); + } } } @@ -717,7 +793,7 @@ class AdvsController extends PublicController } // Auto approve - if (setting_value('visiosoft.module.advs::auto_approve')) { + if (setting_value('visiosoft.module.advs::auto_approve') && !$allowPendingAdCreation) { $defaultAdPublishTime = setting_value('visiosoft.module.advs::default_published_time'); $adv->update([ 'status' => 'approved', @@ -762,7 +838,11 @@ class AdvsController extends PublicController return redirect('/advs/edit_advs/' . $request->update_id)->with('cats_d', $cats_d)->with('request', $request); } event(new CreatedAd($adv)); - return redirect(route('advs_preview', [$request->update_id])); + if ($allowPendingAdCreation) { + return redirect(route("visiosoft.module.packages::buy_package") . '?ad_id=' . $adv->id); + } else { + return redirect(route('advs_preview', [$request->update_id])); + } } /* New Create Adv */ diff --git a/addons/default/visiosoft/advs-module/src/OptionConfiguration/Contract/OptionConfigurationInterface.php b/addons/default/visiosoft/advs-module/src/OptionConfiguration/Contract/OptionConfigurationInterface.php new file mode 100644 index 000000000..99be0f686 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/OptionConfiguration/Contract/OptionConfigurationInterface.php @@ -0,0 +1,8 @@ +has('ad')) + { + $ad = $advRepository->find(request('ad')); + + $options = $ad->getProductOptionsValues()->groupBy('product_option_id'); + + $options_fields = array(); + + foreach ($options as $option_id => $option_values) + { + if($option = $productOptionRepository->find($option_id)) + { + $options_fields['option-'.$option->getId()] = [ + 'type' => 'anomaly.field_type.select', + 'label' => $option->getName(), + 'required' => true, + 'config' => [ + 'options' => $option_values->pluck('name','id')->all(), + ] + ]; + } + } + $fields = array_merge($options_fields, ['price', 'currency', 'stock']); + + $builder->setFields($fields); + } + } +} diff --git a/addons/default/visiosoft/advs-module/src/OptionConfiguration/Form/OptionConfigurationFormHandler.php b/addons/default/visiosoft/advs-module/src/OptionConfiguration/Form/OptionConfigurationFormHandler.php new file mode 100644 index 000000000..da93db1c2 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/OptionConfiguration/Form/OptionConfigurationFormHandler.php @@ -0,0 +1,35 @@ +canSave()) { + return; + } + + $parameters = $builder->getPostData(); + $parameters['parent_adv_id'] = request()->get('ad'); + + $option_json = array(); + + foreach ($parameters as $key => $parameter_value) { + if (substr($key, 0, 7) === "option-") { + $option_id = substr($key, 7); + $option_json[$option_id] = $parameter_value; + unset($parameters[$key]); + } + } + $option_json = ['option_json' => json_encode($option_json)]; + $configration = array_merge($parameters, $option_json); + + + $entry = $repository->create($configration); + $builder->setFormEntry($entry); + } +} diff --git a/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationCollection.php b/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationCollection.php new file mode 100644 index 000000000..64c3e2d1d --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationCollection.php @@ -0,0 +1,8 @@ +find($this->parent_adv_id)) + { + $configurations_item = json_decode($this->option_json, true); + $option_group_value = ""; + + foreach ($configurations_item as $option_id => $value) { + $value_entry = app(ProductoptionsValueRepositoryInterface::class)->find($value); + $option_group_value .= " " . $value_entry->getName(); + } + + return $adv->name . ' | ' . trim($option_group_value, ' '); + } + } +} diff --git a/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationObserver.php b/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationObserver.php new file mode 100644 index 000000000..a954f8a1d --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationObserver.php @@ -0,0 +1,8 @@ +model = $model; + $this->advRepository = $advRepository; + $this->productOptionsValueRepository = $productoptionsValueRepository; + } + + public function createConfigration($ad_id, $price, $currency, $stock, $option_json) + { + return $this->create([ + 'parent_adv_id' => $ad_id, + 'price' => $price, + 'currency' => $currency, + 'stock' => $stock, + 'option_json' => $option_json, + ]); + } + + public function getConf($ad_id) + { + $adv = $this->advRepository->find($ad_id); + $configurations = array(); + + $product_configurations = $this->model->where('stock', '>', '0')->where('parent_adv_id', $ad_id)->get(); + + foreach ($product_configurations as $product_configuration) { + $configurations_item = json_decode($product_configuration->option_json, true); + $option_group_value = ""; + foreach ($configurations_item as $option_id => $value) { + $value_entry = $this->productOptionsValueRepository->find($value); + $option_group_value .= " " . $value_entry->getName(); + } + $configurations[$product_configuration->getId()] = [ + 'name' => $option_group_value, + 'price' => $product_configuration->price, + 'currency' => $product_configuration->currency, + 'stock' => $product_configuration->stock, + 'adv' => $adv->name . ' (' . trim($option_group_value, ' ') . ')', + ]; + } + + return $configurations; + } +} diff --git a/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationRouter.php b/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationRouter.php new file mode 100644 index 000000000..87fe2c59c --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/OptionConfiguration/OptionConfigurationRouter.php @@ -0,0 +1,8 @@ +setColumns([ + 'name' => [ + 'value' => function (EntryModel $entry, + AdvRepositoryInterface $advRepository) { + + $adv = $advRepository->findById($entry->parent_adv_id); + return "parent_adv_id]) . "'>$adv->name"; + } + ], + 'option_json' => [ + 'value' => function (EntryModel $entry, + ProductoptionRepositoryInterface $productOptionRepository, + ProductoptionsValueRepositoryInterface $productOptionsValueRepository) { + + $values = json_decode($entry->option_json); + $text = ""; + + foreach ($values as $key => $value) { + $productOption = $productOptionRepository->findBy('entry_id', $key); + $productOptionsValue = $productOptionsValueRepository->findBy('entry_id', $value); + + $text .= + '' . + $productOption->name . ': ' . $productOptionsValue->name . + ''; + + } + + return $text; + } + ], + ]); + } +} diff --git a/addons/default/visiosoft/advs-module/src/OptionHandler/CategoriesOptions.php b/addons/default/visiosoft/advs-module/src/OptionHandler/CategoriesOptions.php new file mode 100644 index 000000000..ce3958242 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/OptionHandler/CategoriesOptions.php @@ -0,0 +1,21 @@ +categoryRepository = $categoryRepository; + } + + public function handle(SelectFieldType $fieldType) + { + $categories = $this->categoryRepository->mainCats(); + $options = $categories->pluck('name', 'id')->all(); + $fieldType->setOptions($options); + } +} \ No newline at end of file diff --git a/addons/default/visiosoft/advs-module/src/Productoption/Contract/ProductoptionInterface.php b/addons/default/visiosoft/advs-module/src/Productoption/Contract/ProductoptionInterface.php new file mode 100644 index 000000000..66e68c2dc --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Productoption/Contract/ProductoptionInterface.php @@ -0,0 +1,8 @@ +name; + } +} diff --git a/addons/default/visiosoft/advs-module/src/Productoption/ProductoptionObserver.php b/addons/default/visiosoft/advs-module/src/Productoption/ProductoptionObserver.php new file mode 100644 index 000000000..e1a582328 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Productoption/ProductoptionObserver.php @@ -0,0 +1,8 @@ +model = $model; + } + + public function getWithCategoryId($id) + { + return $this->findAllBy('category',$id); + } +} diff --git a/addons/default/visiosoft/advs-module/src/Productoption/ProductoptionRouter.php b/addons/default/visiosoft/advs-module/src/Productoption/ProductoptionRouter.php new file mode 100644 index 000000000..8067574e6 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Productoption/ProductoptionRouter.php @@ -0,0 +1,8 @@ +getWithCategoryId(7)->pluck('id')->all(); + + $values = $value_repository->getWithOptionsId($options_id); + return parent::setTableEntries($values); + } + /** + * The table views. + * + * @var array|string + */ + protected $views = []; + + /** + * The table filters. + * + * @var array|string + */ + protected $filters = []; + + /** + * The table columns. + * + * @var array|string + */ + protected $columns = []; + + /** + * The table buttons. + * + * @var array|string + */ + protected $buttons = [ + 'edit' + ]; + + /** + * The table actions. + * + * @var array|string + */ + protected $actions = [ + 'delete' + ]; + + /** + * The table options. + * + * @var array + */ + protected $options = []; + + /** + * The table assets. + * + * @var array + */ + protected $assets = []; + +} diff --git a/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Contract/ProductoptionsValueInterface.php b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Contract/ProductoptionsValueInterface.php new file mode 100644 index 000000000..82fbb4f25 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Contract/ProductoptionsValueInterface.php @@ -0,0 +1,8 @@ +name; + } +} diff --git a/addons/default/visiosoft/advs-module/src/ProductoptionsValue/ProductoptionsValueObserver.php b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/ProductoptionsValueObserver.php new file mode 100644 index 000000000..0e323b8d3 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/ProductoptionsValueObserver.php @@ -0,0 +1,8 @@ +model = $model; + } + + public function getWithOptionsId(array $ids) + { + return $this->newQuery()->whereIn('product_option_id', $ids)->get(); + } +} diff --git a/addons/default/visiosoft/advs-module/src/ProductoptionsValue/ProductoptionsValueRouter.php b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/ProductoptionsValueRouter.php new file mode 100644 index 000000000..e912ae9bf --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/ProductoptionsValueRouter.php @@ -0,0 +1,8 @@ + + * @author Ryan Thompson + */ +class LookupTableBuilder extends \Anomaly\MultipleFieldType\Table\LookupTableBuilder +{ + public function setTableEntries(\Illuminate\Support\Collection $entries) + { + $option_repository = app(ProductoptionRepositoryInterface::class); + $value_repository = app(ProductoptionsValueRepositoryInterface::class); + + $options_id = $option_repository->getWithCategoryId(7)->pluck('id')->all(); + + $values = $value_repository->getWithOptionsId($options_id); + return parent::setTableEntries($values); + } + + protected $filters = [ + 'product_option' + ]; + + /** + * The table columns. + * + * @var array + */ + protected $columns = [ + 'name', 'product_option' + ]; +} diff --git a/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Support/MultipleFieldType/SelectedTableBuilder.php b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Support/MultipleFieldType/SelectedTableBuilder.php new file mode 100644 index 000000000..dccc81c96 --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Support/MultipleFieldType/SelectedTableBuilder.php @@ -0,0 +1,21 @@ + + * @author Ryan Thompson + */ +class SelectedTableBuilder extends \Anomaly\MultipleFieldType\Table\SelectedTableBuilder +{ + + /** + * The table columns. + * + * @var array + */ + protected $columns = [ + 'name', 'product_option' + ]; +} diff --git a/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Support/MultipleFieldType/ValueTableBuilder.php b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Support/MultipleFieldType/ValueTableBuilder.php new file mode 100644 index 000000000..b9a42c19b --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Support/MultipleFieldType/ValueTableBuilder.php @@ -0,0 +1,21 @@ + + * @author Ryan Thompson + */ +class ValueTableBuilder extends \Anomaly\MultipleFieldType\Table\ValueTableBuilder +{ + + /** + * The table columns. + * + * @var array + */ + protected $columns = [ + 'name', 'product_option' + ]; +} diff --git a/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Table/ProductoptionsValueTableBuilder.php b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Table/ProductoptionsValueTableBuilder.php new file mode 100644 index 000000000..8c331821d --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/ProductoptionsValue/Table/ProductoptionsValueTableBuilder.php @@ -0,0 +1,68 @@ + [ + 'value' => 'entry.name' + ], + 'product_option', + ]; + + /** + * The table buttons. + * + * @var array|string + */ + protected $buttons = [ + 'edit' + ]; + + /** + * The table actions. + * + * @var array|string + */ + protected $actions = [ + 'delete' + ]; + + /** + * The table options. + * + * @var array + */ + protected $options = []; + + /** + * The table assets. + * + * @var array + */ + protected $assets = []; + +} diff --git a/addons/default/visiosoft/advs-module/src/Support/Command/CheckModuleInstalled.php b/addons/default/visiosoft/advs-module/src/Support/Command/CheckModuleInstalled.php new file mode 100644 index 000000000..d3b82188e --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Support/Command/CheckModuleInstalled.php @@ -0,0 +1,23 @@ +moduleNamespace = $moduleNamespace; + $this->checkEnabled = $checkEnabled; + } + + public function handle(ModuleRepositoryInterface $moduleRepository) + { + if ($module = $moduleRepository->findBy('namespace', $this->moduleNamespace)) { + return $this->checkEnabled ? $module->installed && $module->enabled : boolval($module->installed); + } + return false; + } +} diff --git a/addons/default/visiosoft/advs-module/src/Support/Command/GetBuyables.php b/addons/default/visiosoft/advs-module/src/Support/Command/GetBuyables.php new file mode 100644 index 000000000..05d5fb29c --- /dev/null +++ b/addons/default/visiosoft/advs-module/src/Support/Command/GetBuyables.php @@ -0,0 +1,34 @@ + [ + 'name' => trans('visiosoft.module.advs::field.balances'), + 'entry_type' => 'Visiosoft\BalancesModule\Balance\BalanceModel' + ], + 'packages' => [ + 'name' => trans('visiosoft.module.advs::field.packages'), + 'entry_type' => 'Visiosoft\PackagesModule\Package\PackageModel' + ], + 'dopings' => [ + 'name' => trans('visiosoft.module.advs::field.dopings'), + 'entry_type' => 'Anomaly\Streams\Platform\Model\Dopings\DopingsDopingsEntryModel' + ], + 'advs' => [ + 'name' => trans('visiosoft.module.advs::field.advs'), + 'entry_type' => 'Visiosoft\AdvsModule\Adv\AdvModel' + ], + 'site' => [ + 'name' => trans('visiosoft.module.advs::field.site'), + 'entry_type' => 'Visiosoft\SiteModule\Addon\AddonModel' + ], + 'subscriptions' => [ + 'name' => trans('visiosoft.module.advs::field.subscriptions'), + 'entry_type' => 'Anomaly\Streams\Platform\Model\Users\UsersUsersEntryModel' + ], + ]; + } +} diff --git a/addons/default/visiosoft/advs-module/src/Support/_helpers.php b/addons/default/visiosoft/advs-module/src/Support/_helpers.php index 834968bdb..45c94b635 100644 --- a/addons/default/visiosoft/advs-module/src/Support/_helpers.php +++ b/addons/default/visiosoft/advs-module/src/Support/_helpers.php @@ -2,9 +2,33 @@ use Illuminate\Contracts\Bus\Dispatcher; use Visiosoft\AdvsModule\Adv\Command\appendRequestURL; +use Visiosoft\AdvsModule\Support\Command\CheckModuleInstalled; +use Visiosoft\AdvsModule\Support\Command\GetBuyables; -if (!function_exists('fullLink')) { +if (!function_exists('fullLink')) +{ function fullLink($request, $url, $newParameters = array()) { return app(Dispatcher::class)->dispatch(new appendRequestURL($request, $url, $newParameters)); } +} + +if (!function_exists('is_module_installed')) +{ + function is_module_installed($moduleNamespace, $checkEnabled = true) { + return dispatch_now(new CheckModuleInstalled($moduleNamespace, $checkEnabled)); + } +} + +if (!function_exists('get_buyables')) +{ + function get_buyables() { + return dispatch_now(new GetBuyables()); + } +} + +if (!function_exists('auth_id_if_null')) +{ + function auth_id_if_null($userId) { + return $userId ?: auth()->id(); + } } \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/config/settings/sections.php b/addons/default/visiosoft/base-theme/resources/config/settings/sections.php index 950b34146..7e08b05f8 100644 --- a/addons/default/visiosoft/base-theme/resources/config/settings/sections.php +++ b/addons/default/visiosoft/base-theme/resources/config/settings/sections.php @@ -9,7 +9,7 @@ return [ 'fields' => [ 'home_page_sub_categories_limit', 'navigation_title', 'navigation_action', 'date_fields', 'price_fields', 'breadcrumbs', 'ad_details', 'ad_details_tab', 'latest_and_view_all_btn', - 'register_page_instruction_logo', 'register_page_alert_link' + 'register_page_instruction_logo', 'register_page_alert_link', 'default_country' ], ], 'template' => [ diff --git a/addons/default/visiosoft/base-theme/resources/config/settings/settings.php b/addons/default/visiosoft/base-theme/resources/config/settings/settings.php index 791e3a74b..813cf0050 100644 --- a/addons/default/visiosoft/base-theme/resources/config/settings/settings.php +++ b/addons/default/visiosoft/base-theme/resources/config/settings/settings.php @@ -1,5 +1,5 @@ [ 'type' => 'anomaly.field_type.boolean', diff --git a/addons/default/visiosoft/base-theme/resources/js/phonefield.js b/addons/default/visiosoft/base-theme/resources/js/phonefield.js index 66535c2a8..0bffd3409 100644 --- a/addons/default/visiosoft/base-theme/resources/js/phonefield.js +++ b/addons/default/visiosoft/base-theme/resources/js/phonefield.js @@ -1,4 +1,6 @@ function phoneMask(fields) { + var country = document.getElementById('default-phone-country') + ? document.getElementById('default-phone-country').innerText : null; var inputQueries = document.querySelectorAll(fields); inputQueries.forEach(function (inputQuery, key) { var iti = intlTelInput(inputQuery, { @@ -8,7 +10,7 @@ function phoneMask(fields) { geoIpLookup: function (success, failure) { $.get("https://ipinfo.io", function () { }, "jsonp").always(function (resp) { - var countryCode = (resp && resp.country) ? resp.country : ""; + var countryCode = country ? country : (resp && resp.country) ? resp.country : ""; success(countryCode); }) } diff --git a/addons/default/visiosoft/base-theme/resources/lang/ar/setting.php b/addons/default/visiosoft/base-theme/resources/lang/ar/setting.php index 8221638f8..8ccab5bff 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/ar/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/ar/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'حد الفئات الفرعية للصفحة الرئيسية', ], + 'default_country' => [ + 'name' => 'صفحة التسجيل ، البلد الافتراضي للهاتف', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/az/setting.php b/addons/default/visiosoft/base-theme/resources/lang/az/setting.php index 8317d134d..d3d7a5483 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/az/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/az/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Əsas alt kateqoriyalar məhdudiyyəti', ], + 'default_country' => [ + 'name' => 'Qeydiyyat səhifəsi, telefon üçün standart ölkə', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/bn/setting.php b/addons/default/visiosoft/base-theme/resources/lang/bn/setting.php index 37dd14199..083bc581b 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/bn/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/bn/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'হোমপেজ সাব বিভাগের সীমা', ], + 'default_country' => [ + 'name' => 'ফোনের জন্য পৃষ্ঠা, ডিফল্ট দেশ নিবন্ধ করুন', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/de/setting.php b/addons/default/visiosoft/base-theme/resources/lang/de/setting.php index ec0ba8165..b535ea2ec 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/de/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/de/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Homepage Unterkategorien Limit', ], + 'default_country' => [ + 'name' => 'Registrierungsseite, Standardland für Telefon', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/el/setting.php b/addons/default/visiosoft/base-theme/resources/lang/el/setting.php index 4f4c3ecfc..7f8e37b92 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/el/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/el/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Όριο υποκατηγοριών αρχικής σελίδας', ], + 'default_country' => [ + 'name' => 'Σελίδα εγγραφής, προεπιλεγμένη χώρα για τηλέφωνο', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/en/setting.php b/addons/default/visiosoft/base-theme/resources/lang/en/setting.php index f927a8a08..01ae47cf2 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/en/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/en/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Homepage Sub Categories Limit', ], + 'default_country' => [ + 'name' => 'Register page, default country for phone', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/es/setting.php b/addons/default/visiosoft/base-theme/resources/lang/es/setting.php index f6a949c76..d505c2f04 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/es/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/es/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Límite de subcategorías de la página de inicio', ], + 'default_country' => [ + 'name' => 'Página de registro, país predeterminado para el teléfono', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/fa/setting.php b/addons/default/visiosoft/base-theme/resources/lang/fa/setting.php index d77025933..3c0671d87 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/fa/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/fa/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'زیرمجموعه ها', ], + 'default_country' => [ + 'name' => 'صفحه ثبت نام ، کشور پیش فرض تلفن', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/fr/setting.php b/addons/default/visiosoft/base-theme/resources/lang/fr/setting.php index c9b04e6e3..4cdc5fe72 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/fr/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/fr/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Limite des sous-catégories de la page d\'accueil', ], + 'default_country' => [ + 'name' => 'Page d\'enregistrement, pays par défaut pour le téléphone', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/he/setting.php b/addons/default/visiosoft/base-theme/resources/lang/he/setting.php index fd6e10e06..77f45592b 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/he/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/he/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'מגבלת קטגוריות המשנה לדף הבית', ], + 'default_country' => [ + 'name' => 'דף הרשמה, ארץ ברירת המחדל לטלפון', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/hi/setting.php b/addons/default/visiosoft/base-theme/resources/lang/hi/setting.php index 91ac0ef7e..fb4dcb8d2 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/hi/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/hi/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'मुखपृष्ठ उप श्रेणियाँ श्रेणियाँ सीमा', ], + 'default_country' => [ + 'name' => 'रजिस्टर पेज, फोन के लिए डिफ़ॉल्ट देश', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/it/setting.php b/addons/default/visiosoft/base-theme/resources/lang/it/setting.php index 30d283ac0..f6ba36f00 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/it/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/it/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Limite delle sottocategorie della home page', ], + 'default_country' => [ + 'name' => 'Pagina di registrazione, paese predefinito per il telefono', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/ja/setting.php b/addons/default/visiosoft/base-theme/resources/lang/ja/setting.php index 9ca3676c1..f91bc8f5f 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/ja/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/ja/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'ホームページのサブカテゴリの制限', ], + 'default_country' => [ + 'name' => '登録ページ、電話のデフォルトの国', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/ko/setting.php b/addons/default/visiosoft/base-theme/resources/lang/ko/setting.php index d1fa6353e..8baafa55e 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/ko/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/ko/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => '홈페이지 하위 카테고리 제한', ], + 'default_country' => [ + 'name' => '등록 페이지, 전화의 기본 국가', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/nl/setting.php b/addons/default/visiosoft/base-theme/resources/lang/nl/setting.php index 2b23dac74..96546c7ac 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/nl/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/nl/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Limiet subcategorieën op homepage', ], + 'default_country' => [ + 'name' => 'Registratiepagina, standaardland voor telefoon', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/pl/setting.php b/addons/default/visiosoft/base-theme/resources/lang/pl/setting.php index 5f3e95453..511898486 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/pl/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/pl/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Limit podkategorii strony głównej', ], + 'default_country' => [ + 'name' => 'Strona rejestracji, domyślny kraj dla telefonu', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/pt/setting.php b/addons/default/visiosoft/base-theme/resources/lang/pt/setting.php index 26ef6f439..f192800fe 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/pt/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/pt/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Limite de subcategorias da página inicial', ], + 'default_country' => [ + 'name' => 'Página de registro, país padrão para telefone', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/ro/setting.php b/addons/default/visiosoft/base-theme/resources/lang/ro/setting.php index 10067e769..03263f563 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/ro/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/ro/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Limita de subcategorii pentru pagina principală', ], + 'default_country' => [ + 'name' => 'Pagina de înregistrare, țara implicită pentru telefon', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/ru/setting.php b/addons/default/visiosoft/base-theme/resources/lang/ru/setting.php index 9849ee374..08dfb72f6 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/ru/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/ru/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Ограничение подкатегорий домашней страницы', ], + 'default_country' => [ + 'name' => 'Страница регистрации, страна по умолчанию для телефона', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/sq/setting.php b/addons/default/visiosoft/base-theme/resources/lang/sq/setting.php index 7286cbb1a..b6b542e51 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/sq/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/sq/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Nënkategoritë e faqes kryesore Kufiri', ], + 'default_country' => [ + 'name' => 'Faqja e regjistrimit, vendi i paracaktuar për telefon', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/sv/setting.php b/addons/default/visiosoft/base-theme/resources/lang/sv/setting.php index 9d805bc60..052911649 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/sv/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/sv/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Hemsida Underkategorier Begränsning', ], + 'default_country' => [ + 'name' => 'Registrera sida, standardland för telefon', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/tr/field.php b/addons/default/visiosoft/base-theme/resources/lang/tr/field.php index 5ff970318..161be2f65 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/tr/field.php +++ b/addons/default/visiosoft/base-theme/resources/lang/tr/field.php @@ -27,9 +27,9 @@ return [ // Registration instructions 'personal_registration_header' => 'Bireysel Üyelik Avantajları Nelerdir?', 'personal_registration_body' => 'Evinizi, arabanızı satmak ve kiralamak, kullanılmayan eşyalarınızı satmak, yenilerini almak.', - 'personal_registration_list_1' => 'Ücretsiz bir reklam gönderin,', - 'personal_registration_list_2' => 'İlgilendiğiniz reklamları ekleyin, favorilerinize ekledikten sonra fiyat değişikliklerini takip edin, kriterlerinize uygun favori aramalar oluşturun,', - 'personal_registration_list_3' => 'Sitedeki reklam sahiplerine mesaj gönderin.', + 'personal_registration_list_1' => 'Ücretsiz bir İlan gönderin,', + 'personal_registration_list_2' => 'İlgilendiğiniz ilanları ekleyin, favorilerinize ekledikten sonra fiyat değişikliklerini takip edin, kriterlerinize uygun favori aramalar oluşturun,', + 'personal_registration_list_3' => 'Sitedeki İlan sahiplerine mesaj gönderin.', 'register_information_note' => 'Bu sayfadaki bilgiler ' . env('APPLICATION_DOMAIN') . ' üyelik. Kişisel verilerin korunması hakkında ayrıntılı bilgiyi burada bulabilirsiniz.', // Register page @@ -45,7 +45,7 @@ return [ // Side menu links 'company_directory' => 'Firma Rehberi', - 'popular_ads' => 'popüler reklamlar', + 'popular_ads' => 'Popüler İlanlar', 'last_48_hours' => 'son 48 saat', 'secure_e-commerce_ads' => 'güvenli e-ticaret', 'sms' => 'Kısa Mesaj Gönder (SMS)', diff --git a/addons/default/visiosoft/base-theme/resources/lang/tr/setting.php b/addons/default/visiosoft/base-theme/resources/lang/tr/setting.php index b5e3e3bb3..0ab08307f 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/tr/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/tr/setting.php @@ -20,10 +20,10 @@ return [ 'name' => 'Breadcrumb', ], 'ad_details' => [ - 'name' => 'Reklam Ayrıntıları', + 'name' => 'İlan Ayrıntıları', ], 'ad_details_tab' => [ - 'name' => 'Reklam Ayrıntıları Sekmesi', + 'name' => 'İlan Ayrıntıları Sekmesi', ], 'latest_and_view_all_btn' => [ 'name' => 'Tümünü Görüntüle', @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Ana Sayfa Alt Kategoriler Sınırı', ], + 'default_country' => [ + 'name' => 'Kayıt sayfası, telefon için varsayılan ülke', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/uk/setting.php b/addons/default/visiosoft/base-theme/resources/lang/uk/setting.php index f74df18be..564dca707 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/uk/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/uk/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Підкатегорії домашньої сторінки Обмеження', ], + 'default_country' => [ + 'name' => 'Сторінка реєстрації, країна за замовчуванням для телефону', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/ur/setting.php b/addons/default/visiosoft/base-theme/resources/lang/ur/setting.php index b63083f14..ab7f1b6c9 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/ur/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/ur/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'مرکزی صفحہ ذیلی زمرے کی حد', ], + 'default_country' => [ + 'name' => 'صفحہ کیلئے رجسٹر ، فون کے لئے پہلے سے طے شدہ ملک', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/lang/vi/setting.php b/addons/default/visiosoft/base-theme/resources/lang/vi/setting.php index c133c17cb..9db82be46 100644 --- a/addons/default/visiosoft/base-theme/resources/lang/vi/setting.php +++ b/addons/default/visiosoft/base-theme/resources/lang/vi/setting.php @@ -40,4 +40,7 @@ return [ 'home_page_sub_categories_limit' => [ 'name' => 'Giới hạn danh mục phụ của trang chủ', ], + 'default_country' => [ + 'name' => 'Trang đăng ký, quốc gia mặc định cho điện thoại', + ] ]; \ No newline at end of file diff --git a/addons/default/visiosoft/base-theme/resources/views/addons/anomaly/users-module/partials/register-form.twig b/addons/default/visiosoft/base-theme/resources/views/addons/anomaly/users-module/partials/register-form.twig index c63a55cb9..00e7c48d7 100644 --- a/addons/default/visiosoft/base-theme/resources/views/addons/anomaly/users-module/partials/register-form.twig +++ b/addons/default/visiosoft/base-theme/resources/views/addons/anomaly/users-module/partials/register-form.twig @@ -56,6 +56,7 @@
{{ form.fields.phone.setValue(form.fields.phone.value).input|raw }} +
diff --git a/addons/default/visiosoft/base-theme/resources/views/partials/metatags.twig b/addons/default/visiosoft/base-theme/resources/views/partials/metatags.twig index 47b13d70b..017843463 100644 --- a/addons/default/visiosoft/base-theme/resources/views/partials/metatags.twig +++ b/addons/default/visiosoft/base-theme/resources/views/partials/metatags.twig @@ -2,13 +2,16 @@ - + {{ setting_value('visiosoft.module.advs::google_statistic_code')|raw }} +{% set additionalMeta = template.get('additional_meta') %} +{{ additionalMeta ? additionalMeta|raw }} + {% set title = trans(template.meta_title) %} {% set showTitle = template.showTitle is same as(false) ? false : true %} diff --git a/addons/default/visiosoft/cats-module/src/Category/CategoryRepository.php b/addons/default/visiosoft/cats-module/src/Category/CategoryRepository.php index 3f7995a8b..d92229ef1 100644 --- a/addons/default/visiosoft/cats-module/src/Category/CategoryRepository.php +++ b/addons/default/visiosoft/cats-module/src/Category/CategoryRepository.php @@ -35,7 +35,7 @@ class CategoryRepository extends EntryRepository implements CategoryRepositoryIn public function mainCats() { - return $this->model->where('parent_category_id', null)->where('deleted_at', null)->orderBy('sort_order')->get(); + return $this->model->where('parent_category_id', null)->orderBy('sort_order')->get(); } public function getItem($cat) diff --git a/addons/default/visiosoft/defaultadmin-theme/resources/lang/tr/button.php b/addons/default/visiosoft/defaultadmin-theme/resources/lang/tr/button.php index 33ed84ff3..02dd41f5d 100644 --- a/addons/default/visiosoft/defaultadmin-theme/resources/lang/tr/button.php +++ b/addons/default/visiosoft/defaultadmin-theme/resources/lang/tr/button.php @@ -1,5 +1,5 @@ <?php return [ - 'view_ads' => 'Reklamlara göz at', + 'view_ads' => 'İlanlara göz at', ]; diff --git a/addons/default/visiosoft/defaultadmin-theme/src/Listener/AddGsmFilter.php b/addons/default/visiosoft/defaultadmin-theme/src/Listener/AddGsmFilter.php index 4a28db2fb..bbec40070 100644 --- a/addons/default/visiosoft/defaultadmin-theme/src/Listener/AddGsmFilter.php +++ b/addons/default/visiosoft/defaultadmin-theme/src/Listener/AddGsmFilter.php @@ -71,10 +71,10 @@ class AddGsmFilter $collection = new Collection(); $header_firstname = new Header(); - $header_firstname = $header_firstname->setBuilder($builder)->setHeading('anomaly.module.users::field.first_name.name'); - $header_lastname = new Header(); + $header_firstname = $header_firstname->setBuilder($builder)->setHeading('anomaly.module.users::field.first_name.name'); + $header_lastname = new Header(); $header_lastname = $header_lastname->setBuilder($builder)->setHeading('anomaly.module.users::field.last_name.name'); - $header_email = new Header(); + $header_email = new Header(); $header_email = $header_email->setBuilder($builder)->setHeading('anomaly.module.users::field.email.name')->setSortable(true)->setSortColumn('email'); $header_phone = new Header(); $header_gsm_phone = $header_phone->setBuilder($builder)->setHeading('visiosoft.module.profile::field.gsm_phone.name'); diff --git a/addons/default/visiosoft/location-module/migrations/2020_10_13_133916_visiosoft.module.location__add_abv_to_countries.php b/addons/default/visiosoft/location-module/migrations/2020_10_13_133916_visiosoft.module.location__add_abv_to_countries.php new file mode 100644 index 000000000..3447542c6 --- /dev/null +++ b/addons/default/visiosoft/location-module/migrations/2020_10_13_133916_visiosoft.module.location__add_abv_to_countries.php @@ -0,0 +1,32 @@ +<?php + +use Illuminate\Support\Facades\Schema; +use Illuminate\Database\Schema\Blueprint; +use Anomaly\Streams\Platform\Database\Migration\Migration; + +class VisiosoftModuleLocationAddAbvToCountries extends Migration +{ + /** + * Run the migrations. + * + * @return void + */ + public function up() + { + Schema::table('location_countries_translations', function (Blueprint $table) { + $table->string('abv'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('location_countries_translations', function (Blueprint $table) { + $table->string('abv'); + }); + } +} diff --git a/addons/default/visiosoft/location-module/resources/config/settings/sections.php b/addons/default/visiosoft/location-module/resources/config/settings/sections.php index dc87cbf02..01994dcc0 100644 --- a/addons/default/visiosoft/location-module/resources/config/settings/sections.php +++ b/addons/default/visiosoft/location-module/resources/config/settings/sections.php @@ -7,7 +7,7 @@ return [ 'general' => [ 'title' => 'visiosoft.module.location::section.general', 'fields' => [ - 'home_page_location', 'list_page_location', 'detail_page_location', 'create_ad_page_location', + 'home_page_location', 'list_page_location', 'detail_page_location', 'create_ad_page_location', 'country_for_phone_field' ], ], 'map' => [ diff --git a/addons/default/visiosoft/location-module/resources/config/settings/settings.php b/addons/default/visiosoft/location-module/resources/config/settings/settings.php index 5a75e3123..3d9a797a6 100644 --- a/addons/default/visiosoft/location-module/resources/config/settings/settings.php +++ b/addons/default/visiosoft/location-module/resources/config/settings/settings.php @@ -33,6 +33,19 @@ return [ 'default_value' => 212, ] ], + 'country_for_phone_field' => [ + 'type' => 'anomaly.field_type.select', + 'required' => false, + 'config' => [ + 'default_value' => function () { + return config('visiosoft.theme.base::countries.default'); + }, + 'options' => function () { + $array = \Visiosoft\LocationModule\Country\CountryModel::query()->get()->pluck('name', 'abv')->toArray(); + return $array; + }, + ], + ], 'default_city' => [ 'type' => 'anomaly.field_type.select', ], diff --git a/addons/default/visiosoft/location-module/resources/js/filterLocation.js b/addons/default/visiosoft/location-module/resources/js/filterLocation.js index 6da03fde9..8abd5100a 100644 --- a/addons/default/visiosoft/location-module/resources/js/filterLocation.js +++ b/addons/default/visiosoft/location-module/resources/js/filterLocation.js @@ -200,6 +200,8 @@ function SelectOnClick() { if ($(this).attr('data-field') == "country") { $('.filter-location-modal,.filter-location-back,.filter-location-modal .countries').hide(); $('input[name="country"]').val(id) + $('.selected-city').html(''); + $('input[name="city[]"]').val(''); text_html.html(input_text) $(".filter-location-body input[type='checkbox']").prop('checked', false); $(".filter-location-body li[data-id='" + id + "'] input[type='checkbox']").prop('checked', true); diff --git a/addons/default/visiosoft/location-module/resources/lang/ar/setting.php b/addons/default/visiosoft/location-module/resources/lang/ar/setting.php index 46c416cec..ba95ff19d 100644 --- a/addons/default/visiosoft/location-module/resources/lang/ar/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/ar/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'إخفاء عامل تصفية الموقع', ], + 'country_for_phone_field' => [ + 'name' => 'البلد الافتراضي لتسجيل حقل الهاتف' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/az/setting.php b/addons/default/visiosoft/location-module/resources/lang/az/setting.php index 908fdaeaa..513c4cd25 100644 --- a/addons/default/visiosoft/location-module/resources/lang/az/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/az/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Yer filtrini gizlət', ], + 'country_for_phone_field' => [ + 'name' => 'Telefon sahəsi üçün qeydiyyatdan keçmiş ölkə' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/bn/setting.php b/addons/default/visiosoft/location-module/resources/lang/bn/setting.php index 80ed5bd8c..00b0156ac 100644 --- a/addons/default/visiosoft/location-module/resources/lang/bn/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/bn/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'অবস্থান ফিল্টার লুকান', ], + 'country_for_phone_field' => [ + 'name' => 'রেজিস্টার ফোন ফিল্ডের জন্য ডিফল্ট দেশ' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/de/setting.php b/addons/default/visiosoft/location-module/resources/lang/de/setting.php index c07cc85d1..4eecbf26f 100644 --- a/addons/default/visiosoft/location-module/resources/lang/de/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/de/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Standortfilter ausblenden', ], + 'country_for_phone_field' => [ + 'name' => 'Standardland für das Feld "Telefon registrieren"' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/el/setting.php b/addons/default/visiosoft/location-module/resources/lang/el/setting.php index 6982015cf..f5f5de767 100644 --- a/addons/default/visiosoft/location-module/resources/lang/el/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/el/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Απόκρυψη φίλτρου τοποθεσίας', ], + 'country_for_phone_field' => [ + 'name' => 'Προεπιλεγμένη χώρα για εγγραφή πεδίου τηλεφώνου' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/en/setting.php b/addons/default/visiosoft/location-module/resources/lang/en/setting.php index 05cfd8e38..459166207 100644 --- a/addons/default/visiosoft/location-module/resources/lang/en/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/en/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Hide Location Filter', ], + 'country_for_phone_field' => [ + 'name' => 'Default Country For Register Phone Field' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/es/setting.php b/addons/default/visiosoft/location-module/resources/lang/es/setting.php index cba0a41fd..8c9d151a1 100644 --- a/addons/default/visiosoft/location-module/resources/lang/es/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/es/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Ocultar filtro de ubicación', ], + 'country_for_phone_field' => [ + 'name' => 'País predeterminado para el campo de teléfono de registro' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/fa/setting.php b/addons/default/visiosoft/location-module/resources/lang/fa/setting.php index 030faba0a..1fda17655 100644 --- a/addons/default/visiosoft/location-module/resources/lang/fa/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/fa/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'فیلتر مکان را مخفی کنید', ], + 'country_for_phone_field' => [ + 'name' => 'کشور پیش فرض برای ثبت نام قسمت تلفن' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/fr/setting.php b/addons/default/visiosoft/location-module/resources/lang/fr/setting.php index 6f3097d01..855822da0 100644 --- a/addons/default/visiosoft/location-module/resources/lang/fr/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/fr/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Masquer le filtre de localisation', ], + 'country_for_phone_field' => [ + 'name' => 'Pays par défaut pour le champ de téléphone d\'enregistrement' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/he/setting.php b/addons/default/visiosoft/location-module/resources/lang/he/setting.php index 67bee08f4..69d19c3cc 100644 --- a/addons/default/visiosoft/location-module/resources/lang/he/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/he/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'הסתר מסנן מיקום', ], + 'country_for_phone_field' => [ + 'name' => 'מדינה ברירת מחדל לשדה טלפון רישום' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/hi/setting.php b/addons/default/visiosoft/location-module/resources/lang/hi/setting.php index 9f34d73fd..caf3346d0 100644 --- a/addons/default/visiosoft/location-module/resources/lang/hi/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/hi/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'स्थान फ़िल्टर छिपाएँ', ], + 'country_for_phone_field' => [ + 'name' => 'डिफ़ॉल्ट देश रजिस्टर फोन क्षेत्र के लिए' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/it/setting.php b/addons/default/visiosoft/location-module/resources/lang/it/setting.php index 4f3932431..95098365f 100644 --- a/addons/default/visiosoft/location-module/resources/lang/it/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/it/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Nascondi filtro posizione', ], + 'country_for_phone_field' => [ + 'name' => 'Paese predefinito per il campo del telefono di registrazione' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/ja/setting.php b/addons/default/visiosoft/location-module/resources/lang/ja/setting.php index c5d1850af..90b738b2a 100644 --- a/addons/default/visiosoft/location-module/resources/lang/ja/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/ja/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => '場所フィルターを非表示', ], + 'country_for_phone_field' => [ + 'name' => '電話登録フィールドのデフォルトの国' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/ko/setting.php b/addons/default/visiosoft/location-module/resources/lang/ko/setting.php index 384ece314..d37762457 100644 --- a/addons/default/visiosoft/location-module/resources/lang/ko/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/ko/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => '위치 필터 숨기기', ], + 'country_for_phone_field' => [ + 'name' => '전화 번호 등록 필드의 기본 국가' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/nl/setting.php b/addons/default/visiosoft/location-module/resources/lang/nl/setting.php index e40132984..974ca86fa 100644 --- a/addons/default/visiosoft/location-module/resources/lang/nl/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/nl/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Verberg locatiefilter', ], + 'country_for_phone_field' => [ + 'name' => 'Standaardland voor register telefoonveld' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/pl/setting.php b/addons/default/visiosoft/location-module/resources/lang/pl/setting.php index aaadbc034..1e8482f37 100644 --- a/addons/default/visiosoft/location-module/resources/lang/pl/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/pl/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Ukryj filtr lokalizacji', ], + 'country_for_phone_field' => [ + 'name' => 'Domyślny kraj dla pola numeru rejestracji' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/pt/setting.php b/addons/default/visiosoft/location-module/resources/lang/pt/setting.php index dedbb290e..035107b50 100644 --- a/addons/default/visiosoft/location-module/resources/lang/pt/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/pt/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Ocultar filtro de localização', ], + 'country_for_phone_field' => [ + 'name' => 'País padrão para campo de telefone de registro' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/ro/setting.php b/addons/default/visiosoft/location-module/resources/lang/ro/setting.php index 295ed9238..26b2fabc0 100644 --- a/addons/default/visiosoft/location-module/resources/lang/ro/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/ro/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Ascundeți filtrul de locație', ], + 'country_for_phone_field' => [ + 'name' => 'Țara implicită pentru câmpul de telefon al înregistrării' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/ru/setting.php b/addons/default/visiosoft/location-module/resources/lang/ru/setting.php index 99c4ea4a9..eb3a75344 100644 --- a/addons/default/visiosoft/location-module/resources/lang/ru/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/ru/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Скрыть фильтр местоположения', ], + 'country_for_phone_field' => [ + 'name' => 'Страна по умолчанию для поля регистрации телефона' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/sq/setting.php b/addons/default/visiosoft/location-module/resources/lang/sq/setting.php index 9703b8d3e..202cf53dd 100644 --- a/addons/default/visiosoft/location-module/resources/lang/sq/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/sq/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Fshih Filtrin e Vendndodhjes', ], + 'country_for_phone_field' => [ + 'name' => 'Vendi i paracaktuar për fushën e regjistrimit të telefonit' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/sv/setting.php b/addons/default/visiosoft/location-module/resources/lang/sv/setting.php index 2043691ab..5e5cca33f 100644 --- a/addons/default/visiosoft/location-module/resources/lang/sv/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/sv/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Dölj platsfilter', ], + 'country_for_phone_field' => [ + 'name' => 'Standardland för att registrera telefonfält' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/tr/setting.php b/addons/default/visiosoft/location-module/resources/lang/tr/setting.php index efd8c1bc7..eaaedeaac 100644 --- a/addons/default/visiosoft/location-module/resources/lang/tr/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/tr/setting.php @@ -17,7 +17,7 @@ return [ 'name' => 'Varsayılan Ülke', ], 'create_ad_page_location' => [ - 'name' => 'Reklam Sayfası Konumu Oluşturun', + 'name' => 'İlan Sayfası Konumu Oluşturun', ], 'default_city' => [ 'name' => 'Varsayılan İl', @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Konum Filtresini Gizle', ], + 'country_for_phone_field' => [ + 'name' => 'Kayıtlı Telefon Alanı İçin Varsayılan Ülke' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/uk/setting.php b/addons/default/visiosoft/location-module/resources/lang/uk/setting.php index 70f89f2f7..46c6bb7c6 100644 --- a/addons/default/visiosoft/location-module/resources/lang/uk/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/uk/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Сховати фільтр місцеположення', ], + 'country_for_phone_field' => [ + 'name' => 'Країна за замовчуванням для телефонного поля реєстрації' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/ur/setting.php b/addons/default/visiosoft/location-module/resources/lang/ur/setting.php index 2dcc964d9..aef8b0755 100644 --- a/addons/default/visiosoft/location-module/resources/lang/ur/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/ur/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'لوکیشن فلٹر چھپائیں', ], + 'country_for_phone_field' => [ + 'name' => 'ڈیفالٹ کنٹری برائے رجسٹر فون فیلڈ' + ] ]; diff --git a/addons/default/visiosoft/location-module/resources/lang/vi/setting.php b/addons/default/visiosoft/location-module/resources/lang/vi/setting.php index 9f51b6d10..541ddd58d 100644 --- a/addons/default/visiosoft/location-module/resources/lang/vi/setting.php +++ b/addons/default/visiosoft/location-module/resources/lang/vi/setting.php @@ -44,4 +44,7 @@ return [ 'hide_location_filter' => [ 'name' => 'Ẩn Bộ lọc Vị trí', ], + 'country_for_phone_field' => [ + 'name' => 'Quốc gia mặc định để đăng ký trường điện thoại' + ] ]; diff --git a/addons/default/visiosoft/location-module/src/LocationModuleSeeder.php b/addons/default/visiosoft/location-module/src/LocationModuleSeeder.php index 7d7b8973d..c4c638003 100644 --- a/addons/default/visiosoft/location-module/src/LocationModuleSeeder.php +++ b/addons/default/visiosoft/location-module/src/LocationModuleSeeder.php @@ -20,13 +20,13 @@ class LocationModuleSeeder extends Seeder { //Download demo SQL $repository = "https://raw.githubusercontent.com/openclassify/Openclassify-Demo-Data/master/"; - file_put_contents(__DIR__ . "/countries.sql", fopen($repository . "countries.sql", 'r')); - file_put_contents(__DIR__ . "/cities.sql", fopen($repository . "cities.sql", 'r')); + file_put_contents(storage_path('countries.sql'), fopen($repository . "countries.sql", 'r')); + file_put_contents(storage_path('cities.sql'), fopen($repository . "cities.sql", 'r')); /* Demo Start */ Model::unguard(); - DB::unprepared(file_get_contents(__DIR__ . '/countries.sql')); - DB::unprepared(file_get_contents(__DIR__ . '/cities.sql')); + DB::unprepared(file_get_contents(storage_path('countries.sql'))); + DB::unprepared(file_get_contents(storage_path('cities.sql'))); Model::reguard(); /* Demo Stop*/ } diff --git a/addons/default/visiosoft/media-field_type/resources/lang/ar/message.php b/addons/default/visiosoft/media-field_type/resources/lang/ar/message.php index 2f372c226..10c0a91fa 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/ar/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/ar/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'ماهو المجلد الذي تريد الرفع إليه?', - 'upload' => 'انقر أو اسحب الملفات إلى هنا للرفع.', - 'choose_files' => 'ما هي الملفات التي تريد استخدامها?', + 'choose_folder' => 'ماهو المجلد الذي تريد الرفع إليه?', + 'upload' => 'انقر أو اسحب الملفات إلى هنا للرفع.', + 'choose_files' => 'ما هي الملفات التي تريد استخدامها?', 'no_files_selected' => 'لم يتم اختيار الملفات.', - 'no_uploads' => 'لم يتم رفع الملفات.', - 'overwrite' => 'لقد تم رفعه مسبقاً هل تريد استبداله?', - 'uploading' => 'جاري الرفع', - 'loading' => 'جاري التحميل', + 'no_uploads' => 'لم يتم رفع الملفات.', + 'overwrite' => 'لقد تم رفعه مسبقاً هل تريد استبداله?', + 'uploading' => 'جاري الرفع', + 'loading' => 'جاري التحميل', + 'error_upload' => 'كانت هناك مشكلة في تحميل الملف.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/az/message.php b/addons/default/visiosoft/media-field_type/resources/lang/az/message.php index 80a12d20d..8e178f086 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/az/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/az/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Hansı qovluğa yükləmək istərdiniz?', - 'upload' => 'İmages əlavə edin | İmages yüklə | Bir şəkil əlavə edin', - 'choose_files' => 'Hansı fayllardan istifadə etmək istərdiniz?', + 'choose_folder' => 'Hansı qovluğa yükləmək istərdiniz?', + 'upload' => 'İmages əlavə edin | İmages yüklə | Bir şəkil əlavə edin', + 'choose_files' => 'Hansı fayllardan istifadə etmək istərdiniz?', 'no_files_selected' => 'Fayl seçilməyib.', - 'no_uploads' => 'Fayl yüklənməyib.', - 'overwrite' => 'artıq yüklənib. Yenidən yazmaq istərdinizmi?', - 'uploading' => 'Yüklənir', - 'loading' => 'Yüklənir', + 'no_uploads' => 'Fayl yüklənməyib.', + 'overwrite' => 'artıq yüklənib. Yenidən yazmaq istərdinizmi?', + 'uploading' => 'Yüklənir', + 'loading' => 'Yüklənir', + 'error_upload' => 'Fayl yüklənərkən problem oldu.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/bn/message.php b/addons/default/visiosoft/media-field_type/resources/lang/bn/message.php index 76bea0e45..f7cf320dc 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/bn/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/bn/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'আপনি কোন ফোল্ডারে আপলোড করতে চান?', - 'upload' => 'যোগ করুন İmages | আপলোড করুন | একটি ছবি সংযুক্ত করুন', - 'choose_files' => 'আপনি কোন ফাইলগুলি ব্যবহার করতে চান?', + 'choose_folder' => 'আপনি কোন ফোল্ডারে আপলোড করতে চান?', + 'upload' => 'যোগ করুন İmages | আপলোড করুন | একটি ছবি সংযুক্ত করুন', + 'choose_files' => 'আপনি কোন ফাইলগুলি ব্যবহার করতে চান?', 'no_files_selected' => 'কোনও ফাইল নির্বাচিত হয়নি।', - 'no_uploads' => 'কোনও ফাইল আপলোড করা হয়নি।', - 'overwrite' => 'ইতিমধ্যে আপলোড করা হয়েছে। আপনি কি এটি ওভাররাইট করতে চান?', - 'uploading' => 'আপলোড হচ্ছে', - 'loading' => 'বোঝাই', + 'no_uploads' => 'কোনও ফাইল আপলোড করা হয়নি।', + 'overwrite' => 'ইতিমধ্যে আপলোড করা হয়েছে। আপনি কি এটি ওভাররাইট করতে চান?', + 'uploading' => 'আপলোড হচ্ছে', + 'loading' => 'বোঝাই', + 'error_upload' => 'ফাইলটি আপলোড করতে সমস্যা হয়েছিল।', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/de/message.php b/addons/default/visiosoft/media-field_type/resources/lang/de/message.php index 94e67fea4..0b330961a 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/de/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/de/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'In welchen Ordner möchten Sie hochladen?', - 'upload' => 'Klicken Sie oder ziehen Sie Dateien hierher um Sie hochzuladen.', - 'choose_files' => 'Welche Dateien möchten Sie benutzen?', + 'choose_folder' => 'In welchen Ordner möchten Sie hochladen?', + 'upload' => 'Klicken Sie oder ziehen Sie Dateien hierher um Sie hochzuladen.', + 'choose_files' => 'Welche Dateien möchten Sie benutzen?', 'no_files_selected' => 'Keine Dateien ausgewählt.', - 'no_uploads' => 'Keine Dateien hochgeladen.', - 'overwrite' => 'wurde bereits hochgeladen. Wollen Sie die Datei überscheiben?', - 'uploading' => 'Lädt hoch', - 'loading' => 'Lädt', + 'no_uploads' => 'Keine Dateien hochgeladen.', + 'overwrite' => 'wurde bereits hochgeladen. Wollen Sie die Datei überscheiben?', + 'uploading' => 'Lädt hoch', + 'loading' => 'Lädt', + 'error_upload' => 'Beim Hochladen der Datei ist ein Problem aufgetreten.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/el/message.php b/addons/default/visiosoft/media-field_type/resources/lang/el/message.php index 059f859e4..7655b2fad 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/el/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/el/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Σε ποιον φάκελο θέλετε να ανεβάσετε;', - 'upload' => 'Προσθήκη agesmages | Μεταφόρτωση İmages | Επισυνάψτε μια φωτογραφία', - 'choose_files' => 'Ποια αρχεία θέλετε να χρησιμοποιήσετε;', + 'choose_folder' => 'Σε ποιον φάκελο θέλετε να ανεβάσετε;', + 'upload' => 'Προσθήκη agesmages | Μεταφόρτωση İmages | Επισυνάψτε μια φωτογραφία', + 'choose_files' => 'Ποια αρχεία θέλετε να χρησιμοποιήσετε;', 'no_files_selected' => 'Δεν έχουν επιλεγεί αρχεία.', - 'no_uploads' => 'Δεν μεταφορτώθηκαν αρχεία.', - 'overwrite' => 'έχει ήδη μεταφορτωθεί. Θέλετε να το αντικαταστήσετε;', - 'uploading' => 'Μεταφόρτωση', - 'loading' => 'Φόρτωση', + 'no_uploads' => 'Δεν μεταφορτώθηκαν αρχεία.', + 'overwrite' => 'έχει ήδη μεταφορτωθεί. Θέλετε να το αντικαταστήσετε;', + 'uploading' => 'Μεταφόρτωση', + 'loading' => 'Φόρτωση', + 'error_upload' => 'Παρουσιάστηκε πρόβλημα κατά τη μεταφόρτωση του αρχείου.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/es/message.php b/addons/default/visiosoft/media-field_type/resources/lang/es/message.php index 403f3b36b..78cf46641 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/es/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/es/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => '¿A qué carpeta le gustaría subir?', - 'upload' => 'Añadir imágenes | Subir imágenes | Adjuntar una foto', - 'choose_files' => '¿Qué archivos te gustaría usar?', + 'choose_folder' => '¿A qué carpeta le gustaría subir?', + 'upload' => 'Añadir imágenes | Subir imágenes | Adjuntar una foto', + 'choose_files' => '¿Qué archivos te gustaría usar?', 'no_files_selected' => 'No hay archivos seleccionados.', - 'no_uploads' => 'No hay archivos cargados.', - 'overwrite' => 'ya ha sido subido ¿Te gustaría sobrescribirlo?', - 'uploading' => 'Cargando', - 'loading' => 'Cargando', + 'no_uploads' => 'No hay archivos cargados.', + 'overwrite' => 'ya ha sido subido ¿Te gustaría sobrescribirlo?', + 'uploading' => 'Cargando', + 'loading' => 'Cargando', + 'error_upload' => 'Hubo un problema al cargar el archivo.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/fa/message.php b/addons/default/visiosoft/media-field_type/resources/lang/fa/message.php index da9329054..6db651711 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/fa/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/fa/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'کدام پوشه را می خواهید بارگذاری کنید؟', - 'upload' => 'agesmages اضافه کنید | بارگیری agesmages | پیوست یک عکس', - 'choose_files' => 'از کدام پرونده ها می خواهید استفاده کنید؟', + 'choose_folder' => 'کدام پوشه را می خواهید بارگذاری کنید؟', + 'upload' => 'agesmages اضافه کنید | بارگیری agesmages | پیوست یک عکس', + 'choose_files' => 'از کدام پرونده ها می خواهید استفاده کنید؟', 'no_files_selected' => 'هیچ پرونده ای انتخاب نشده است.', - 'no_uploads' => 'هیچ پرونده بارگذاری نشده است.', - 'overwrite' => 'قبلاً بارگذاری شده است آیا می خواهید آن را بازنویسی کنید؟', - 'uploading' => 'بارگذاری', - 'loading' => 'بارگذاری', + 'no_uploads' => 'هیچ پرونده بارگذاری نشده است.', + 'overwrite' => 'قبلاً بارگذاری شده است آیا می خواهید آن را بازنویسی کنید؟', + 'uploading' => 'بارگذاری', + 'loading' => 'بارگذاری', + 'error_upload' => 'هنگام بارگذاری پرونده مشکلی پیش آمد.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/fr/message.php b/addons/default/visiosoft/media-field_type/resources/lang/fr/message.php index 0bcd6ccb0..306b47572 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/fr/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/fr/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Dans quel dossier souhaitez-vous télécharger?', - 'upload' => 'Ajouter des images | Téléchargez des images | Joindre une photo', - 'choose_files' => 'Quels fichiers aimeriez-vous utiliser?', + 'choose_folder' => 'Dans quel dossier souhaitez-vous télécharger?', + 'upload' => 'Ajouter des images | Téléchargez des images | Joindre une photo', + 'choose_files' => 'Quels fichiers aimeriez-vous utiliser?', 'no_files_selected' => 'Aucun fichier sélectionné.', - 'no_uploads' => 'Aucun fichier téléchargé.', - 'overwrite' => 'a déjà été téléchargé. Voulez-vous l\'écraser?', - 'uploading' => 'Téléchargement', - 'loading' => 'Chargement', + 'no_uploads' => 'Aucun fichier téléchargé.', + 'overwrite' => 'a déjà été téléchargé. Voulez-vous l\'écraser?', + 'uploading' => 'Téléchargement', + 'loading' => 'Chargement', + 'error_upload' => 'Un problème est survenu lors du téléchargement du fichier.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/he/message.php b/addons/default/visiosoft/media-field_type/resources/lang/he/message.php index 95e04d0f2..db09101f7 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/he/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/he/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'לאיזו תיקיה תרצה להעלות?', - 'upload' => 'הוסף תמונות | העלה תמונות | לצרף תמונה', - 'choose_files' => 'באילו קבצים תרצה להשתמש?', + 'choose_folder' => 'לאיזו תיקיה תרצה להעלות?', + 'upload' => 'הוסף תמונות | העלה תמונות | לצרף תמונה', + 'choose_files' => 'באילו קבצים תרצה להשתמש?', 'no_files_selected' => 'לא נבחרו קבצים.', - 'no_uploads' => 'לא הועלו קבצים.', - 'overwrite' => 'כבר הועלה. האם תרצה להחליף אותו?', - 'uploading' => 'מעלה', - 'loading' => 'טעינה', + 'no_uploads' => 'לא הועלו קבצים.', + 'overwrite' => 'כבר הועלה. האם תרצה להחליף אותו?', + 'uploading' => 'מעלה', + 'loading' => 'טעינה', + 'error_upload' => 'הייתה בעיה בהעלאת הקובץ.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/hi/message.php b/addons/default/visiosoft/media-field_type/resources/lang/hi/message.php index b8ca4610b..5144ede79 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/hi/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/hi/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'आप किस फ़ोल्डर में अपलोड करना चाहते हैं?', - 'upload' => 'जोड़ें Addmages | अपलोड İmages | एक तस्वीर लगाओ', - 'choose_files' => 'आप किन फ़ाइलों का उपयोग करना चाहेंगे?', + 'choose_folder' => 'आप किस फ़ोल्डर में अपलोड करना चाहते हैं?', + 'upload' => 'जोड़ें Addmages | अपलोड İmages | एक तस्वीर लगाओ', + 'choose_files' => 'आप किन फ़ाइलों का उपयोग करना चाहेंगे?', 'no_files_selected' => 'कोई फ़ाइल चयनित नहीं है।', - 'no_uploads' => 'कोई फ़ाइल अपलोड नहीं की गई।', - 'overwrite' => 'पहले ही अपलोड किया जा चुका है। क्या आप इसे अधिलेखित करना चाहेंगे?', - 'uploading' => 'अपलोड हो रहा है', - 'loading' => 'लोड हो रहा है', + 'no_uploads' => 'कोई फ़ाइल अपलोड नहीं की गई।', + 'overwrite' => 'पहले ही अपलोड किया जा चुका है। क्या आप इसे अधिलेखित करना चाहेंगे?', + 'uploading' => 'अपलोड हो रहा है', + 'loading' => 'लोड हो रहा है', + 'error_upload' => 'फ़ाइल अपलोड करने में समस्या थी।', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/it/message.php b/addons/default/visiosoft/media-field_type/resources/lang/it/message.php index 50da3f0f7..67b2847db 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/it/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/it/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'In quale cartella desideri caricare?', - 'upload' => 'Aggiungi İmages | Carica İmages | Allega una foto', - 'choose_files' => 'Quali file vorresti usare?', + 'choose_folder' => 'In quale cartella desideri caricare?', + 'upload' => 'Aggiungi İmages | Carica İmages | Allega una foto', + 'choose_files' => 'Quali file vorresti usare?', 'no_files_selected' => 'Nessun file selezionato.', - 'no_uploads' => 'Nessun file caricato.', - 'overwrite' => 'è già stato caricato. Vuoi sovrascriverlo?', - 'uploading' => 'Caricamento', - 'loading' => 'Caricamento in corso', + 'no_uploads' => 'Nessun file caricato.', + 'overwrite' => 'è già stato caricato. Vuoi sovrascriverlo?', + 'uploading' => 'Caricamento', + 'loading' => 'Caricamento in corso', + 'error_upload' => 'Si è verificato un problema durante il caricamento del file.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/ja/message.php b/addons/default/visiosoft/media-field_type/resources/lang/ja/message.php index 2cf9dd0b0..112db4880 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/ja/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/ja/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'どのフォルダにアップロードしますか?', - 'upload' => 'İmagesを追加する| İmagesをアップロードする|写真を添付', - 'choose_files' => 'どのファイルを使用しますか?', + 'choose_folder' => 'どのフォルダにアップロードしますか?', + 'upload' => 'İmagesを追加する| İmagesをアップロードする|写真を添付', + 'choose_files' => 'どのファイルを使用しますか?', 'no_files_selected' => 'ファイルが選択されていません。', - 'no_uploads' => 'アップロードされたファイルはありません。', - 'overwrite' => 'すでにアップロードされています。上書きしますか?', - 'uploading' => 'アップロードしています', - 'loading' => '読み込み中', + 'no_uploads' => 'アップロードされたファイルはありません。', + 'overwrite' => 'すでにアップロードされています。上書きしますか?', + 'uploading' => 'アップロードしています', + 'loading' => '読み込み中', + 'error_upload' => 'ファイルのアップロードで問題が発生しました。', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/ko/message.php b/addons/default/visiosoft/media-field_type/resources/lang/ko/message.php index 10087d812..a23aeb18e 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/ko/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/ko/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => '어느 폴더에 업로드 하시겠습니까?', - 'upload' => 'İmages 추가 | İmages 업로드 | 사진 첨부', - 'choose_files' => '어떤 파일을 사용 하시겠습니까?', + 'choose_folder' => '어느 폴더에 업로드 하시겠습니까?', + 'upload' => 'İmages 추가 | İmages 업로드 | 사진 첨부', + 'choose_files' => '어떤 파일을 사용 하시겠습니까?', 'no_files_selected' => '선택된 파일이 없습니다.', - 'no_uploads' => '파일이 업로드되지 않았습니다.', - 'overwrite' => '이미 업로드되었습니다. 덮어 쓰시겠습니까?', - 'uploading' => '업로드 중', - 'loading' => '로딩', + 'no_uploads' => '파일이 업로드되지 않았습니다.', + 'overwrite' => '이미 업로드되었습니다. 덮어 쓰시겠습니까?', + 'uploading' => '업로드 중', + 'loading' => '로딩', + 'error_upload' => '파일을 업로드하는 중에 문제가 발생했습니다.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/nl/message.php b/addons/default/visiosoft/media-field_type/resources/lang/nl/message.php index 500f0f7b0..f39d3cd9d 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/nl/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/nl/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Naar welke map wil je uploaden?', - 'upload' => 'İmages | İmages uploaden | Voeg een foto toe', - 'choose_files' => 'Welke bestanden wil je gebruiken?', + 'choose_folder' => 'Naar welke map wil je uploaden?', + 'upload' => 'İmages | İmages uploaden | Voeg een foto toe', + 'choose_files' => 'Welke bestanden wil je gebruiken?', 'no_files_selected' => 'Geen bestanden geselecteerd.', - 'no_uploads' => 'Geen bestanden geüpload.', - 'overwrite' => 'is al geüpload. Wil je het overschrijven?', - 'uploading' => 'Uploaden', - 'loading' => 'Bezig met laden', + 'no_uploads' => 'Geen bestanden geüpload.', + 'overwrite' => 'is al geüpload. Wil je het overschrijven?', + 'uploading' => 'Uploaden', + 'loading' => 'Bezig met laden', + 'error_upload' => 'Er is een probleem opgetreden bij het uploaden van het bestand.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/pl/message.php b/addons/default/visiosoft/media-field_type/resources/lang/pl/message.php index 4b5c3dbf4..3bdc3a0f2 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/pl/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/pl/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Do którego folderu chcesz przesłać?', - 'upload' => 'Dodaj İmages | Prześlij İmages | Załącz zdjęcie', - 'choose_files' => 'Których plików chciałbyś użyć?', + 'choose_folder' => 'Do którego folderu chcesz przesłać?', + 'upload' => 'Dodaj İmages | Prześlij İmages | Załącz zdjęcie', + 'choose_files' => 'Których plików chciałbyś użyć?', 'no_files_selected' => 'Nie wybrano plików.', - 'no_uploads' => 'Brak przesłanych plików.', - 'overwrite' => 'został już przesłany. Czy chcesz go zastąpić?', - 'uploading' => 'Przesyłanie', - 'loading' => 'Ładowanie', + 'no_uploads' => 'Brak przesłanych plików.', + 'overwrite' => 'został już przesłany. Czy chcesz go zastąpić?', + 'uploading' => 'Przesyłanie', + 'loading' => 'Ładowanie', + 'error_upload' => 'Wystąpił problem podczas przesyłania pliku.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/pt/message.php b/addons/default/visiosoft/media-field_type/resources/lang/pt/message.php index 9a2249bd5..50a234b0a 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/pt/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/pt/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Para qual pasta você deseja enviar?', - 'upload' => 'Adicionar imagens | Carregar imagens | Anexe uma foto', - 'choose_files' => 'Quais arquivos você gostaria de usar?', + 'choose_folder' => 'Para qual pasta você deseja enviar?', + 'upload' => 'Adicionar imagens | Carregar imagens | Anexe uma foto', + 'choose_files' => 'Quais arquivos você gostaria de usar?', 'no_files_selected' => 'Nenhum arquivo selecionado.', - 'no_uploads' => 'Nenhum arquivo enviado.', - 'overwrite' => 'já foi enviado. Deseja substituí-lo?', - 'uploading' => 'Enviando', - 'loading' => 'Carregando', + 'no_uploads' => 'Nenhum arquivo enviado.', + 'overwrite' => 'já foi enviado. Deseja substituí-lo?', + 'uploading' => 'Enviando', + 'loading' => 'Carregando', + 'error_upload' => 'Ocorreu um problema ao enviar o arquivo.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/ro/message.php b/addons/default/visiosoft/media-field_type/resources/lang/ro/message.php index 48080a4f8..567c57a4b 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/ro/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/ro/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'În ce folder doriți să încărcați?', - 'upload' => 'Adăugați İmages | Încărcați imagini | Atașați o fotografie', - 'choose_files' => 'Ce fișiere doriți să utilizați?', + 'choose_folder' => 'În ce folder doriți să încărcați?', + 'upload' => 'Adăugați İmages | Încărcați imagini | Atașați o fotografie', + 'choose_files' => 'Ce fișiere doriți să utilizați?', 'no_files_selected' => 'Nu au fost selectate fișiere.', - 'no_uploads' => 'Nu s-au încărcat fișiere.', - 'overwrite' => 'a fost deja încărcat. Doriți să îl suprascrieți?', - 'uploading' => 'Se încarcă', - 'loading' => 'Se încarcă', + 'no_uploads' => 'Nu s-au încărcat fișiere.', + 'overwrite' => 'a fost deja încărcat. Doriți să îl suprascrieți?', + 'uploading' => 'Se încarcă', + 'loading' => 'Se încarcă', + 'error_upload' => 'A apărut o problemă la încărcarea fișierului.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/ru/message.php b/addons/default/visiosoft/media-field_type/resources/lang/ru/message.php index c1150d1cc..14041c9a3 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/ru/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/ru/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'В какую папку вы хотите загрузить файлы?', - 'upload' => 'Добавить изображения | Загрузить изображения | Прикрепить фото', - 'choose_files' => 'Какие файлы вы хотели бы использовать?', + 'choose_folder' => 'В какую папку вы хотите загрузить файлы?', + 'upload' => 'Добавить изображения | Загрузить изображения | Прикрепить фото', + 'choose_files' => 'Какие файлы вы хотели бы использовать?', 'no_files_selected' => 'Файлы не выбраны.', - 'no_uploads' => 'Файлы не загружены.', - 'overwrite' => 'уже был загружен. Хотите перезаписать это?', - 'uploading' => 'Выгрузка', - 'loading' => 'загрузка', + 'no_uploads' => 'Файлы не загружены.', + 'overwrite' => 'уже был загружен. Хотите перезаписать это?', + 'uploading' => 'Выгрузка', + 'loading' => 'загрузка', + 'error_upload' => 'При загрузке файла возникла проблема.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/sq/message.php b/addons/default/visiosoft/media-field_type/resources/lang/sq/message.php index 57eb4bc64..6b3da22cf 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/sq/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/sq/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Në cilën dosje dëshironi të ngarkoni?', - 'upload' => 'Shtoni agesmages | Ngarko İmages | Bashkangjit një fotografi', - 'choose_files' => 'Cilat skedarë dëshironi të përdorni?', + 'choose_folder' => 'Në cilën dosje dëshironi të ngarkoni?', + 'upload' => 'Shtoni agesmages | Ngarko İmages | Bashkangjit një fotografi', + 'choose_files' => 'Cilat skedarë dëshironi të përdorni?', 'no_files_selected' => 'Asnjë skedar i zgjedhur.', - 'no_uploads' => 'Asnjë fotografi të ngarkuar.', - 'overwrite' => 'tashmë është ngarkuar. Dëshiron ta rishkruash?', - 'uploading' => 'Ngarkimi...', - 'loading' => 'Ngarkim...', + 'no_uploads' => 'Asnjë fotografi të ngarkuar.', + 'overwrite' => 'tashmë është ngarkuar. Dëshiron ta rishkruash?', + 'uploading' => 'Ngarkimi...', + 'loading' => 'Ngarkim...', + 'error_upload' => 'Kishte një problem në ngarkimin e skedarit.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/sv/message.php b/addons/default/visiosoft/media-field_type/resources/lang/sv/message.php index 08c5ac4ea..ca09a8779 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/sv/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/sv/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Vilken mapp vill du ladda upp till?', - 'upload' => 'Lägg till İmages | Ladda upp İmages | Bifoga ett foto', - 'choose_files' => 'Vilka filer vill du använda?', + 'choose_folder' => 'Vilken mapp vill du ladda upp till?', + 'upload' => 'Lägg till İmages | Ladda upp İmages | Bifoga ett foto', + 'choose_files' => 'Vilka filer vill du använda?', 'no_files_selected' => 'Inga filer valda.', - 'no_uploads' => 'Inga filer laddas upp.', - 'overwrite' => 'har redan laddats upp. Vill du skriva över det?', - 'uploading' => 'uppladdning', - 'loading' => 'Läser in', + 'no_uploads' => 'Inga filer laddas upp.', + 'overwrite' => 'har redan laddats upp. Vill du skriva över det?', + 'uploading' => 'uppladdning', + 'loading' => 'Läser in', + 'error_upload' => 'Det gick inte att ladda upp filen.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/tr/message.php b/addons/default/visiosoft/media-field_type/resources/lang/tr/message.php index 8f3ade422..06ac1b1b2 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/tr/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/tr/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Hangi klasöre yüklemek istersiniz?', - 'upload' => 'Yüklemek için buraya tıklayın veya bırakın.', - 'choose_files' => 'Hangi dosyaları kullanmak istersiniz?', + 'choose_folder' => 'Hangi klasöre yüklemek istersiniz?', + 'upload' => 'Yüklemek için buraya tıklayın veya bırakın.', + 'choose_files' => 'Hangi dosyaları kullanmak istersiniz?', 'no_files_selected' => 'Seçili dosya yok.', - 'no_uploads' => 'Dosya yüklenmedi.', - 'overwrite' => 'zaten yüklendi. Üzerine yazmak ister misiniz?', - 'uploading' => 'Yükleme', - 'loading' => 'Yükleniyor', + 'no_uploads' => 'Dosya yüklenmedi.', + 'overwrite' => 'zaten yüklendi. Üzerine yazmak ister misiniz?', + 'uploading' => 'Yükleme', + 'loading' => 'Yükleniyor', + 'error_upload' => 'Dosyayı yüklerken bir sorun oluştu.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/uk/message.php b/addons/default/visiosoft/media-field_type/resources/lang/uk/message.php index 863771fde..4982196bc 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/uk/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/uk/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'У яку папку ви хочете завантажити?', - 'upload' => 'Додати İmages | Завантажити İmages | Прикріпити фотографію', - 'choose_files' => 'Які файли ви хочете використовувати?', + 'choose_folder' => 'У яку папку ви хочете завантажити?', + 'upload' => 'Додати İmages | Завантажити İmages | Прикріпити фотографію', + 'choose_files' => 'Які файли ви хочете використовувати?', 'no_files_selected' => 'Файлів не вибрано.', - 'no_uploads' => 'Файлів не завантажено.', - 'overwrite' => 'вже завантажено. Чи хотіли б ви її перезаписати?', - 'uploading' => 'Завантаження', - 'loading' => 'Завантаження', + 'no_uploads' => 'Файлів не завантажено.', + 'overwrite' => 'вже завантажено. Чи хотіли б ви її перезаписати?', + 'uploading' => 'Завантаження', + 'loading' => 'Завантаження', + 'error_upload' => 'Не вдалося завантажити файл.', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/ur/message.php b/addons/default/visiosoft/media-field_type/resources/lang/ur/message.php index b1bcc2806..514127fdc 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/ur/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/ur/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'آپ کس فولڈر میں اپ لوڈ کرنا چاہیں گے؟', - 'upload' => 'İmages شامل کریں اپ لوڈ İmages | تصویر منسلک کریں', - 'choose_files' => 'آپ کون سی فائلیں استعمال کرنا چاہیں گے؟', + 'choose_folder' => 'آپ کس فولڈر میں اپ لوڈ کرنا چاہیں گے؟', + 'upload' => 'İmages شامل کریں اپ لوڈ İmages | تصویر منسلک کریں', + 'choose_files' => 'آپ کون سی فائلیں استعمال کرنا چاہیں گے؟', 'no_files_selected' => 'کوئی فائلیں منتخب نہیں کی گئیں۔', - 'no_uploads' => 'کوئی فائلیں اپ لوڈ نہیں کی گئیں۔', - 'overwrite' => 'پہلے ہی اپ لوڈ ہوچکا ہے۔ کیا آپ اسے ادلیکھت کرنا چاہیں گے؟', - 'uploading' => 'اپ لوڈ ہو رہا ہے', - 'loading' => 'لوڈ ہو رہا ہے', + 'no_uploads' => 'کوئی فائلیں اپ لوڈ نہیں کی گئیں۔', + 'overwrite' => 'پہلے ہی اپ لوڈ ہوچکا ہے۔ کیا آپ اسے ادلیکھت کرنا چاہیں گے؟', + 'uploading' => 'اپ لوڈ ہو رہا ہے', + 'loading' => 'لوڈ ہو رہا ہے', + 'error_upload' => 'فائل اپ لوڈ کرنے میں دشواری تھی۔', ]; diff --git a/addons/default/visiosoft/media-field_type/resources/lang/vi/message.php b/addons/default/visiosoft/media-field_type/resources/lang/vi/message.php index 813c92cfa..57182f557 100644 --- a/addons/default/visiosoft/media-field_type/resources/lang/vi/message.php +++ b/addons/default/visiosoft/media-field_type/resources/lang/vi/message.php @@ -1,12 +1,13 @@ <?php return [ - 'choose_folder' => 'Thư mục nào bạn muốn tải lên?', - 'upload' => 'Thêm phần mềm | Tải lên | Đính kèm ảnh', - 'choose_files' => 'Những tập tin bạn muốn sử dụng?', + 'choose_folder' => 'Thư mục nào bạn muốn tải lên?', + 'upload' => 'Thêm phần mềm | Tải lên | Đính kèm ảnh', + 'choose_files' => 'Những tập tin bạn muốn sử dụng?', 'no_files_selected' => 'Không có tập tin được chọn.', - 'no_uploads' => 'Không có tập tin tải lên.', - 'overwrite' => 'đã được tải lên. Bạn có muốn ghi đè lên nó?', - 'uploading' => 'Đang tải lên', - 'loading' => 'Đang tải', + 'no_uploads' => 'Không có tập tin tải lên.', + 'overwrite' => 'đã được tải lên. Bạn có muốn ghi đè lên nó?', + 'uploading' => 'Đang tải lên', + 'loading' => 'Đang tải', + 'error_upload' => 'Đã xảy ra sự cố khi tải tệp lên.', ]; diff --git a/addons/default/visiosoft/profile-module/composer.json b/addons/default/visiosoft/profile-module/composer.json index 9e60e3695..04878d89c 100644 --- a/addons/default/visiosoft/profile-module/composer.json +++ b/addons/default/visiosoft/profile-module/composer.json @@ -4,7 +4,10 @@ "autoload": { "psr-4": { "Visiosoft\\ProfileModule\\": "src/" - } + }, + "files": [ + "src/Support/_helpers.php" + ] }, "require": { "maatwebsite/excel": "*" diff --git a/addons/default/visiosoft/profile-module/migrations/2020_10_15_122457_visiosoft.module.profile__create_birthday_field.php b/addons/default/visiosoft/profile-module/migrations/2020_10_15_122457_visiosoft.module.profile__create_birthday_field.php new file mode 100644 index 000000000..c4741b263 --- /dev/null +++ b/addons/default/visiosoft/profile-module/migrations/2020_10_15_122457_visiosoft.module.profile__create_birthday_field.php @@ -0,0 +1,56 @@ +<?php + +use Anomaly\Streams\Platform\Database\Migration\Migration; + +class VisiosoftModuleProfileCreateBirthdayField extends Migration +{ + + /** + * Run the migrations. + * + * @return void + */ + public function up() + { + if ($stream = $this->streams()->findBySlugAndNamespace('users', 'users')) { + $field = $this->fields() + ->newQuery() + ->where('slug', 'birthday') + ->where('namespace', 'users') + ->first(); + + if (!$field) { + $field = $this->fields()->create([ + 'name' => trans('visiosoft.module.profile::field.birthday.name'), + 'namespace' => 'users', + 'slug' => 'birthday', + 'type' => 'anomaly.field_type.datetime', + 'locked' => 0, + 'config' => [ + "mode" => "date", + "picker" => true, + ] + ]); + + $this->assignments()->create([ + 'stream_id' => $stream->id, + 'field_id' => $field->id + ]); + } + } + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + /* + * I never go back on my word! + * That's my nindo: my ninja way! + * NARUTO + */ + } +} diff --git a/addons/default/visiosoft/profile-module/resources/assets/css/profile.scss b/addons/default/visiosoft/profile-module/resources/assets/css/profile.scss index ea9072a56..73cf95b77 100644 --- a/addons/default/visiosoft/profile-module/resources/assets/css/profile.scss +++ b/addons/default/visiosoft/profile-module/resources/assets/css/profile.scss @@ -114,4 +114,10 @@ } } } + + #nav-details { + .birthday-field .input-group-addon { + display: none; + } + } } \ No newline at end of file diff --git a/addons/default/visiosoft/profile-module/resources/lang/ar/field.php b/addons/default/visiosoft/profile-module/resources/lang/ar/field.php index 06260197a..37a4db21c 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ar/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ar/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'نوع السجل' ], + 'birthday' => [ + 'name' => 'عيد ميلاد' + ], 'identification_number' => [ 'name' => 'رقم الهوية' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/ar/message.php b/addons/default/visiosoft/profile-module/resources/lang/ar/message.php index 6a32416c9..a0ce07369 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ar/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ar/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'لا يوجد عنوان أو غير مصرح له بالمشاهدة.', 'empty_password_sms_message' => 'نظرًا لمشاكل الأمان ، قمنا بتغيير كلمة المرور الخاصة بك! كلمة المرور الجديدة:', 'required_all' => "كل الحقول مطلوبة!", + 'can_not_remove_filled_fields' => "لا يمكنك إزالة الحقول المملوءة!", // Forgot Password 'email_phone_not_found' => 'البريد الإلكتروني ، رقم الهاتف غير صحيح!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/az/field.php b/addons/default/visiosoft/profile-module/resources/lang/az/field.php index bbe9d9d37..cf93cb6e5 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/az/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/az/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Qeyd Növü' ], + 'birthday' => [ + 'name' => 'Ad günü' + ], 'identification_number' => [ 'name' => 'İdentifikasiya nömrəsi' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/az/message.php b/addons/default/visiosoft/profile-module/resources/lang/az/message.php index 2228931ed..718772fca 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/az/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/az/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Heç bir ünvan və ya görmək icazəsi yoxdur.', 'empty_password_sms_message' => 'Təhlükəsizlik problemləri ilə əlaqədar olaraq şifrənizi dəyişdirdik! Yeni parolunuz:', 'required_all' => "Bütün sahə tələb olunur!", + 'can_not_remove_filled_fields' => "Doldurulmuş sahələri silə bilməzsiniz!", // Forgot Password 'email_phone_not_found' => 'Elektron poçt, telefon nömrəsi düzgün deyil!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/bn/field.php b/addons/default/visiosoft/profile-module/resources/lang/bn/field.php index 330265a88..b8c537e52 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/bn/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/bn/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'রেজিস্টার প্রকার' ], + 'birthday' => [ + 'name' => 'জন্মদিন' + ], 'identification_number' => [ 'name' => 'সনাক্তকরণ নম্বর' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/bn/message.php b/addons/default/visiosoft/profile-module/resources/lang/bn/message.php index eccc91049..7faa1c7e9 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/bn/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/bn/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'কোনও ঠিকানা নেই বা দেখার অনুমতি নেই।', 'empty_password_sms_message' => 'সুরক্ষা সমস্যার কারণে আমরা আপনার পাসওয়ার্ড পরিবর্তন করেছি! আপনার নতুন পাসওয়ার্ডটি হ\'ল:', 'required_all' => "সমস্ত ক্ষেত্র প্রয়োজন!", + 'can_not_remove_filled_fields' => "আপনি ভরাট ক্ষেত্র সরাতে পারবেন না!", // Forgot Password 'email_phone_not_found' => 'ই-মেইল, ফোন নম্বর ঠিক নয়!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/de/field.php b/addons/default/visiosoft/profile-module/resources/lang/de/field.php index a5ebc6e2c..a6dfa642e 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/de/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/de/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Registertyp' ], + 'birthday' => [ + 'name' => 'Geburtstag' + ], 'identification_number' => [ 'name' => 'Identifikationsnummer' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/de/message.php b/addons/default/visiosoft/profile-module/resources/lang/de/message.php index 2ab48b44b..026edd871 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/de/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/de/message.php @@ -29,6 +29,7 @@ return [ 'ajax_address_error' => 'Keine Adresse oder nicht zum Anzeigen berechtigt.', 'empty_password_sms_message' => 'Aus Sicherheitsgründen haben wir Ihr Passwort geändert! Dein neues Passwort ist:', 'required_all' => "Alle Felder sind erforderlich!", + 'can_not_remove_filled_fields' => "Sie können gefüllte Felder nicht entfernen!", // Forgot Password 'email_phone_not_found' => 'Die E-Mail, Telefonnummer ist nicht korrekt!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/el/field.php b/addons/default/visiosoft/profile-module/resources/lang/el/field.php index 2212a1263..121d527c0 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/el/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/el/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Τύπος μητρώου' ], + 'birthday' => [ + 'name' => 'Γενέθλια' + ], 'identification_number' => [ 'name' => 'Αριθμός αναγνώρισης' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/el/message.php b/addons/default/visiosoft/profile-module/resources/lang/el/message.php index 56af6606b..5c6449ed7 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/el/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/el/message.php @@ -29,6 +29,7 @@ return [ 'ajax_address_error' => 'Καμία διεύθυνση ή μη εξουσιοδοτημένη προβολή.', 'empty_password_sms_message' => 'Λόγω προβλημάτων ασφαλείας, αλλάξαμε τον κωδικό πρόσβασής σας! Ο νέος κωδικός πρόσβασής σας είναι:', 'required_all' => "Απαιτείται όλο το πεδίο!", + 'can_not_remove_filled_fields' => "Δεν μπορείτε να καταργήσετε τα γεμάτα πεδία!", // Forgot Password 'email_phone_not_found' => 'Το E-mail, ο αριθμός τηλεφώνου δεν είναι σωστός!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/en/field.php b/addons/default/visiosoft/profile-module/resources/lang/en/field.php index df06bb419..452193750 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/en/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/en/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Register Type' ], + 'birthday' => [ + 'name' => 'Birthday' + ], 'identification_number' => [ 'name' => 'Identification Number' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/en/message.php b/addons/default/visiosoft/profile-module/resources/lang/en/message.php index e35fde682..49cef7e64 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/en/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/en/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'No address or not authorized to view.', 'empty_password_sms_message' => 'Due to security issues, we changed your password! Your new password is:', 'required_all' => "All Field is Required!", + 'can_not_remove_filled_fields' => "You can not remove filled fields!", // Forgot Password 'email_phone_not_found' => 'The E-mail, Phone Number is not correct!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/es/field.php b/addons/default/visiosoft/profile-module/resources/lang/es/field.php index 59afc16df..bfc6832a5 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/es/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/es/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Tipo de registro' ], + 'birthday' => [ + 'name' => 'Cumpleaños' + ], 'identification_number' => [ 'name' => 'Número de identificación' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/es/message.php b/addons/default/visiosoft/profile-module/resources/lang/es/message.php index 7ee667ddf..efb500a35 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/es/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/es/message.php @@ -29,6 +29,7 @@ return [ 'ajax_address_error' => 'Sin dirección o sin autorización para ver.', 'empty_password_sms_message' => '¡Debido a problemas de seguridad, cambiamos su contraseña! Tu nueva contraseña es:', 'required_all' => "¡Todo el campo es obligatorio!", + 'can_not_remove_filled_fields' => "¡No puedes eliminar los campos llenos!", // Forgot Password 'email_phone_not_found' => 'El correo electrónico, número de teléfono no es correcto!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/fa/field.php b/addons/default/visiosoft/profile-module/resources/lang/fa/field.php index ebb7805f3..386414b7e 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/fa/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/fa/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'نوع ثبت نام' ], + 'birthday' => [ + 'name' => 'روز تولد' + ], 'identification_number' => [ 'name' => 'شماره شناسایی' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/fa/message.php b/addons/default/visiosoft/profile-module/resources/lang/fa/message.php index f0c90c6a3..c43ae6c18 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/fa/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/fa/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'هیچ آدرس و یا مجاز به مشاهده نیست.', 'empty_password_sms_message' => 'به دلیل مشکلات امنیتی رمز عبور شما را تغییر دادیم! گذرواژه جدید شما این است:', 'required_all' => "همه زمینه لازم است!", + 'can_not_remove_filled_fields' => "شما نمی توانید زمینه های پر شده را حذف کنید!", // Forgot Password 'email_phone_not_found' => 'ایمیل ، شماره تلفن صحیح نیست!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/fr/field.php b/addons/default/visiosoft/profile-module/resources/lang/fr/field.php index db342a737..333268bc7 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/fr/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/fr/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Type de registre' ], + 'birthday' => [ + 'name' => 'Anniversaire' + ], 'identification_number' => [ 'name' => 'Numéro d\\'identification' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/fr/message.php b/addons/default/visiosoft/profile-module/resources/lang/fr/message.php index 6c114ed4b..6d6d43389 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/fr/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/fr/message.php @@ -29,6 +29,7 @@ return [ 'ajax_address_error' => 'Aucune adresse ou non autorisé à voir.', 'empty_password_sms_message' => 'En raison de problèmes de sécurité, nous avons changé votre mot de passe! Votre nouveau mot de passe est:', 'required_all' => "Tous les champs sont obligatoires!", + 'can_not_remove_filled_fields' => "Vous ne pouvez pas supprimer les champs remplis!", // Forgot Password 'email_phone_not_found' => 'L\'e-mail, le numéro de téléphone n\'est pas correct!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/he/field.php b/addons/default/visiosoft/profile-module/resources/lang/he/field.php index 11f643910..a565b9804 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/he/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/he/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'סוג הרשמה' ], + 'birthday' => [ + 'name' => 'יום הולדת' + ], 'identification_number' => [ 'name' => 'מספר זיהוי' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/he/message.php b/addons/default/visiosoft/profile-module/resources/lang/he/message.php index f619d2074..831282291 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/he/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/he/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'אין כתובת או לא מורשה להציג.', 'empty_password_sms_message' => 'בגלל בעיות אבטחה, שינינו את הסיסמא שלך! הסיסמה החדשה שלך היא:', 'required_all' => "כל השדה נדרש!", + 'can_not_remove_filled_fields' => "אינך יכול להסיר שדות מלאים!", // Forgot Password 'email_phone_not_found' => 'הדואר האלקטרוני, מספר הטלפון אינו תקין!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/hi/field.php b/addons/default/visiosoft/profile-module/resources/lang/hi/field.php index 952b5e8a3..50931b04d 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/hi/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/hi/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'रजिस्टर प्रकार' ], + 'birthday' => [ + 'name' => 'जन्मदिन' + ], 'identification_number' => [ 'name' => 'पहचान संख्या' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/hi/message.php b/addons/default/visiosoft/profile-module/resources/lang/hi/message.php index 1c8a9086f..c16b451c5 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/hi/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/hi/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'कोई पता या देखने के लिए अधिकृत नहीं है।', 'empty_password_sms_message' => 'सुरक्षा समस्याओं के कारण, हमने आपका पासवर्ड बदल दिया है! आपका नया पासवर्ड है:', 'required_all' => "सभी फ़ील्ड आवश्यक है!", + 'can_not_remove_filled_fields' => "आप भरे हुए खेतों को नहीं हटा सकते हैं!", // Forgot Password 'email_phone_not_found' => 'ई-मेल, फोन नंबर सही नहीं है!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/it/field.php b/addons/default/visiosoft/profile-module/resources/lang/it/field.php index 21c9d7e35..09934961b 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/it/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/it/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Tipo di registro' ], + 'birthday' => [ + 'name' => 'Compleanno' + ], 'identification_number' => [ 'name' => 'Numero identificativo' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/it/message.php b/addons/default/visiosoft/profile-module/resources/lang/it/message.php index 9f94f247e..e41aeab35 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/it/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/it/message.php @@ -29,6 +29,7 @@ return [ 'ajax_address_error' => 'Nessun indirizzo o non autorizzato a visualizzare.', 'empty_password_sms_message' => 'Per problemi di sicurezza, abbiamo cambiato la tua password! La tua nuova password è:', 'required_all' => "Tutti i campi sono obbligatori!", + 'can_not_remove_filled_fields' => "Non puoi rimuovere i campi compilati!", // Forgot Password 'email_phone_not_found' => 'L\'e-mail, il numero di telefono non è corretto!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/ja/field.php b/addons/default/visiosoft/profile-module/resources/lang/ja/field.php index ac91892ea..480340bba 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ja/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ja/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => '登録タイプ' ], + 'birthday' => [ + 'name' => 'お誕生日' + ], 'identification_number' => [ 'name' => '識別番号' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/ja/message.php b/addons/default/visiosoft/profile-module/resources/lang/ja/message.php index 914a5e122..d9f2c769e 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ja/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ja/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => '住所がないか、表示する権限がありません。', 'empty_password_sms_message' => 'セキュリティ上の問題により、パスワードを変更しました!新しいパスワードは:', 'required_all' => "すべてのフィールドが必要です!", + 'can_not_remove_filled_fields' => "塗りつぶされたフィールドは削除できません!", // Forgot Password 'email_phone_not_found' => 'メール、電話番号が違います!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/ko/field.php b/addons/default/visiosoft/profile-module/resources/lang/ko/field.php index 773c78dce..e5bc74744 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ko/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ko/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => '등록 유형' ], + 'birthday' => [ + 'name' => '생신' + ], 'identification_number' => [ 'name' => '식별 번호' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/ko/message.php b/addons/default/visiosoft/profile-module/resources/lang/ko/message.php index 118e4327d..0981f167b 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ko/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ko/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => '주소가 없거나 볼 권한이 없습니다.', 'empty_password_sms_message' => '보안 문제로 인해 비밀번호가 변경되었습니다. 새 비밀번호는 다음과 같습니다.', 'required_all' => "모든 필드는 필수입니다!", + 'can_not_remove_filled_fields' => "채워진 필드를 제거 할 수 없습니다!", // Forgot Password 'email_phone_not_found' => '이메일, 전화 번호가 올바르지 않습니다!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/nl/field.php b/addons/default/visiosoft/profile-module/resources/lang/nl/field.php index 10d14ac4b..366fb9158 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/nl/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/nl/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Type register' ], + 'birthday' => [ + 'name' => 'Verjaardag' + ], 'identification_number' => [ 'name' => 'Identificatie Nummer' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/nl/message.php b/addons/default/visiosoft/profile-module/resources/lang/nl/message.php index 906ed3b30..86b307c49 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/nl/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/nl/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Geen adres of niet geautoriseerd om te bekijken.', 'empty_password_sms_message' => 'Vanwege beveiligingsproblemen hebben we uw wachtwoord gewijzigd! Je nieuwe wachtwoord is:', 'required_all' => "Alle velden zijn vereist!", + 'can_not_remove_filled_fields' => "U kunt geen ingevulde velden verwijderen!", // Forgot Password 'email_phone_not_found' => 'Het e-mailadres, telefoonnummer is niet correct!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/pl/field.php b/addons/default/visiosoft/profile-module/resources/lang/pl/field.php index 29b51337c..7ea14b05c 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/pl/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/pl/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Typ rejestru' ], + 'birthday' => [ + 'name' => 'Urodziny' + ], 'identification_number' => [ 'name' => 'Numer identyfikacyjny' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/pl/message.php b/addons/default/visiosoft/profile-module/resources/lang/pl/message.php index ee42e0a49..982b4c085 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/pl/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/pl/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Brak adresu lub brak uprawnień do przeglądania.', 'empty_password_sms_message' => 'Ze względów bezpieczeństwa zmieniliśmy twoje hasło! Twoje nowe hasło to:', 'required_all' => "Wszystkie pola są wymagane!", + 'can_not_remove_filled_fields' => "Nie możesz usunąć wypełnionych pól!", // Forgot Password 'email_phone_not_found' => 'Adres e-mail, numer telefonu jest nieprawidłowy!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/pt/field.php b/addons/default/visiosoft/profile-module/resources/lang/pt/field.php index 670041b11..3eecb6c9f 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/pt/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/pt/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Tipo de registro' ], + 'birthday' => [ + 'name' => 'Aniversário' + ], 'identification_number' => [ 'name' => 'Número de identificação' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/pt/message.php b/addons/default/visiosoft/profile-module/resources/lang/pt/message.php index 3d2f57b67..025a7949a 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/pt/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/pt/message.php @@ -31,6 +31,7 @@ return [ 'ajax_address_error' => 'Nenhum endereço ou não está autorizado a visualizar.', 'empty_password_sms_message' => 'Devido a problemas de segurança, alteramos sua senha! Sua nova senha é:', 'required_all' => "Todo o campo é obrigatório!", + 'can_not_remove_filled_fields' => "Você não pode remover os campos preenchidos!", // Forgot Password 'email_phone_not_found' => 'O e-mail, número de telefone não está correto!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/ro/field.php b/addons/default/visiosoft/profile-module/resources/lang/ro/field.php index e37ca927d..586452d10 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ro/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ro/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Tip de înregistrare' ], + 'birthday' => [ + 'name' => 'Zi de nastere' + ], 'identification_number' => [ 'name' => 'Numar de identificare' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/ro/message.php b/addons/default/visiosoft/profile-module/resources/lang/ro/message.php index 83347bf85..34702bc7a 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ro/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ro/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Nicio adresă sau nu este autorizată să vizualizeze.', 'empty_password_sms_message' => 'Din cauza problemelor de securitate, v-am schimbat parola! Noua dvs. parolă este:', 'required_all' => "Tot câmpul este obligatoriu!", + 'can_not_remove_filled_fields' => "Nu puteți elimina câmpurile umplute!", // Forgot Password 'email_phone_not_found' => 'E-mailul, numărul de telefon nu este corect!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/ru/field.php b/addons/default/visiosoft/profile-module/resources/lang/ru/field.php index 14810a8c9..5b04cb53d 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ru/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ru/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Тип регистрации' ], + 'birthday' => [ + 'name' => 'День рождения' + ], 'identification_number' => [ 'name' => 'Идентификационный номер' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/ru/message.php b/addons/default/visiosoft/profile-module/resources/lang/ru/message.php index 3ce635297..473d42daf 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ru/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ru/message.php @@ -31,6 +31,7 @@ return [ 'ajax_address_error' => 'Нет адреса или не авторизован для просмотра.', 'empty_password_sms_message' => 'Из-за проблем безопасности мы изменили ваш пароль! Ваш новый пароль:', 'required_all' => "Все поля обязательны для заполнения!", + 'can_not_remove_filled_fields' => "Заполненные поля удалить нельзя!", // Forgot Password 'email_phone_not_found' => 'E-mail, номер телефона неверен!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/sq/field.php b/addons/default/visiosoft/profile-module/resources/lang/sq/field.php index f0c632930..9d4e84e43 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/sq/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/sq/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Tipi i regjistrimit' ], + 'birthday' => [ + 'name' => 'Ditëlindja' + ], 'identification_number' => [ 'name' => 'Numrin e identifikimit' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/sq/message.php b/addons/default/visiosoft/profile-module/resources/lang/sq/message.php index 16dc3cee2..d8cdd5aae 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/sq/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/sq/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Asnjë adresë ose jo e autorizuar për të parë.', 'empty_password_sms_message' => 'Për shkak të çështjeve të sigurisë, ne ndryshuam fjalëkalimin tuaj! Fjalëkalimi juaj i ri është:', 'required_all' => "Kërkohet e gjithë fusha!", + 'can_not_remove_filled_fields' => "Ju nuk mund të hiqni fushat e mbushura!", // Forgot Password 'email_phone_not_found' => 'E-maili, numri i telefonit nuk është i saktë!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/sv/field.php b/addons/default/visiosoft/profile-module/resources/lang/sv/field.php index 28bfa9638..64ebdf25d 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/sv/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/sv/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Registreringstyp' ], + 'birthday' => [ + 'name' => 'Födelsedag' + ], 'identification_number' => [ 'name' => 'Identifieringsnummer' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/sv/message.php b/addons/default/visiosoft/profile-module/resources/lang/sv/message.php index c20f75d1a..ff42328d8 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/sv/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/sv/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Ingen adress eller inte behörig att visa.', 'empty_password_sms_message' => 'På grund av säkerhetsproblem har vi ändrat ditt lösenord! Ditt nya lösenord är:', 'required_all' => "Allt fält krävs!", + 'can_not_remove_filled_fields' => "Du kan inte ta bort fyllda fält!", // Forgot Password 'email_phone_not_found' => 'E-post, telefonnummer är inte korrekt!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/tr/field.php b/addons/default/visiosoft/profile-module/resources/lang/tr/field.php index fd2610675..54c038dca 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/tr/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/tr/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Üyelik Tipi' ], + 'birthday' => [ + 'name' => 'Doğum günü' + ], 'identification_number' => [ 'name' => 'Kimlik Numarası' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/tr/message.php b/addons/default/visiosoft/profile-module/resources/lang/tr/message.php index 68aed29b7..0dd4f3d0e 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/tr/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/tr/message.php @@ -13,7 +13,7 @@ return [ "login_info_old_user" => "E-posta adresinize yeni bir şifre gönderildi.", "success" => "İşlem Başarılı", "notified_new_updates" => "Yeni güncellemelerden haberdar olmak istiyorum", - "notified_about_ads" => "Reklamlarım hakkında bildirimlere izin ver", + "notified_about_ads" => "İlanlarım hakkında bildirimlere izin ver", "receive_messages_email" => "Mesajları e-posta olarak almak istiyorum", "no_packages_module" => "Paket Modülü Bulunamadı!", "required_add"=> "Lütfen gerekli tüm satırları doldurun.", @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Adres yok veya görüntüleme yetkiniz bulunmamaktadır.', 'empty_password_sms_message' => 'Güvenlik sorunları nedeniyle şifrenizi değiştirdik! Yeni parolanız:', 'required_all' => "Tüm Alanlar Zorunludur!", + 'can_not_remove_filled_fields' => "Doldurulmuş alanları kaldıramazsınız!", // Forgot Password 'email_phone_not_found' => 'E-posta, Telefon Numarası doğru değil!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/uk/field.php b/addons/default/visiosoft/profile-module/resources/lang/uk/field.php index d81046cbf..c48fb8e9f 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/uk/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/uk/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Тип реєстру' ], + 'birthday' => [ + 'name' => 'День народження' + ], 'identification_number' => [ 'name' => 'Ідентифікаційний номер' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/uk/message.php b/addons/default/visiosoft/profile-module/resources/lang/uk/message.php index 61a7c1b44..39de4a60c 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/uk/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/uk/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Немає адреси або не має права перегляду.', 'empty_password_sms_message' => 'Через проблеми безпеки ми змінили ваш пароль! Ваш новий пароль:', 'required_all' => "Поле обов'язкове!", + 'can_not_remove_filled_fields' => "Ви не можете видалити заповнені поля!", // Forgot Password 'email_phone_not_found' => 'Неправильний електронний лист, номер телефону!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/ur/field.php b/addons/default/visiosoft/profile-module/resources/lang/ur/field.php index 31f5216b5..5ccf5245b 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ur/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ur/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'رجسٹر کی قسم' ], + 'birthday' => [ + 'name' => 'Birthday' + ], 'identification_number' => [ 'name' => 'شناختی نمبر' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/ur/message.php b/addons/default/visiosoft/profile-module/resources/lang/ur/message.php index 79fdc2703..ec3e56351 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ur/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ur/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'کوئی پتہ اور نہ ہی دیکھنے کا اختیار ہے۔', 'empty_password_sms_message' => 'سیکیورٹی کے مسائل کی وجہ سے ، ہم نے آپ کا پاس ورڈ تبدیل کردیا! آپ کا نیا پاس ورڈ یہ ہے:', 'required_all' => "تمام فیلڈ کی ضرورت ہے!", + 'can_not_remove_filled_fields' => "آپ بھرے کھیتوں کو نہیں ہٹا سکتے!", // Forgot Password 'email_phone_not_found' => 'ای میل ، فون نمبر درست نہیں ہے!', diff --git a/addons/default/visiosoft/profile-module/resources/lang/vi/field.php b/addons/default/visiosoft/profile-module/resources/lang/vi/field.php index ed2e4c01a..b5a5101ac 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/vi/field.php +++ b/addons/default/visiosoft/profile-module/resources/lang/vi/field.php @@ -55,6 +55,9 @@ return [ 'register_type' => [ 'name' => 'Đăng ký loại' ], + 'birthday' => [ + 'name' => 'Sinh nhật' + ], 'identification_number' => [ 'name' => 'Mã số' ], diff --git a/addons/default/visiosoft/profile-module/resources/lang/vi/message.php b/addons/default/visiosoft/profile-module/resources/lang/vi/message.php index 34e932c10..481efc259 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/vi/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/vi/message.php @@ -28,6 +28,7 @@ return [ 'ajax_address_error' => 'Không có địa chỉ hoặc không được phép xem.', 'empty_password_sms_message' => 'Do vấn đề bảo mật, chúng tôi đã thay đổi mật khẩu của bạn! Mật khẩu mới của bạn là:', 'required_all' => "Tất cả các lĩnh vực là bắt buộc!", + 'can_not_remove_filled_fields' => "Bạn không thể loại bỏ các trường đã điền!", // Forgot Password 'email_phone_not_found' => 'E-mail, số điện thoại không chính xác!', diff --git a/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig b/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig index 7d53dee4d..98720ce82 100644 --- a/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig +++ b/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig @@ -96,6 +96,7 @@ </div> </div> </div> + {{ userForm.close()|raw }} </div> </div> <div class="tab-pane fade" id="nav-details" role="tabpanel" @@ -140,20 +141,31 @@ {{ profileForm.fields.land_phone.input|raw }} </div> </div> + <div class="col-md-12"> + <div class="form-group birthday-field"> + <label class="control-label font-weight-bold"> + {{ trans("visiosoft.module.profile::field.birthday.name") }} + </label> + {{ profileForm.fields.birthday.input|raw }} + </div> + </div> <div class="col-md-12"> <div class="form-group"> - <label class="control-label font-weight-bold">{{ trans("visiosoft.module.profile::field.register_type.name") }}</label> + <label class="control-label font-weight-bold"> + {{ trans("visiosoft.module.profile::field.register_type.name") }} + </label> {{ profileForm.fields.register_type.input|raw }} </div> </div> <div class="col-md-12 text-right"> - <div class="form-group"> + <div class="form-group d-flex align-items-center justify-content-end"> + {{ addBlock('profile/detail/profile-detail-form/actions')|raw }} + {{ profileForm.actions|raw }} </div> - </div> </div> - {{ profileForm.close()|raw }} + {{ profileForm.close()|raw }} </div> <div class="tab-pane fade" id="nav-password" role="tabpanel" aria-labelledby="nav-password-tab"> {% set passwordForm = form('updatePassword').get() %} diff --git a/addons/default/visiosoft/profile-module/src/Events/UserActivatedByMail.php b/addons/default/visiosoft/profile-module/src/Events/UserActivatedByMail.php index ecfe8b278..6e19425a7 100644 --- a/addons/default/visiosoft/profile-module/src/Events/UserActivatedByMail.php +++ b/addons/default/visiosoft/profile-module/src/Events/UserActivatedByMail.php @@ -14,4 +14,9 @@ class UserActivatedByMail { $this->user = $user; } + + public function getUser() + { + return $this->user; + } } \ No newline at end of file diff --git a/addons/default/visiosoft/profile-module/src/Profile/Profile/ProfileFormBuilder.php b/addons/default/visiosoft/profile-module/src/Profile/Profile/ProfileFormBuilder.php index 44b7e584a..a64e538b5 100644 --- a/addons/default/visiosoft/profile-module/src/Profile/Profile/ProfileFormBuilder.php +++ b/addons/default/visiosoft/profile-module/src/Profile/Profile/ProfileFormBuilder.php @@ -13,6 +13,7 @@ class ProfileFormBuilder extends FormBuilder 'office_phone', 'land_phone', 'identification_number', + 'birthday', 'register_type' ]; diff --git a/addons/default/visiosoft/profile-module/src/Profile/Profile/ProfileFormHandler.php b/addons/default/visiosoft/profile-module/src/Profile/Profile/ProfileFormHandler.php index f1f0d45b7..aae2f88f6 100644 --- a/addons/default/visiosoft/profile-module/src/Profile/Profile/ProfileFormHandler.php +++ b/addons/default/visiosoft/profile-module/src/Profile/Profile/ProfileFormHandler.php @@ -21,6 +21,7 @@ class ProfileFormHandler 'office_phone' => $builder->getPostValue('office_phone'), 'land_phone' => $builder->getPostValue('land_phone'), 'identification_number' => $builder->getPostValue('identification_number'), + 'birthday' => $builder->getPostValue('birthday'), 'register_type' => $builder->getPostValue('register_type'), ]; @@ -32,6 +33,14 @@ class ProfileFormHandler $user = $userModel->newQuery()->find(\auth()->id()); + // Prevent removing already filled fields + foreach ($parameters as $field => $value) { + if ($user->$field && !$value) { + $messages->error('visiosoft.module.profile::message.can_not_remove_filled_fields'); + return; + } + } + $oldCustomerInfo = $user->toArray(); $changes = $this->change($user, $parameters); diff --git a/addons/default/visiosoft/profile-module/src/Seed/UsersFieldsSeeder.php b/addons/default/visiosoft/profile-module/src/Seed/UsersFieldsSeeder.php index ede3c3c13..7b2f4c51a 100644 --- a/addons/default/visiosoft/profile-module/src/Seed/UsersFieldsSeeder.php +++ b/addons/default/visiosoft/profile-module/src/Seed/UsersFieldsSeeder.php @@ -3,11 +3,9 @@ use Anomaly\Streams\Platform\Assignment\AssignmentModelTranslation; use Anomaly\Streams\Platform\Assignment\Contract\AssignmentRepositoryInterface; use Anomaly\Streams\Platform\Database\Seeder\Seeder; -use Anomaly\Streams\Platform\Entry\EntryTranslationsModel; use Anomaly\Streams\Platform\Field\Contract\FieldRepositoryInterface; use Anomaly\Streams\Platform\Field\FieldModelTranslation; use Anomaly\Streams\Platform\Stream\Contract\StreamRepositoryInterface; -use Anomaly\Streams\Platform\Stream\StreamModelTranslation; use Visiosoft\LocationModule\Country\CountryModel; class UsersFieldsSeeder extends Seeder @@ -144,6 +142,15 @@ class UsersFieldsSeeder extends Seeder 'separator' => ':', ] ], + 14 => [ + 'name' => trans('visiosoft.module.profile::field.birthday.name'), + 'slug' => 'birthday', + 'type' => 'anomaly.field_type.datetime', + 'config' => [ + "mode" => "date", + "picker" => true, + ] + ], ]; foreach ($customFields as $customField) { diff --git a/addons/default/visiosoft/profile-module/src/Support/Command/getAdminUsers.php b/addons/default/visiosoft/profile-module/src/Support/Command/getAdminUsers.php new file mode 100644 index 000000000..5e5dd4079 --- /dev/null +++ b/addons/default/visiosoft/profile-module/src/Support/Command/getAdminUsers.php @@ -0,0 +1,12 @@ +<?php namespace Visiosoft\ProfileModule\Support\Command; + +use Anomaly\UsersModule\Role\Contract\RoleRepositoryInterface; + +class getAdminUsers +{ + public function handle() + { + $adminRole = app(RoleRepositoryInterface::class)->findBySlug('admin'); + return $adminRole->getUsers(); + } +} diff --git a/addons/default/visiosoft/profile-module/src/Support/_helpers.php b/addons/default/visiosoft/profile-module/src/Support/_helpers.php new file mode 100644 index 000000000..e9cc6fde7 --- /dev/null +++ b/addons/default/visiosoft/profile-module/src/Support/_helpers.php @@ -0,0 +1,10 @@ +<?php + +use Visiosoft\ProfileModule\Support\Command\getAdminUsers; + +if (!function_exists('get_admins')) +{ + function get_admins() { + return dispatch_now(new getAdminUsers()); + } +} \ No newline at end of file