Ignore:
Timestamp:
23 Nov 2018, 13:35:46 (6 years ago)
Author:
Henrik Bettermann
Message:

Use MessageFactory? for all messages.

File:
1 edited

Legend:

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

    r15250 r15254  
    141141    @property
    142142    def onclick(self):
    143         msg = "'All expired bed space allocations will be annulled. " + \
     143        msg = _("'All expired bed space allocations will be annulled. " + \
    144144              "Are you sure? \\n\\n" + \
    145145              "Bed space allocation expires ${a} days after accommodation " + \
    146146              "booking if maintenance fee is not " + \
    147               "paid.'"
     147              "paid.'")
    148148        msg = _(msg, mapping={'a': self.context.allocation_expiration,})
    149149        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
Note: See TracChangeset for help on using the changeset viewer.