diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php index 7c83e2392..92d4a8d3c 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php @@ -23,6 +23,7 @@ return [ 'latest-limit', 'popular_ads_limit', 'default_view_type', + 'price_area_hidden', 'hide_listing_standard_price', 'hide_zero_price', 'auto_approve', @@ -67,7 +68,7 @@ return [ 'user' => [ 'title' => 'visiosoft.module.advs::section.user', 'fields' => [ - 'register_email_field', + 'register_email_field' ], ], 'filter' => [ @@ -76,6 +77,12 @@ return [ 'hide_price_filter', 'hide_date_filter', 'hide_photo_filter', 'hide_map_filter', 'user_filter_limit' ], ], + 'translations' => [ + 'title' => 'visiosoft.module.advs::section.translations', + 'fields' => [ + 'override_text', + ], + ], ], ], ]; diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php index df69de9c2..d3c42dd98 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php @@ -153,6 +153,12 @@ return [ 'mode' => 'checkbox' ] ], + 'price_area_hidden' => [ + 'type' => 'anomaly.field_type.boolean', + 'config' => [ + 'default_value' => false, + ] + ], 'enabled_currencies' => [ 'bind' => 'streams::currencies.enabled', 'env' => 'ADV_ENABLED_CURRENCIES', @@ -339,4 +345,9 @@ return [ 'mode' => 'checkbox' ], ], + 'override_text' => [ + 'type' => 'anomaly.field_type.tags', + 'bind' => 'override_text', + 'env' => 'OVERRIDE_TEXT', + ], ]; 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 c09c7bc27..777bc94d0 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/button.php @@ -42,4 +42,5 @@ return [ 'replicate' => 'Replicate', 'fast_create' => 'Fast create', 'publish' => 'Publish', + 'import' => 'Import', ]; 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 1992005b1..6e1310527 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/section.php @@ -55,4 +55,5 @@ return [ 'option_configuration' => [ 'title' => 'Configuration', ], + 'translations' => 'Translations', ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/setting.php b/addons/default/visiosoft/advs-module/resources/lang/en/setting.php index 660e90150..c773d2cce 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/setting.php @@ -126,7 +126,9 @@ return [ 'market_place' => [ 'name' => 'Market Place', ], - + 'price_area_hidden' => [ + 'name' => 'Price Area Hidden', + ], 'hide_price_filter' => [ 'name' => 'Hide Price Filter', ], @@ -205,4 +207,8 @@ return [ 'name' => 'Show Post Ad Agreement', 'instructions' => 'Turn this on if you want to display a privacy policy agreement on the ad creation page', ], + 'override_text' => [ + 'name' => 'Override Text', + 'instructions' => 'Old Value:New Value' + ], ]; 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 9ba9fa095..2ebeaae73 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/button.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/button.php @@ -38,5 +38,7 @@ return [ 'new_options_configuration' => 'Yeni Seçenek yapılandırması', 'new_option_configuration' => 'Yeni Seçenek yapılandırması', 'create_configurations' => 'Konfigürasyonlar Oluşturun', - 'replicate' => 'Tekrarlamak', + 'replicate' => 'Tekrarla', + 'publish' => 'Yayınla', + ]; 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 182ed9036..0c5de843a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/field.php @@ -307,6 +307,12 @@ return [ 'listing_details' => 'Liste Ayrıntıları', 'preview' => 'Ön İzleme', 'congratulations' => 'Tebrikler', + 'ad_desc' => 'İlan Açıklaması', + 'upload_photos' => 'Resim Yükle', + 'additional_fields' => 'Özel Alanlar', + 'ad_location' => 'Lokasyon Ekle', + + 'free' => 'Bedava', 'ad_date' => 'İlan Tarihi', 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 c3f2b06b2..6cbc77cb4 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/message.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/message.php @@ -27,4 +27,6 @@ return [ 'ad_doesnt_exist' => "Bu İlan mevcut değil!", 'select_location_error' => "Lütfen haritada bir yer seçin!", 'this_ad_is_not_valid_anymore' => "Bu ürün veya ilan artık geçerli değil!", + 'approve_status_change' => "İlanınızın Durumu Etkin Olarak Ayarlandı!", + 'passive_status_change' => "İlanınızın Durumu Pasif Olarak Ayarlandı!", ]; 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 dfc591859..af3e2b57c 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 @@ -90,7 +90,9 @@ -