Be careful with translated javascript alert messages
-
Be careful with the strings you pass to javascript alert messages. You are not escaping single quotes in them and that produces an error.
I had a translated string with a single quote in it and I had to escape with \ in the translations file because if not it produced an error that caused the plugin to stop working.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Be careful with translated javascript alert messages’ is closed to new replies.