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

Use MessageFactory? for all messages.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
3 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
  • main/waeup.kofa/trunk/src/waeup/kofa/locales/waeup.kofa.pot

    r15253 r15254  
    1515msgstr ""
    1616"Project-Id-Version: Meaningless\n"
    17 "POT-Creation-Date: Fri Nov 23 14:26:33 2018\n"
     17"POT-Creation-Date: Fri Nov 23 14:34:18 2018\n"
    1818"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1919"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    32623262msgstr ""
    32633263
     3264#: waeup/kofa/hostels/browser.py:143
     3265msgid "'All expired bed space allocations will be annulled. Are you sure? \\n\\nBed space allocation expires ${a} days after accommodation booking if maintenance fee is not paid.'"
     3266msgstr ""
     3267
    32643268#: waeup/kofa/hostels/browser.py:164
    32653269#: waeup/kofa/hostels/browser.py:186
     
    46484652#: waeup/kofa/students/browser.py:2400
    46494653msgid "Bed Allocation Slip"
     4654msgstr ""
     4655
     4656#: waeup/kofa/students/browser.py:2411
     4657msgid ""
     4658"\n"
     4659"<br /><br /><br /><br /><br /><font size=\"12\">\n"
     4660"Please endeavour to pay your hostel maintenance charge within ${a} days\n"
     4661" of being allocated a space or else you are deemed to have\n"
     4662" voluntarily forfeited it and it goes back into circulation to be\n"
     4663" available for booking afresh!</font>)\n"
    46504664msgstr ""
    46514665
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r15250 r15254  
    24092409        n = grok.getSite()['hostels'].allocation_expiration
    24102410        if n:
    2411             note = """
     2411            note = _("""
    24122412<br /><br /><br /><br /><br /><font size="12">
    24132413Please endeavour to pay your hostel maintenance charge within ${a} days
    24142414 of being allocated a space or else you are deemed to have
    24152415 voluntarily forfeited it and it goes back into circulation to be
    2416  available for booking afresh!</font>
    2417 """
     2416 available for booking afresh!</font>)
     2417""")
    24182418            note = _(note, mapping={'a': n})
    24192419            portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
Note: See TracChangeset for help on using the changeset viewer.