mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-08 22:36:06 -06:00
Map added and language is fixed
This commit is contained in:
parent
0874309a60
commit
f216269400
@ -133,7 +133,9 @@ function haritaIslem() {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
str = str.replace(/\(.+\)/g, "").replace(' ', ' ');
|
str = str.replace(/\(.+\)/g, "").replace(' ', ' ');
|
||||||
|
google.maps.event.addListener(map, 'click', function (event) {
|
||||||
|
placeMarker(event.latLng);
|
||||||
|
});
|
||||||
var geocoder = new google.maps.Geocoder();
|
var geocoder = new google.maps.Geocoder();
|
||||||
geocoder.geocode({'address': str}, function (results, status) {
|
geocoder.geocode({'address': str}, function (results, status) {
|
||||||
if (status == google.maps.GeocoderStatus.OK) {
|
if (status == google.maps.GeocoderStatus.OK) {
|
||||||
@ -149,9 +151,7 @@ function haritaIslem() {
|
|||||||
}
|
}
|
||||||
if ($('select[name="'+neighborhoodSelectName+'"]').val() != "" && $('select[name="'+neighborhoodSelectName+'"]').val() != 0 && secildi == 0) {
|
if ($('select[name="'+neighborhoodSelectName+'"]').val() != "" && $('select[name="'+neighborhoodSelectName+'"]').val() != 0 && secildi == 0) {
|
||||||
secildi = 1;
|
secildi = 1;
|
||||||
google.maps.event.addListener(map, 'click', function (event) {
|
|
||||||
placeMarker(event.latLng);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -249,5 +249,6 @@ return [
|
|||||||
],
|
],
|
||||||
'yes' => [
|
'yes' => [
|
||||||
'name' => 'نعم'
|
'name' => 'نعم'
|
||||||
]
|
],
|
||||||
|
"no_location" => "لا يوجد موقع محدد"
|
||||||
];
|
];
|
||||||
|
|||||||
@ -249,5 +249,6 @@ return [
|
|||||||
],
|
],
|
||||||
'yes' => [
|
'yes' => [
|
||||||
'name' => 'Yes'
|
'name' => 'Yes'
|
||||||
]
|
],
|
||||||
|
"no_location" => "No location is selected."
|
||||||
];
|
];
|
||||||
|
|||||||
@ -143,7 +143,7 @@ return [
|
|||||||
'approve' => 'Approuver',
|
'approve' => 'Approuver',
|
||||||
'passive' => "Passif",
|
'passive' => "Passif",
|
||||||
'offered_by' => 'Offert par',
|
'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',
|
'click_phone' => 'Afficher le numéro de téléphone',
|
||||||
'share' => 'Partager cette annonce',
|
'share' => 'Partager cette annonce',
|
||||||
'report' => 'Signaler cette annonce',
|
'report' => 'Signaler cette annonce',
|
||||||
@ -155,12 +155,12 @@ return [
|
|||||||
'secure_trading' => 'Trading sécurisé',
|
'secure_trading' => 'Trading sécurisé',
|
||||||
'24/7' => 'Assistance 24/7',
|
'24/7' => 'Assistance 24/7',
|
||||||
'easy_trading' => 'Trading facile',
|
'easy_trading' => 'Trading facile',
|
||||||
'need_help' => 'Besoin d\\'aide pour?',
|
'need_help' => 'Besoin daide pour?',
|
||||||
'give_a_call' => 'Donner un appel sur',
|
'give_a_call' => 'Donner un appel sur',
|
||||||
'message_sent' => 'Message envoyé!',
|
'message_sent' => 'Message envoyé!',
|
||||||
'asap' => 'Message envoyé,
|
'asap' => 'Message envoyé,
|
||||||
le vendeur vous contactera dès que possible.',
|
le vendeur vous contactera dès que possible.',
|
||||||
'ad_id' => 'ID d\\'annonce',
|
'ad_id' => 'ID dannonce',
|
||||||
'contact_with' => 'Contacter avec',
|
'contact_with' => 'Contacter avec',
|
||||||
'create_adv' => 'Créer une publicité',
|
'create_adv' => 'Créer une publicité',
|
||||||
'edit_adv' => 'Modifier une annonce',
|
'edit_adv' => 'Modifier une annonce',
|
||||||
@ -184,7 +184,7 @@ return [
|
|||||||
'is_get_adv' => [
|
'is_get_adv' => [
|
||||||
'name' => 'OBTENIR'
|
'name' => 'OBTENIR'
|
||||||
],
|
],
|
||||||
'corporate_info' => 'Informations sur l\\'entreprise',
|
'corporate_info' => 'Informations sur lentreprise',
|
||||||
'featured_ads' => "Annonces en vedette",
|
'featured_ads' => "Annonces en vedette",
|
||||||
'trending_ads' => 'Annonces Trendind',
|
'trending_ads' => 'Annonces Trendind',
|
||||||
'search_ads_result_message' => [
|
'search_ads_result_message' => [
|
||||||
@ -199,9 +199,9 @@ return [
|
|||||||
'list' => 'liste',
|
'list' => 'liste',
|
||||||
],
|
],
|
||||||
'advs_list_table_thead' => [
|
'advs_list_table_thead' => [
|
||||||
'name' => 'Nom de l\\'annonce',
|
'name' => 'Nom de lannonce',
|
||||||
'price' => 'Prix',
|
'price' => 'Prix',
|
||||||
'publish_at' => 'Date de l\\'annonce',
|
'publish_at' => 'Date de lannonce',
|
||||||
'location_city' => 'Ville',
|
'location_city' => 'Ville',
|
||||||
'location_country' => 'Pays',
|
'location_country' => 'Pays',
|
||||||
],
|
],
|
||||||
|
|||||||
@ -121,7 +121,7 @@ return [
|
|||||||
'search' => 'Ricerca',
|
'search' => 'Ricerca',
|
||||||
'recommended' => 'Annunci consigliati per te',
|
'recommended' => 'Annunci consigliati per te',
|
||||||
'sort_by' => 'Ordina per',
|
'sort_by' => 'Ordina per',
|
||||||
'pick_option' => 'Scegli un\\'opzione',
|
'pick_option' => 'Scegli unopzione',
|
||||||
'pick_ordering' => 'Ordering',
|
'pick_ordering' => 'Ordering',
|
||||||
'price_high' => 'Prezzo da alto a basso',
|
'price_high' => 'Prezzo da alto a basso',
|
||||||
'price-low' => 'Prezzo da basso ad alto',
|
'price-low' => 'Prezzo da basso ad alto',
|
||||||
@ -131,7 +131,7 @@ return [
|
|||||||
'location' => 'Posizione',
|
'location' => 'Posizione',
|
||||||
'send_message' => 'Invia messaggio',
|
'send_message' => 'Invia messaggio',
|
||||||
'phone_gsm' => 'Telefono GSM',
|
'phone_gsm' => 'Telefono GSM',
|
||||||
'phone_office' => 'Telefono dell\\'ufficio',
|
'phone_office' => 'Telefono dellufficio',
|
||||||
'add_to_favorites' => "Aggiungi ai preferiti",
|
'add_to_favorites' => "Aggiungi ai preferiti",
|
||||||
'send' => 'Inviare',
|
'send' => 'Inviare',
|
||||||
'search_name' => 'Cerca nome',
|
'search_name' => 'Cerca nome',
|
||||||
@ -199,9 +199,9 @@ return [
|
|||||||
'list' => 'Elenco',
|
'list' => 'Elenco',
|
||||||
],
|
],
|
||||||
'advs_list_table_thead' => [
|
'advs_list_table_thead' => [
|
||||||
'name' => 'Nome dell\\'annuncio',
|
'name' => 'Nome dellannuncio',
|
||||||
'price' => 'Prezzo',
|
'price' => 'Prezzo',
|
||||||
'publish_at' => 'Data dell\\'annuncio',
|
'publish_at' => 'Data dellannuncio',
|
||||||
'location_city' => 'Città',
|
'location_city' => 'Città',
|
||||||
'location_country' => 'Nazione',
|
'location_country' => 'Nazione',
|
||||||
],
|
],
|
||||||
|
|||||||
@ -107,7 +107,7 @@ return [
|
|||||||
'name' => 'Açıklama'
|
'name' => 'Açıklama'
|
||||||
],
|
],
|
||||||
'type' => [
|
'type' => [
|
||||||
'name' => 'tip'
|
'name' => 'Tip'
|
||||||
],
|
],
|
||||||
'parent_adv' => [
|
'parent_adv' => [
|
||||||
'name' => 'İlgili İlan'
|
'name' => 'İlgili İlan'
|
||||||
@ -116,7 +116,7 @@ return [
|
|||||||
'name' => 'değer'
|
'name' => 'değer'
|
||||||
],
|
],
|
||||||
'list' => 'List',
|
'list' => 'List',
|
||||||
'home' => 'Ev',
|
'home' => 'Anasayfa',
|
||||||
'list-page' => 'Liste Sayfası',
|
'list-page' => 'Liste Sayfası',
|
||||||
'search' => 'Arama',
|
'search' => 'Arama',
|
||||||
'recommended' => 'Sizin için Önerilen İlanlar',
|
'recommended' => 'Sizin için Önerilen İlanlar',
|
||||||
@ -172,7 +172,7 @@ return [
|
|||||||
'email' => 'E-Posta',
|
'email' => 'E-Posta',
|
||||||
'phone' => 'Telefon',
|
'phone' => 'Telefon',
|
||||||
'send_us_your_feedback' => 'Bize Görüşlerinizi Gönderin',
|
'send_us_your_feedback' => 'Bize Görüşlerinizi Gönderin',
|
||||||
'online_shopping' => 'ALMAK',
|
'online_shopping' => 'Mağaza',
|
||||||
'approved' => 'Başarıyla Onaylandı',
|
'approved' => 'Başarıyla Onaylandı',
|
||||||
'extended' => 'Extended Successfully',
|
'extended' => 'Extended Successfully',
|
||||||
'declined' => 'Başarıyla Reddedildi',
|
'declined' => 'Başarıyla Reddedildi',
|
||||||
@ -203,7 +203,7 @@ return [
|
|||||||
'name' => 'İlan Adı',
|
'name' => 'İlan Adı',
|
||||||
'price' => 'Fiyat',
|
'price' => 'Fiyat',
|
||||||
'publish_at' => 'İlan Tarihi',
|
'publish_at' => 'İlan Tarihi',
|
||||||
'location_city' => 'Kent',
|
'location_city' => 'Şehir',
|
||||||
'location_country' => 'ülke',
|
'location_country' => 'ülke',
|
||||||
],
|
],
|
||||||
'show_list_view' => [
|
'show_list_view' => [
|
||||||
@ -229,27 +229,28 @@ return [
|
|||||||
],
|
],
|
||||||
'edit_category' => 'Kategori Düzenle',
|
'edit_category' => 'Kategori Düzenle',
|
||||||
'max' => [
|
'max' => [
|
||||||
'name' => 'Max',
|
'name' => 'Maks',
|
||||||
],
|
],
|
||||||
'min' => [
|
'min' => [
|
||||||
'name' => 'Min',
|
'name' => 'Min',
|
||||||
],
|
],
|
||||||
'in_the_last_24_hours' => [
|
'in_the_last_24_hours' => [
|
||||||
'name' => 'In The Last 24 Hours'
|
'name' => 'Son 24 saat'
|
||||||
],
|
],
|
||||||
'in_the_last_week' => [
|
'in_the_last_week' => [
|
||||||
'name' => 'In The Last Week'
|
'name' => 'Son 1 hafta'
|
||||||
],
|
],
|
||||||
'in_the_last_month' => [
|
'in_the_last_month' => [
|
||||||
'name' => 'In The Last Month'
|
'name' => 'Son 1 Ay'
|
||||||
],
|
],
|
||||||
'ads_with_photo' => [
|
'ads_with_photo' => [
|
||||||
'name' => 'Ads With Photo'
|
'name' => 'Fotoğraflı İlanlar'
|
||||||
],
|
],
|
||||||
'ads_with_video' => [
|
'ads_with_video' => [
|
||||||
'name' => 'Ads With Video'
|
'name' => 'Videolu İlanlar'
|
||||||
],
|
],
|
||||||
'yes' => [
|
'yes' => [
|
||||||
'name' => 'Yes'
|
'name' => 'Evet'
|
||||||
]
|
],
|
||||||
|
"no_location" => "Lokasyon eklenmemiş."
|
||||||
];
|
];
|
||||||
|
|||||||
@ -0,0 +1,29 @@
|
|||||||
|
<p>
|
||||||
|
{% if(adv.map_Val == "") %}
|
||||||
|
{{ trans('visiosoft.module.advs::field.no_location') }}
|
||||||
|
{% else %}
|
||||||
|
{% set map_arr = adv.map_Val|split(',') %}
|
||||||
|
<div id="mapDiv" style="height: 500px; width: 100%; "></div>
|
||||||
|
<script>
|
||||||
|
var lat = parseFloat({{ map_arr[0] }});
|
||||||
|
var lng = parseFloat({{ map_arr[1] }});
|
||||||
|
var google_map_key = "{{ setting_value('visiosoft.module.advs::google_map_key') }}";
|
||||||
|
|
||||||
|
function initMap() {
|
||||||
|
var myLatLng = {lat: lat, lng: lng};
|
||||||
|
|
||||||
|
var map = new google.maps.Map(document.getElementById('mapDiv'), {
|
||||||
|
zoom: 16,
|
||||||
|
center: myLatLng
|
||||||
|
});
|
||||||
|
new google.maps.Marker({
|
||||||
|
position: myLatLng,
|
||||||
|
map: map
|
||||||
|
});
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script src="https://maps.googleapis.com/maps/api/js?key={{ setting_value('visiosoft.module.advs::google_map_key') }}&callback=initMap"
|
||||||
|
type="text/javascript"></script>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
@ -9,7 +9,7 @@ return [
|
|||||||
"login_error" => "تسجيل الدخول أو كلمة سر خاطئة.",
|
"login_error" => "تسجيل الدخول أو كلمة سر خاطئة.",
|
||||||
"login_noMail_old_user" => "لا يمكن العثور على عنوان البريد الإلكتروني الذي أدخلته.",
|
"login_noMail_old_user" => "لا يمكن العثور على عنوان البريد الإلكتروني الذي أدخلته.",
|
||||||
"login_noMail_old_user2" => "يرجى التحقق من عنوان البريد الإلكتروني والمحاولة مرة أخرى.",
|
"login_noMail_old_user2" => "يرجى التحقق من عنوان البريد الإلكتروني والمحاولة مرة أخرى.",
|
||||||
"login_noMail_old_user3" => "إذا استمرت المشكلة ، يرجى الاتصال على \\'info@openclassify.com\\'.",
|
"login_noMail_old_user3" => "إذا استمرت المشكلة ، يرجى الاتصال على info@openclassify.co.",
|
||||||
"login_info_old_user" => "تم إرسال كلمة مرور جديدة إلى عنوان البريد الإلكتروني الخاص بك.",
|
"login_info_old_user" => "تم إرسال كلمة مرور جديدة إلى عنوان البريد الإلكتروني الخاص بك.",
|
||||||
"success" => "نجاح",
|
"success" => "نجاح",
|
||||||
"notified_new_updates" => "أريد أن يتم إخباري بالتحديثات الجديدة",
|
"notified_new_updates" => "أريد أن يتم إخباري بالتحديثات الجديدة",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user