Hi,
I am new to MVC, right now I am trying some modification to NopCommerce V2.4
While customer add some product in their cart by pressing "Add To Cart" button we will display a dialog having some message and two buttons
1-Go To Cart
2-Continue Shopping
These buttons are from some .js file, I want apply locatization to these button text.
Any Help in this regard will be highly appreciated.
Here is .js code snippet
if(response.success)
{
if(this.cartType == 'addtocart')
{
jQuery( "#addtocart-confirm" ).html(response.message);
jQuery( "#addtocart-confirm" ).dialog({
resizable: false,
height:140,
modal: true,
title:response.title,
buttons: {
"Go to cart": function() {
jQuery( this ).dialog( "close" );
if(response.returnUrl)
{
location.href = response.returnUrl;
}
else
{
location.reload(true);
}
},
"Continue shopping": function() {
jQuery( this ).dialog( "close" );
location.reload(true);
}
}
});
}