Changeset 7677


Ignore:
Timestamp:
22 Feb 2012, 10:35:47 (13 years ago)
Author:
Henrik Bettermann
Message:

Translate student registration worklow titles, messages and destination states.

Show translated states on pages.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/staffsitelayout.pt

    r7674 r7677  
    5959          </span>&nbsp;&nbsp;
    6060          State:
    61           <span tal:replace="python:context.getStudent().state">State
     61          <span tal:replace="python:context.getStudent().translated_state">State
    6262          </span>
    6363      </span>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt

    r7674 r7677  
    6464            </span>
    6565            |
    66             <span tal:replace="python:context.getStudent().state">State
     66            <span tal:replace="python:context.getStudent().translated_state">State
    6767            </span>
    6868        </span>
  • main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py

    r7673 r7677  
    6666
    6767registration_states_vocab = SimpleSIRPVocabulary(
    68     ('created', CREATED),
    69     ('admitted', ADMITTED),
    70     ('clearance started', CLEARANCE),
    71     ('clearance requested', REQUESTED),
    72     ('cleared', CLEARED),
    73     ('school fee paid', PAID),
    74     ('returning', RETURNING),
    75     ('courses registered', REGISTERED),
    76     ('courses validated', VALIDATED),
     68    (_('created'), CREATED),
     69    (_('admitted'), ADMITTED),
     70    (_('clearance started'), CLEARANCE),
     71    (_('clearance requested'), REQUESTED),
     72    (_('cleared'), CLEARED),
     73    (_('school fee paid'), PAID),
     74    (_('returning'), RETURNING),
     75    (_('courses registered'), REGISTERED),
     76    (_('courses validated'), VALIDATED),
    7777    )
    7878
  • main/waeup.sirp/trunk/src/waeup/sirp/locales/de/LC_MESSAGES/waeup.sirp.po

    r7674 r7677  
    1515msgstr ""
    1616"Project-Id-Version: WAeUP.SIRP\n"
    17 "POT-Creation-Date: Wed Feb 22 08:30:39 2012\n"
    18 "PO-Revision-Date: 2012-02-22 08:38+0100\n"
     17"POT-Creation-Date: Wed Feb 22 10:24:25 2012\n"
     18"PO-Revision-Date: 2012-02-22 10:28+0100\n"
    1919"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
    2020"Language-Team: WAeUP Germany <henrik@waeup.org>\n"
     
    2626"X-Poedit-Language: German\n"
    2727"X-Poedit-Country: GERMANY\n"
     28"X-Poedit-SourceCharset: utf-8\n"
    2829
    2930#. Default: "Acceptance Fee Payment Tickets"
     
    3334msgstr "Zullassungsgebühr-Ticket"
    3435
    35 #: waeup/sirp/applicants/viewlets.py:42
     36#: waeup/sirp/applicants/viewlets.py:45
    3637msgid "Applicants"
    3738msgstr "Antragsteller"
    3839
    39 #: waeup/sirp/applicants/viewlets.py:55
     40#: waeup/sirp/applicants/viewlets.py:58
    4041msgid "Application"
    4142msgstr "Beantragung"
     
    8586msgstr "Ausloggen"
    8687
    87 #: waeup/sirp/browser/viewlets.py:679
     88#: waeup/sirp/browser/viewlets.py:682
    8889msgid "Academics"
    8990msgstr "Akademie"
    9091
    91 #: waeup/sirp/browser/viewlets.py:694
     92#: waeup/sirp/browser/viewlets.py:697
    9293msgid "Enquiries"
    9394msgstr "Anfragen"
    9495
    95 #: waeup/sirp/hostels/browser.py:65
     96#: waeup/sirp/hostels/browser.py:68
    9697msgid "Hostels"
    9798msgstr "Wohnheime"
     99
     100#: waeup/sirp/interfaces.py:68
     101msgid "created"
     102msgstr "neu"
     103
     104#: waeup/sirp/interfaces.py:69
     105msgid "admitted"
     106msgstr "zugelassen"
     107
     108#: waeup/sirp/interfaces.py:70
     109msgid "clearance started"
     110msgstr "Einschreibung begonnen"
     111
     112#: waeup/sirp/interfaces.py:71
     113msgid "clearance requested"
     114msgstr "Einschreibung beantragt"
     115
     116#: waeup/sirp/interfaces.py:72
     117msgid "cleared"
     118msgstr "eingeschrieben"
     119
     120#: waeup/sirp/interfaces.py:73
     121msgid "school fee paid"
     122msgstr "Gebühren bezahlt"
     123
     124#: waeup/sirp/interfaces.py:74
     125msgid "returning"
     126msgstr "rückgemeldet"
     127
     128#: waeup/sirp/interfaces.py:75
     129msgid "courses registered"
     130msgstr "Kurse registriert"
     131
     132#: waeup/sirp/interfaces.py:76
     133msgid "courses validated"
     134msgstr "Kurse validiert"
    98135
    99136#. Default: "Please solve the captcha<br />to prevent misuse of this service:"
     
    110147msgstr "Max. Dateigröße:"
    111148
    112 #: waeup/sirp/students/viewlets.py:464
     149#: waeup/sirp/students/viewlets.py:467
    113150msgid "Students"
    114151msgstr "Studenten"
     
    118155msgstr "Student zulassen"
    119156
     157#: waeup/sirp/students/workflow.py:31
     158msgid "Student admitted"
     159msgstr "Student zugelassen"
     160
    120161#. Default: "Name of faculty"
    121162#: waeup/sirp/university/interfaces.py:47
  • main/waeup.sirp/trunk/src/waeup/sirp/locales/fr/LC_MESSAGES/waeup.sirp.po

    r7674 r7677  
    1414msgid ""
    1515msgstr ""
    16 "Project-Id-Version: Development/Unknown\n"
    17 "POT-Creation-Date: Wed Feb 22 08:30:39 2012\n"
    18 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    19 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    20 "Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
    21 "Language: \n"
     16"Project-Id-Version: WAeUP.SIRP\n"
     17"POT-Creation-Date: Wed Feb 22 10:24:25 2012\n"
     18"PO-Revision-Date: 2012-02-22 11:28+0100\n"
     19"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
     20"Language-Team: WAeUP Niger <isouaba@waeup.org>\n"
     21"Language: fr-FR\n"
    2222"MIME-Version: 1.0\n"
    2323"Content-Type: text/plain; charset=UTF-8\n"
    2424"Content-Transfer-Encoding: 8bit\n"
    2525"Generated-By: zope/app/locales/extract.py\n"
     26"X-Poedit-Language: French\n"
     27"X-Poedit-Country: NIGER\n"
     28"X-Poedit-SourceCharset: utf-8\n"
    2629
    2730#. Default: "Acceptance Fee Payment Tickets"
     
    3134msgstr ""
    3235
    33 #: waeup/sirp/applicants/viewlets.py:42
     36#: waeup/sirp/applicants/viewlets.py:45
    3437msgid "Applicants"
    3538msgstr ""
    3639
    37 #: waeup/sirp/applicants/viewlets.py:55
     40#: waeup/sirp/applicants/viewlets.py:58
    3841msgid "Application"
    3942msgstr ""
     
    8386msgstr ""
    8487
    85 #: waeup/sirp/browser/viewlets.py:679
     88#: waeup/sirp/browser/viewlets.py:682
    8689msgid "Academics"
    8790msgstr ""
    8891
    89 #: waeup/sirp/browser/viewlets.py:694
     92#: waeup/sirp/browser/viewlets.py:697
    9093msgid "Enquiries"
    9194msgstr ""
    9295
    93 #: waeup/sirp/hostels/browser.py:65
     96#: waeup/sirp/hostels/browser.py:68
    9497msgid "Hostels"
     98msgstr ""
     99
     100#: waeup/sirp/interfaces.py:68
     101msgid "created"
     102msgstr ""
     103
     104#: waeup/sirp/interfaces.py:69
     105msgid "admitted"
     106msgstr ""
     107
     108#: waeup/sirp/interfaces.py:70
     109msgid "clearance started"
     110msgstr ""
     111
     112#: waeup/sirp/interfaces.py:71
     113msgid "clearance requested"
     114msgstr ""
     115
     116#: waeup/sirp/interfaces.py:72
     117msgid "cleared"
     118msgstr ""
     119
     120#: waeup/sirp/interfaces.py:73
     121msgid "school fee paid"
     122msgstr ""
     123
     124#: waeup/sirp/interfaces.py:74
     125msgid "returning"
     126msgstr ""
     127
     128#: waeup/sirp/interfaces.py:75
     129msgid "courses registered"
     130msgstr ""
     131
     132#: waeup/sirp/interfaces.py:76
     133msgid "courses validated"
    95134msgstr ""
    96135
     
    108147msgstr ""
    109148
    110 #: waeup/sirp/students/viewlets.py:464
     149#: waeup/sirp/students/viewlets.py:467
    111150msgid "Students"
    112151msgstr ""
     
    116155msgstr ""
    117156
     157#: waeup/sirp/students/workflow.py:31
     158msgid "Student admitted"
     159msgstr ""
     160
    118161#. Default: "Name of faculty"
    119162#: waeup/sirp/university/interfaces.py:47
    120163msgid "name_of_faculty"
    121164msgstr ""
     165
  • main/waeup.sirp/trunk/src/waeup/sirp/locales/ha/LC_MESSAGES/waeup.sirp.po

    r7674 r7677  
    1414msgid ""
    1515msgstr ""
    16 "Project-Id-Version: Development/Unknown\n"
    17 "POT-Creation-Date: Wed Feb 22 08:30:39 2012\n"
    18 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    19 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    20 "Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
    21 "Language: \n"
     16"Project-Id-Version: WAeUP.SIRP\n"
     17"POT-Creation-Date: Wed Feb 22 10:24:25 2012\n"
     18"PO-Revision-Date: 2012-02-22 11:28+0100\n"
     19"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
     20"Language-Team: WAeUP Niger <isouaba@waeup.org>\n"
     21"Language: ha-NG-Latn\n"
    2222"MIME-Version: 1.0\n"
    2323"Content-Type: text/plain; charset=UTF-8\n"
    2424"Content-Transfer-Encoding: 8bit\n"
    2525"Generated-By: zope/app/locales/extract.py\n"
     26"X-Poedit-Language: Hausa\n"
     27"X-Poedit-Country: NIGER\n"
     28"X-Poedit-SourceCharset: utf-8\n"
    2629
    2730#. Default: "Acceptance Fee Payment Tickets"
     
    3134msgstr ""
    3235
    33 #: waeup/sirp/applicants/viewlets.py:42
     36#: waeup/sirp/applicants/viewlets.py:45
    3437msgid "Applicants"
    3538msgstr ""
    3639
    37 #: waeup/sirp/applicants/viewlets.py:55
     40#: waeup/sirp/applicants/viewlets.py:58
    3841msgid "Application"
    3942msgstr ""
     
    8386msgstr ""
    8487
    85 #: waeup/sirp/browser/viewlets.py:679
     88#: waeup/sirp/browser/viewlets.py:682
    8689msgid "Academics"
    8790msgstr ""
    8891
    89 #: waeup/sirp/browser/viewlets.py:694
     92#: waeup/sirp/browser/viewlets.py:697
    9093msgid "Enquiries"
    9194msgstr ""
    9295
    93 #: waeup/sirp/hostels/browser.py:65
     96#: waeup/sirp/hostels/browser.py:68
    9497msgid "Hostels"
     98msgstr ""
     99
     100#: waeup/sirp/interfaces.py:68
     101msgid "created"
     102msgstr ""
     103
     104#: waeup/sirp/interfaces.py:69
     105msgid "admitted"
     106msgstr ""
     107
     108#: waeup/sirp/interfaces.py:70
     109msgid "clearance started"
     110msgstr ""
     111
     112#: waeup/sirp/interfaces.py:71
     113msgid "clearance requested"
     114msgstr ""
     115
     116#: waeup/sirp/interfaces.py:72
     117msgid "cleared"
     118msgstr ""
     119
     120#: waeup/sirp/interfaces.py:73
     121msgid "school fee paid"
     122msgstr ""
     123
     124#: waeup/sirp/interfaces.py:74
     125msgid "returning"
     126msgstr ""
     127
     128#: waeup/sirp/interfaces.py:75
     129msgid "courses registered"
     130msgstr ""
     131
     132#: waeup/sirp/interfaces.py:76
     133msgid "courses validated"
    95134msgstr ""
    96135
     
    108147msgstr ""
    109148
    110 #: waeup/sirp/students/viewlets.py:464
     149#: waeup/sirp/students/viewlets.py:467
    111150msgid "Students"
    112151msgstr ""
     
    116155msgstr ""
    117156
     157#: waeup/sirp/students/workflow.py:31
     158msgid "Student admitted"
     159msgstr ""
     160
    118161#. Default: "Name of faculty"
    119162#: waeup/sirp/university/interfaces.py:47
  • main/waeup.sirp/trunk/src/waeup/sirp/locales/waeup.sirp.pot

    r7674 r7677  
    1515msgstr ""
    1616"Project-Id-Version: Development/Unknown\n"
    17 "POT-Creation-Date: Wed Feb 22 08:30:39 2012\n"
     17"POT-Creation-Date: Wed Feb 22 10:24:25 2012\n"
    1818"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1919"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    3030msgstr ""
    3131
    32 #: waeup/sirp/applicants/viewlets.py:42
     32#: waeup/sirp/applicants/viewlets.py:45
    3333msgid "Applicants"
    3434msgstr ""
    3535
    36 #: waeup/sirp/applicants/viewlets.py:55
     36#: waeup/sirp/applicants/viewlets.py:58
    3737msgid "Application"
    3838msgstr ""
     
    8282msgstr ""
    8383
    84 #: waeup/sirp/browser/viewlets.py:679
     84#: waeup/sirp/browser/viewlets.py:682
    8585msgid "Academics"
    8686msgstr ""
    8787
    88 #: waeup/sirp/browser/viewlets.py:694
     88#: waeup/sirp/browser/viewlets.py:697
    8989msgid "Enquiries"
    9090msgstr ""
    9191
    92 #: waeup/sirp/hostels/browser.py:65
     92#: waeup/sirp/hostels/browser.py:68
    9393msgid "Hostels"
     94msgstr ""
     95
     96#: waeup/sirp/interfaces.py:68
     97msgid "created"
     98msgstr ""
     99
     100#: waeup/sirp/interfaces.py:69
     101msgid "admitted"
     102msgstr ""
     103
     104#: waeup/sirp/interfaces.py:70
     105msgid "clearance started"
     106msgstr ""
     107
     108#: waeup/sirp/interfaces.py:71
     109msgid "clearance requested"
     110msgstr ""
     111
     112#: waeup/sirp/interfaces.py:72
     113msgid "cleared"
     114msgstr ""
     115
     116#: waeup/sirp/interfaces.py:73
     117msgid "school fee paid"
     118msgstr ""
     119
     120#: waeup/sirp/interfaces.py:74
     121msgid "returning"
     122msgstr ""
     123
     124#: waeup/sirp/interfaces.py:75
     125msgid "courses registered"
     126msgstr ""
     127
     128#: waeup/sirp/interfaces.py:76
     129msgid "courses validated"
    94130msgstr ""
    95131
     
    107143msgstr ""
    108144
    109 #: waeup/sirp/students/viewlets.py:464
     145#: waeup/sirp/students/viewlets.py:467
    110146msgid "Students"
    111147msgstr ""
     
    115151msgstr ""
    116152
     153#: waeup/sirp/students/workflow.py:31
     154msgid "Student admitted"
     155msgstr ""
     156
    117157#: waeup/sirp/university/interfaces.py:47
    118158#. Default: "Name of faculty"
  • main/waeup.sirp/trunk/src/waeup/sirp/locales/yo/LC_MESSAGES/waeup.sirp.po

    r7674 r7677  
    1414msgid ""
    1515msgstr ""
    16 "Project-Id-Version: Development/Unknown\n"
    17 "POT-Creation-Date: Wed Feb 22 08:30:39 2012\n"
    18 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    19 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    20 "Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
    21 "Language: \n"
     16"Project-Id-Version: WAeUP.SIRP\n"
     17"POT-Creation-Date: Wed Feb 22 10:24:25 2012\n"
     18"PO-Revision-Date: 2012-02-22 11:28+0100\n"
     19"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
     20"Language-Team: WAeUP Nigeria <isouaba@waeup.org>\n"
     21"Language: yo-NG\n"
    2222"MIME-Version: 1.0\n"
    2323"Content-Type: text/plain; charset=UTF-8\n"
    2424"Content-Transfer-Encoding: 8bit\n"
    2525"Generated-By: zope/app/locales/extract.py\n"
     26"X-Poedit-Language: Yoruba\n"
     27"X-Poedit-Country: NIGERIA\n"
     28"X-Poedit-SourceCharset: utf-8\n"
    2629
    2730#. Default: "Acceptance Fee Payment Tickets"
     
    3134msgstr ""
    3235
    33 #: waeup/sirp/applicants/viewlets.py:42
     36#: waeup/sirp/applicants/viewlets.py:45
    3437msgid "Applicants"
    3538msgstr ""
    3639
    37 #: waeup/sirp/applicants/viewlets.py:55
     40#: waeup/sirp/applicants/viewlets.py:58
    3841msgid "Application"
    3942msgstr ""
     
    8386msgstr ""
    8487
    85 #: waeup/sirp/browser/viewlets.py:679
     88#: waeup/sirp/browser/viewlets.py:682
    8689msgid "Academics"
    8790msgstr ""
    8891
    89 #: waeup/sirp/browser/viewlets.py:694
     92#: waeup/sirp/browser/viewlets.py:697
    9093msgid "Enquiries"
    9194msgstr ""
    9295
    93 #: waeup/sirp/hostels/browser.py:65
     96#: waeup/sirp/hostels/browser.py:68
    9497msgid "Hostels"
     98msgstr ""
     99
     100#: waeup/sirp/interfaces.py:68
     101msgid "created"
     102msgstr ""
     103
     104#: waeup/sirp/interfaces.py:69
     105msgid "admitted"
     106msgstr ""
     107
     108#: waeup/sirp/interfaces.py:70
     109msgid "clearance started"
     110msgstr ""
     111
     112#: waeup/sirp/interfaces.py:71
     113msgid "clearance requested"
     114msgstr ""
     115
     116#: waeup/sirp/interfaces.py:72
     117msgid "cleared"
     118msgstr ""
     119
     120#: waeup/sirp/interfaces.py:73
     121msgid "school fee paid"
     122msgstr ""
     123
     124#: waeup/sirp/interfaces.py:74
     125msgid "returning"
     126msgstr ""
     127
     128#: waeup/sirp/interfaces.py:75
     129msgid "courses registered"
     130msgstr ""
     131
     132#: waeup/sirp/interfaces.py:76
     133msgid "courses validated"
    95134msgstr ""
    96135
     
    108147msgstr ""
    109148
    110 #: waeup/sirp/students/viewlets.py:464
     149#: waeup/sirp/students/viewlets.py:467
    111150msgid "Students"
    112151msgstr ""
     
    116155msgstr ""
    117156
     157#: waeup/sirp/students/workflow.py:31
     158msgid "Student admitted"
     159msgstr ""
     160
    118161#. Default: "Name of faculty"
    119162#: waeup/sirp/university/interfaces.py:47
  • main/waeup.sirp/trunk/src/waeup/sirp/students/student.py

    r7671 r7677  
    2828from waeup.sirp.interfaces import (
    2929    IObjectHistory, IUserAccount, IFileStoreNameChooser, IFileStoreHandler,
    30     ISIRPUtils, CLEARANCE)
     30    ISIRPUtils, CLEARANCE, registration_states_vocab)
    3131from waeup.sirp.image import SIRPImageFile
    3232from waeup.sirp.imagestorage import DefaultFileStoreHandler
     
    7878    def state(self):
    7979        state = IWorkflowState(self).getState()
     80        return state
     81
     82    @property
     83    def translated_state(self):
     84        state = registration_states_vocab.getTermByToken(
     85            self.state).title
    8086        return state
    8187
  • main/waeup.sirp/trunk/src/waeup/sirp/students/workflow.py

    r7670 r7677  
    2020    Transition(
    2121        transition_id = 'create',
    22         title = 'Create student',
     22        title = _('Create student'),
    2323        source = None,
    2424        condition = NullCondition,
    25         msg = 'Student record created',
     25        msg = _('Student record created'),
    2626        destination = CREATED),
    2727
     
    2929        transition_id = 'admit',
    3030        title = _('Admit student'),
    31         msg = 'Student admitted',
     31        msg = _('Student admitted'),
    3232        source = CREATED,
    3333        destination = ADMITTED),
     
    3535    Transition(
    3636        transition_id = 'reset1',
    37         title = 'Reset student',
    38         msg = 'Student record reset',
     37        title = _('Reset student'),
     38        msg = _('Student record reset'),
    3939        source = ADMITTED,
    4040        destination = CREATED),
     
    4242    Transition(
    4343        transition_id = 'start_clearance',
    44         title = 'Start clearance',
    45         msg = 'Clearance started',
     44        title = _('Start clearance'),
     45        msg = _('Clearance started'),
    4646        source = ADMITTED,
    4747        destination = CLEARANCE),
     
    4949    Transition(
    5050        transition_id = 'reset2',
    51         title = 'Reset to admitted',
    52         msg = "Student record reset to 'admitted'",
     51        title = _('Reset to admitted'),
     52        msg = _("Student record reset to 'admitted'"),
    5353        source = CLEARANCE,
    5454        destination = ADMITTED),
     
    5656    Transition(
    5757        transition_id = 'request_clearance',
    58         title = 'Request clearance',
    59         msg = 'Clearance requested',
     58        title = _('Request clearance'),
     59        msg = _('Clearance requested'),
    6060        source = CLEARANCE,
    6161        destination = REQUESTED),
     
    6363    Transition(
    6464        transition_id = 'reset3',
    65         title = 'Reset to clearance',
    66         msg = "Student record reset to 'clearance'",
     65        title = _('Reset to clearance'),
     66        msg = _("Student record reset to 'clearance'"),
    6767        source = REQUESTED,
    6868        destination = CLEARANCE),
     
    7070    Transition(
    7171        transition_id = 'clear',
    72         title = 'Clear student',
    73         msg = 'Cleared',
     72        title = _('Clear student'),
     73        msg = _('Cleared'),
    7474        source = REQUESTED,
    7575        destination = CLEARED),
     
    7777    Transition(
    7878        transition_id = 'reset4',
    79         title = 'Reset to clearance',
    80         msg = "Student record reset to 'clearance'",
     79        title = _('Reset to clearance'),
     80        msg = _("Student record reset to 'clearance'"),
    8181        source = CLEARED,
    8282        destination = CLEARANCE),
     
    8484    Transition(
    8585        transition_id = 'pay_first_school_fee',
    86         title = 'Pay school fee',
    87         msg = 'School fee paid',
     86        title = _('Pay school fee'),
     87        msg = _('School fee paid'),
    8888        source = CLEARED,
    8989        destination = PAID),
     
    9191    Transition(
    9292        transition_id = 'reset5',
    93         title = 'Reset to cleared',
    94         msg = "Student record reset to 'cleared'",
     93        title = _('Reset to cleared'),
     94        msg = _("Student record reset to 'cleared'"),
    9595        source = PAID,
    9696        destination = CLEARED),
     
    9898    Transition(
    9999        transition_id = 'pay_school_fee',
    100         title = 'Pay school fee',
    101         msg = 'School fee paid',
     100        title = _('Pay school fee'),
     101        msg = _('School fee paid'),
    102102        source = RETURNING,
    103103        destination = PAID),
     
    105105    Transition(
    106106        transition_id = 'reset6',
    107         title = 'Reset to returning',
    108         msg = "Student record reset to 'returning'",
     107        title = _('Reset to returning'),
     108        msg = _("Student record reset to 'returning'"),
    109109        source = PAID,
    110110        destination = RETURNING),
     
    112112    Transition(
    113113        transition_id = 'register_courses',
    114         title = 'Register courses',
    115         msg = 'Courses registered',
     114        title = _('Register courses'),
     115        msg = _('Courses registered'),
    116116        source = PAID,
    117117        destination = REGISTERED),
     
    119119    Transition(
    120120        transition_id = 'reset7',
    121         title = 'Reset to paid',
    122         msg = "Student record reset to 'paid'",
     121        title = _('Reset to paid'),
     122        msg = _("Student record reset to 'paid'"),
    123123        source = REGISTERED,
    124124        destination = PAID),
     
    126126    Transition(
    127127        transition_id = 'validate_courses',
    128         title = 'Validate courses',
    129         msg = 'Courses validated',
     128        title = _('Validate courses'),
     129        msg = _('Courses validated'),
    130130        source = REGISTERED,
    131131        destination = VALIDATED),
     
    133133    Transition(
    134134        transition_id = 'reset8',
    135         title = 'Reset to paid',
    136         msg = "Student record reset to 'paid'",
     135        title = _('Reset to paid'),
     136        msg = _("Student record reset to 'paid'"),
    137137        source = VALIDATED,
    138138        destination = PAID),
     
    140140    Transition(
    141141        transition_id = 'return',
    142         title = 'Return',
    143         msg = 'Returned',
     142        title = _('Return'),
     143        msg = _('Returned'),
    144144        source = VALIDATED,
    145145        destination = RETURNING),
     
    147147    Transition(
    148148        transition_id = 'reset9',
    149         title = 'Reset to validated',
    150         msg = "Student record reset to 'validated'",
     149        title = _('Reset to validated'),
     150        msg = _("Student record reset to 'validated'"),
    151151        source = RETURNING,
    152152        destination = VALIDATED),
Note: See TracChangeset for help on using the changeset viewer.