[openstreetmap/openstreetmap-website] Bug while log in (Issue #3405)

Andy Allan notifications at github.com
Thu Dec 23 14:37:42 UTC 2021


The french translation contains the html `<code>` tags, which are not present in the original:

```
en.passwords.lost_password.notice email on way: "Sorry you lost it :-( but an email is on its way so you can reset it soon."
fr.passwords.lost_password.notice email on way: "Désolé que vous ayez perdu votre mot de passe <code>:-(</code>
        Un courriel vous a été envoyé pour que vous puissiez vite le réinitialiser."
```

I think we need to mark the french translation as needing retranslated on translatewiki. And perhaps change the original, since I'm not sure that the ascii smiley is good text anyway.

And perhaps we need to figure out some kind of validation to prevent translators from changing the html in the first place, e.g. detecting when html is introduced into non-html translations. 

I'll also continue to work on removing more html tags from the translations - we have around 260 html tags in there, including multiple times where the html class is defined in the translation, and I don't see any great reason to let translators change the html elements used on the site.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3405#issuecomment-1000346516
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3405/1000346516 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20211223/e8c2790c/attachment.htm>


More information about the rails-dev mailing list