﻿// File JScript

var TemplateStrings = function(){

    this.GetNullFieldMessage = function(fieldName){
        return "Campo " + fieldName + " inesistente!";
    }
    this.GetEmptyFieldMessage = function(fieldName){
        return "Campo " + fieldName + " vuoto!";
    }
    this.GetWrongValueFieldMessage = function(fieldName){
        return "Valore non corretto per " + fieldName + "!";
    }
    this.GetWrongPasswordFieldMessage = function(){
        return "Le due password non coincidono!";
    }
    
    
    
    this.GetUnknownPanelId = function(panelId){
        return (divId == null) ? "Impossibile trovare l'id pannello nella pagina!" : "Impossibile trovare l'id pannelo per " + panelId + " nella pagina!";
    }
    this.GetUnableUpdatePage = function(){
        return "Impossibile aggiornare la pagina!";
    }
    this.GetUnableFindDivElement = function(divId){
        return "Impossibile trovare l'elemento con id " + divId + ": è inesistente!";
    }
    this.GetUnableSubmitForm = function(){
        return "Impossibile eseguire il submit del form!";
    }
    
    
    
    this.GetUnableAddEvent = function(){
        return "Impossibile aggiundere un evento ad un oggetto vuoto!";
    }
    this.GetSpecifyEvent = function(){
        return "Specificare l'evento e/o il codice da associare!";
    }
    this.GetSpecifySearchKey = function(){
        return "Occorre specificare una chiave di ricerca!";
    }
    
    
    this.GetUnableExeLogin = function(){
        return "Impossibile eseguire il login senza specificare username e password!";
    }
    
    
    this.GetUnableFindEmailControl = function(){
        return "Impossibile individuare l'indirizzo email!";
    }
    this.GetUnableChangeOrderType = function(){
        return "Impossibile impostare il tipo di ordinamento";
    }
    
    
    this.GetCloseLabel = function(){
        return "Close";
    }
    this.GetErrorLabel = function(){
        return "Error!";
    }    
    this.GetUnknownErrorLabel = function(){
        return "Unknown Error";
    }        
    this.GetInfoLabel = function(){
        return "Info";
    }
    
    
    this.GetAddNewsLetterOk = function(){
        return "La tua email è stata aggiunta al nostro elenco NewsLetter";
    }
    this.GetRemoveNewsLetterOk = function(){
        return "La tua email è stata rimossa dal nostro elenco NewsLetter";
    }
    this.GetRecoveryPasswordOk = function(){
        return "La tua nuova password è stata inviata all'indirizzo email specificato!";
    }
    this.GetAddNewsLetterKo = function(){
        return "Impossibile aggiungere l'email all' elenco NewsLetter";
    }
    this.GetRemoveNewsLetterKo = function(){
        return "Impossibile rimuovere l'email dall'elenco NewsLetter";
    }
    this.GetRecoveryPasswordKo = function(){
        return "L'email specificata non corrisponde a nessun account";
    }
    this.GetAddToCartKo = function(){
        return "Impossibile aggiungere il prodotto nel carrello";
    }
    
    
    this.GetTitleAddToCart = function(){
        return "Cart";
    }
    this.GetDescrAddToCart = function(){
        return "This product is added to cart!";
    }    
    this.GetLinkAddToCart = function(){
        return "Cart Page";
    }
    
    this.GetTitleRecoveryPassword = function(){
        return "Lost Password";
    }
    this.GetAbstractRecoveryPassword = function(){
        return "Type your email, if corresponding an account, the relative password will be resetted and sended to the email address specified.";
    }
    this.GetBodyRecoveryPassword = function(){
        return "Email:";
    }
    
        
    this.GetRequestUnsubscribe = function(){
        return "Sei sicuro di voler cancellare la tua registrazione?";
    }
    
}    
   
templateStrings = new TemplateStrings();   
