diff --git a/addons/default/visiosoft/advs-module/resources/js/location.js b/addons/default/visiosoft/advs-module/resources/js/location.js index 69ea2e408..e3cc50610 100644 --- a/addons/default/visiosoft/advs-module/resources/js/location.js +++ b/addons/default/visiosoft/advs-module/resources/js/location.js @@ -133,7 +133,9 @@ function haritaIslem() { return true; } str = str.replace(/\(.+\)/g, "").replace(' ', ' '); - + google.maps.event.addListener(map, 'click', function (event) { + placeMarker(event.latLng); + }); var geocoder = new google.maps.Geocoder(); geocoder.geocode({'address': str}, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { @@ -149,9 +151,7 @@ function haritaIslem() { } if ($('select[name="'+neighborhoodSelectName+'"]').val() != "" && $('select[name="'+neighborhoodSelectName+'"]').val() != 0 && secildi == 0) { secildi = 1; - google.maps.event.addListener(map, 'click', function (event) { - placeMarker(event.latLng); - }); + } }); } 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 315bc1674..6f2825ecc 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ar/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ar/field.php @@ -249,5 +249,6 @@ return [ ], 'yes' => [ 'name' => 'نعم' - ] + ], + "no_location" => "لا يوجد موقع محدد" ]; 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 8058541aa..89f70ccdc 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/field.php @@ -249,5 +249,6 @@ return [ ], 'yes' => [ 'name' => 'Yes' - ] + ], + "no_location" => "No location is selected." ]; 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 e0afec597..6e26edf9f 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fr/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fr/field.php @@ -143,7 +143,7 @@ return [ 'approve' => 'Approuver', 'passive' => "Passif", 'offered_by' => 'Offert par', - 'more_ads_by' => 'Plus d\\'annonces par', + 'more_ads_by' => 'Plus dannonces par', 'click_phone' => 'Afficher le numéro de téléphone', 'share' => 'Partager cette annonce', 'report' => 'Signaler cette annonce', @@ -155,12 +155,12 @@ return [ 'secure_trading' => 'Trading sécurisé', '24/7' => 'Assistance 24/7', 'easy_trading' => 'Trading facile', - 'need_help' => 'Besoin d\\'aide pour?', + 'need_help' => 'Besoin daide pour?', 'give_a_call' => 'Donner un appel sur', 'message_sent' => 'Message envoyé!', 'asap' => 'Message envoyé, le vendeur vous contactera dès que possible.', - 'ad_id' => 'ID d\\'annonce', + 'ad_id' => 'ID dannonce', 'contact_with' => 'Contacter avec', 'create_adv' => 'Créer une publicité', 'edit_adv' => 'Modifier une annonce', @@ -184,7 +184,7 @@ return [ 'is_get_adv' => [ 'name' => 'OBTENIR' ], - 'corporate_info' => 'Informations sur l\\'entreprise', + 'corporate_info' => 'Informations sur lentreprise', 'featured_ads' => "Annonces en vedette", 'trending_ads' => 'Annonces Trendind', 'search_ads_result_message' => [ @@ -199,9 +199,9 @@ return [ 'list' => 'liste', ], 'advs_list_table_thead' => [ - 'name' => 'Nom de l\\'annonce', + 'name' => 'Nom de lannonce', 'price' => 'Prix', - 'publish_at' => 'Date de l\\'annonce', + 'publish_at' => 'Date de lannonce', 'location_city' => 'Ville', 'location_country' => 'Pays', ], 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 7d2c970da..3f6eaaba3 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/it/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/it/field.php @@ -121,7 +121,7 @@ return [ 'search' => 'Ricerca', 'recommended' => 'Annunci consigliati per te', 'sort_by' => 'Ordina per', - 'pick_option' => 'Scegli un\\'opzione', + 'pick_option' => 'Scegli unopzione', 'pick_ordering' => 'Ordering', 'price_high' => 'Prezzo da alto a basso', 'price-low' => 'Prezzo da basso ad alto', @@ -131,7 +131,7 @@ return [ 'location' => 'Posizione', 'send_message' => 'Invia messaggio', 'phone_gsm' => 'Telefono GSM', - 'phone_office' => 'Telefono dell\\'ufficio', + 'phone_office' => 'Telefono dellufficio', 'add_to_favorites' => "Aggiungi ai preferiti", 'send' => 'Inviare', 'search_name' => 'Cerca nome', @@ -199,9 +199,9 @@ return [ 'list' => 'Elenco', ], 'advs_list_table_thead' => [ - 'name' => 'Nome dell\\'annuncio', + 'name' => 'Nome dellannuncio', 'price' => 'Prezzo', - 'publish_at' => 'Data dell\\'annuncio', + 'publish_at' => 'Data dellannuncio', 'location_city' => 'Città', 'location_country' => 'Nazione', ], 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 1e7c7eedc..c7d088bdf 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/field.php @@ -107,7 +107,7 @@ return [ 'name' => 'Açıklama' ], 'type' => [ - 'name' => 'tip' + 'name' => 'Tip' ], 'parent_adv' => [ 'name' => 'İlgili İlan' @@ -116,7 +116,7 @@ return [ 'name' => 'değer' ], 'list' => 'List', - 'home' => 'Ev', + 'home' => 'Anasayfa', 'list-page' => 'Liste Sayfası', 'search' => 'Arama', 'recommended' => 'Sizin için Önerilen İlanlar', @@ -172,7 +172,7 @@ return [ 'email' => 'E-Posta', 'phone' => 'Telefon', 'send_us_your_feedback' => 'Bize Görüşlerinizi Gönderin', - 'online_shopping' => 'ALMAK', + 'online_shopping' => 'Mağaza', 'approved' => 'Başarıyla Onaylandı', 'extended' => 'Extended Successfully', 'declined' => 'Başarıyla Reddedildi', @@ -203,7 +203,7 @@ return [ 'name' => 'İlan Adı', 'price' => 'Fiyat', 'publish_at' => 'İlan Tarihi', - 'location_city' => 'Kent', + 'location_city' => 'Şehir', 'location_country' => 'ülke', ], 'show_list_view' => [ @@ -229,27 +229,28 @@ return [ ], 'edit_category' => 'Kategori Düzenle', 'max' => [ - 'name' => 'Max', + 'name' => 'Maks', ], 'min' => [ 'name' => 'Min', ], 'in_the_last_24_hours' => [ - 'name' => 'In The Last 24 Hours' + 'name' => 'Son 24 saat' ], 'in_the_last_week' => [ - 'name' => 'In The Last Week' + 'name' => 'Son 1 hafta' ], 'in_the_last_month' => [ - 'name' => 'In The Last Month' + 'name' => 'Son 1 Ay' ], 'ads_with_photo' => [ - 'name' => 'Ads With Photo' + 'name' => 'Fotoğraflı İlanlar' ], 'ads_with_video' => [ - 'name' => 'Ads With Video' + 'name' => 'Videolu İlanlar' ], 'yes' => [ - 'name' => 'Yes' - ] + 'name' => 'Evet' + ], + "no_location" => "Lokasyon eklenmemiş." ]; diff --git a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/map.twig b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/map.twig new file mode 100644 index 000000000..a6f0320b9 --- /dev/null +++ b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/map.twig @@ -0,0 +1,29 @@ +
+ {% if(adv.map_Val == "") %} + {{ trans('visiosoft.module.advs::field.no_location') }} + {% else %} + {% set map_arr = adv.map_Val|split(',') %} +
+ + + + {% endif %} + \ No newline at end of file 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 a38ee3e45..f407626a7 100644 --- a/addons/default/visiosoft/profile-module/resources/lang/ar/message.php +++ b/addons/default/visiosoft/profile-module/resources/lang/ar/message.php @@ -9,7 +9,7 @@ return [ "login_error" => "تسجيل الدخول أو كلمة سر خاطئة.", "login_noMail_old_user" => "لا يمكن العثور على عنوان البريد الإلكتروني الذي أدخلته.", "login_noMail_old_user2" => "يرجى التحقق من عنوان البريد الإلكتروني والمحاولة مرة أخرى.", - "login_noMail_old_user3" => "إذا استمرت المشكلة ، يرجى الاتصال على \\'info@openclassify.com\\'.", + "login_noMail_old_user3" => "إذا استمرت المشكلة ، يرجى الاتصال على info@openclassify.co.", "login_info_old_user" => "تم إرسال كلمة مرور جديدة إلى عنوان البريد الإلكتروني الخاص بك.", "success" => "نجاح", "notified_new_updates" => "أريد أن يتم إخباري بالتحديثات الجديدة",