Opened 15 years ago
Last modified 15 years ago
#304 closed defect (FIXED)
forgot password seems to translate ""
| Reported by: | Elrond | Owned by: | Elrond |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.2.0 |
| Component: | programming | Keywords: | |
| Cc: | Parent Tickets: |
Description
The /auth/forgot_password/verify/ URL seems to translate the empty string somewhere, somehow.
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
| Component: | → Programming |
|---|---|
| Owner: | set to |
| Status: | New → In Progress |
Looks like a combination of the form ChangePassForm having '' as label and the wtforms util macro handing that over to the translation layer.
My current fix is to let the form macros check for emptiness.
Will post a branch soon, hopefully.
comment:3 by , 15 years ago
| Status: | In Progress → Closed |
|---|
Okay, the forms macros now do not emit a thing at all, if the label text is empty. Hope this makes the most sense.

Same issue with Russian, the text under the input fields (except for e-mail addresses redacted here) is:
Project-Id-Version: GNU MediaGoblin Report-Msgid-Bugs-To: http://bugs.foocorp.net/projects/mediagoblin/issues POT-Creation-Date: 2011-11-01 23:14-0500 PO-Revision-Date: 2011-11-04 11:13+0000 Last-Translator: aleksejrs Language-Team: ru LL@li.org Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10Project-Id-Version: GNU MediaGoblin Report-Msgid-Bugs-To: http://bugs.foocorp.net/projects/mediagoblin/issues POT-Creation-Date: 2011-11-01 23:14-0500 PO-Revision-Date: 2011-11-04 11:13+0000 Last-Translator: aleksejrs Language-Team: ru LL@li.org Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10