var emailMsg = "Adresse email incorrecte";
if(!(typeof emailErrMsg === "undefined")) {
emailMsg = emailErrMsg;
}
var requireMsg = "Merci de renseigner le champ '$1'";
if(!(typeof requireErrMsg === "undefined")) {
requireMsg = requireErrMsg;
}
var Reflow = {};
if (typeof LMT === "undefined") {
var LMT = {};
LMT.Settings = {
"googleMapUrl": "http://maps.google.com/maps/api/js?libraries=places&sensor=false&callback=dlGmapLoaded&language=en",
"selectable": 3, // Max Number of selectable vehicles
url: {
},
img: {
},
"i18n": {
//Date picker
previousMonth : 'Previous Month',
nextMonth : 'Next Month',
months : ['January','Fevrier','March','April','May','June','July','August','September','October','November','December'],
weekdays : ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],
weekdaysShort : ['Su','Mo','Tu','We','Th','Fr','Sa']
},
"loadingImg" : "/etc/designs/lmt/media/img/common/loaderLight.gif"
};
}
LMT.Settings.textTime = global_textTime;
LMT.Settings.timeSlideHint = global_timeSlideHint;
// Translation for datepicker
LMT.Settings.Pikaday = {
i18n: {
de: {
timeName : 'Ziehen Sie den weißen Balken nach
rechts, um die Uhrzeit auszuwählen : ',
previousMonth : 'Previous Month',
nextMonth : 'Next Month',
months : ['Januar','Februar','März','April','Mai','Juni', 'Juli','August','September','Oktober','November','Dezember'],
weekdays : ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
weekdaysShort : ['So','Mo','Di','Mi','Do','Fr','Sa']
},
en: {
timeName : 'Time : ',
previousMonth : 'Previous Month',
nextMonth : 'Next Month',
months : ['January','February','March','April','May','June','July','August','September','October','November','December'],
weekdays : ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],
weekdaysShort : ['Su','Mo','Tu','We','Th','Fr','Sa']
},
es: {
timeName : 'Mueve el cursor para seleccionar tu
horario preferido : ',
previousMonth : 'Previous Month',
nextMonth : 'Next Month',
months : ['Enero','Febrero','Marzo','Abril','Mayo','Junio', 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
weekdays : ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
weekdaysShort : ['Do','Lu','Ma','Mi','Ju','Vi','Sá']
},
fr: {
timeName : 'Déplacez le curseur pour sélectionner
votre heure de rendez-vous : ',
previousMonth : 'Mois précédent',
nextMonth : 'Mois suivant',
months : ['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
weekdays : ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
weekdaysShort : ['Di','Lu','Ma','Me','Je','Ve','Sa']
},
it: {
timeName : 'Da : ',
previousMonth : 'Previous Month',
nextMonth : 'Next Month',
months : ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
weekdays : ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
weekdaysShort : ['Do','Lu','Ma','Me','Gi','Ve','Sa']
},
nl: {
timeName : 'Time : ',
previousMonth : 'Previous Month',
nextMonth : 'Next Month',
months : ['Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December'],
weekdays : ['Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag'],
weekdaysShort : ['Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za']
},
ru: {
timeName : 'Time : ',
previousMonth : 'Previous Month',
nextMonth : 'Next Month',
months : ['Январь','Февраль','Март','Апрель','Май','Июнь', 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
weekdays : ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
weekdaysShort : ['Вс','Пн','Вт','Ср','Чт','Пт','Сб']
}
}
};
LMT.enums = {
events : {
DATE_SELECTED : "dateSelected",
NO_DEALER_SELECTED : "noDealerSelected",
SHOW_POPIN : "showPopin"
}
};
// Forms Loca
LMT.Settings.currentLanguage = "fr_FR";
LMT.Settings.formTranslation = {
'*' : 'Merci de vérifier les données saisies dans ce champ',
// 'generic' : 'Une erreur s\'est produite, merci de renouveler l\'opération',
// ':email' : 'Adresse email incorrecte',
// ':number' : 'Merci de saisir un nombre',
// ':url' : 'Ce champ nécessite une url valide',
// ':checkbox' : 'Merci de cocher la case',
// '[minlength]' : "Ce champ doit comprendre au moins $1 caractères",
// '[maxlength]' : "Ce champ ne peut pas comprendre plus de $1 caractères",
// '[max]' : 'Ce champ doit être inférieur à $1',
// '[min]' : 'Ce champ doit être supérieur à $1',
// '[required]' : 'Merci de renseigner le champ "$1"',
// '[data-equals]' : 'La valeur doit être égale à celle du champ "$1"',
// '[data-radio-required]' : "Vous devez cocher au moins l'une des cases",
// '[data-x-required]' : "Vous devez renseigner au moins l'une des valeurs",
// '[data-optin]' : "Vous devez accepter les mentions légales",
// '[data-atleast]' : "Vous devez remplir le champs $1"
};
/* ! Ominutre variables */
/*LMT.Settings.modelRange = document.getElementById("modelRange").value;
LMT.Settings.modelName = document.getElementById("modelName").value;
LMT.Settings.pagenameStartPage = document.getElementById("pagenameStartPage").value;*/
LMT.Settings.startPage = "tools-finddealer-map-home";
LMT.Settings.localisation = "map";
LMT.Settings.startSearch = "tools-finddealer-map-searchbar";
LMT.Settings.startMap = "tools-finddealer-map-home";
LMT.Settings.startList = "tools-finddealer-list-home";
LMT.Settings.paginationGoToPage = "gotopage";
LMT.Settings.paginationPrevious = "previous";
LMT.Settings.paginationNext = "next";
LMT.Settings.tags = {
searchbar: {
event: "click",
values: {
section: "tools",
subSection: "tools:finddealer",
subSubSection: "tools:finddealer:map",
pageName: "tools-finddealer-map-searchbar",
/*modelRange: LMT.Settings.modelRange,
modelName: LMT.Settings.modelName,*/
ContentType: "lmtool",
clickName: "tools-finddealer-map-searchbar",
buttonName: "dlsearchtriggered",
navLocation: "topnav",
startingPage: "tools-finddealer-map-home",
navType: "search"
},
componentPath: "nissaneu/components/contentpage/pagedealerlocator"
}
};
LMT.Settings.facebookAction = "facebook connect";