Ignore:
Timestamp:
12 Sep 2025, 09:53:58 (15 months ago)
Author:
Henrik Bettermann
Message:

Fix tests.

Make html text for testing captcha localizable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/captcha.py

    r15012 r18173  
    3535from waeup.kofa.interfaces import IUniversity
    3636
     37from waeup.kofa.interfaces import MessageFactory as _
    3738#
    3839# Global captcha manager
    … …  
    152153        """Display challenge and input field for solution as HTML.
    153154        """
    154         html = (
     155        html = _(
    155156            u'<input type="hidden" name="challenge"'
    156             u'       value="the-solution" /><br />'
     157            u' value="the-solution" /><br />'
    157158            u'Type: %s<br />'
    158159            u'<input type="text" name="solution" value="the-solution"'
Note: See TracChangeset for help on using the changeset viewer.