Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
translation [i.e French] can cause javascript error and Ajax inability
Max_B
New
I just noticed that some of the messages definitions are used in javascript context and then need double escaping for quotes. Here is an example:
This message was in single quote format, the included escaped quote of the message gets unescaped to JS and cause a syntax error preventing the ajax call to fire. The "unstick" link is uneffective…
There may be other such case, I did not check. If someone has some time left to check it…
This might well happen for other translation as well
$Context->Dictionary['ConfirmUnsticky'] = "Etes-vous sûr de vouloir supprimer l\'affichage cette discussion?";
This message was in single quote format, the included escaped quote of the message gets unescaped to JS and cause a syntax error preventing the ajax call to fire. The "unstick" link is uneffective…
There may be other such case, I did not check. If someone has some time left to check it…
This might well happen for other translation as well
0
This discussion has been closed.