mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
A deployment to the French server failed because a translation contained an apostrophe `'` and we were rendering it without escaping in Javascript. We don't have that problem and avoid other issues by using the javascript translate function. That way the error message is translated in the browser with the user's language and we don't have to do any additional escaping.