Opened 12 years ago

Last modified 12 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.

See
`http://mediagoblin.com/u/elrond/m/screenshot-GMG-1/ <http://mediagoblin.com/u/elrond/m/screenshot-GMG-1/>`_



Change History (4)

comment:1 by Aleksej, 12 years ago

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 <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 <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



comment:2 by Elrond, 12 years ago

Component: Programming
Owner: set to Elvenlord Elrond
Status: NewIn 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 Elrond, 12 years ago

Status: In ProgressClosed
Okay, the forms macros now do not emit a thing at all, if the label
text is empty.
Hope this makes the most sense.



comment:4 by Will Kahn-Greene, 12 years ago

The original url for this bug was http://bugs.foocorp.net/issues/652 .

Note: See TracTickets for help on using tickets.