Jump to content

Bug in french language


Guest

Recommended Posts

CubeCart 3.04

Be carreful, i've detected with the function "delete" article, there is an error. Because in the french language folder the file "lang.inc.php" had no \ before ' for example:

"Etes vous sur d'effacer cette article?" replace for example by "Effacer cet article ?" without the '

Look for other of this sort of bugs in this file.

Cordialement (best regards) :)

Link to comment
Share on other sites

Guest estelle

Thanks for the info :D

I see what the problem is. Normally when a single is specified by double quotes ("), any single quotes (') within the string are treated as an ordinary character rather than a start/end string specifier. E.g. "this single quote ' will not terminate this string"

But in this case the string is being put into a javascript call with single quotes like so:

javascript:decision('Etes-vous sur d'effacer cette article ?','?delete=2.....');

When i set my language to french and try to delete a product, the delete button doesn't even work :). Ohoh.

I'll submit a quick bug report for Brooky.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...