Support the VirtueMart project and become a member

Main Menu

Quote problem

Started by Pisu, October 25, 2011, 22:17:54 PM

Previous topic - Next topic


In the file it-IT.com_virtuemart.ini, we have this line:

COM_VIRTUEMART_MINICART_ERROR="c' è stato un errore nell' aggiornamento del tuo carrello."

But with this code, the "add to cart" button does not work. I see the Javascript error "missing ; before statement".

So I have fixed with this line (single backslashes are not enough):

COM_VIRTUEMART_MINICART_ERROR="c\\' è stato un errore nell\\' aggiornamento del tuo carrello."

Is it correct? I think that this should not be a translator problem, VirtueMart should escape the string when using inside Javascript.
Pisu - Team VMItalia (Supporto Italiano VirtueMart) |


This seems to be something for the "Virtuemart 2 Development and bug reports" section. (I can't move it) Using your orginal string, the minicart popup doesn't work and the cart remains empty.
Non-English Shops: Are your language files up to date?


Thanks, I've posted to "Development and bug report section".
Pisu - Team VMItalia (Supporto Italiano VirtueMart) |