VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: jenkinhill on October 14, 2007, 21:36:28 pm

Title: Extra back slashes \ in product not found message.
Post by: jenkinhill on October 14, 2007, 21:36:28 pm
In some places there are stray backslashes appearing before ' - such as Customer\'s note in Customer's order information.

The problem is in english.php where the variable is shown as Cusomer\\\'s note. Is this just in my install or do the extra slashes appear in others?

Database Version: 4.1.20
PHP Version: 4.4.2
Web Server: Apache
VirtueMart 1.1: Ver. 998 13 October
Joomla! Version: Joomla! 1.0.13 Stable [ Sunglow ]
Title: Extra back slashes \ in product not found message.
Post by: aravot on October 29, 2007, 00:13:49 am
Joomla 1.0.13
VirtueMart 1.1 r1018

There are extra back slashes in product not found message.

Quote
Error: Sorry, but the Product you\'ve requested wasn\'t found!

English is not my first, second or even third language but I think the correct grammar should be

Quote
Sorry, the product you've requested was not found!

However I could be wrong.
Title: Re: Extra back slashes \ in product not found message.
Post by: jenkinhill on October 29, 2007, 10:26:42 am
Yes, there are extra backslashes for all variables where an apostrophe needs to be escaped in english.php

Quote
   var $_PHPSHOP_DOWNLOADS_INFO = 'Please enter the Download-ID you\\\'ve got in the e-mail and click \\\'Start Download\\\'.';