Changeset 7670
- Timestamp:
- 19 Feb 2012, 18:42:02 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/__init__.py
r7346 r7670 1 1 import grok 2 import zope.i18nmessageid3 2 from waeup.sirp.interfaces import ISIRPObject 4 3 from zope.annotation.attribute import AttributeAnnotations 5 4 from zope.annotation.interfaces import IAnnotations 6 7 MessageFactory = zope.i18nmessageid.MessageFactory('waeup.sirp')8 5 9 6 class SIRPAttributeAnnotations(AttributeAnnotations, grok.Adapter): -
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r7664 r7670 18 18 import os 19 19 import re 20 import zope.i18nmessageid 20 21 from datetime import datetime 21 22 from hurry.file.interfaces import IFileRetrieval … … 31 32 from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm 32 33 33 CREATED = 'created' 34 ADMITTED = 'admitted' 35 CLEARANCE = 'clearance started' 36 REQUESTED = 'clearance requested' 37 CLEARED = 'cleared' 38 PAID = 'school fee paid' 39 RETURNING = 'returning' 40 REGISTERED = 'courses registered' 41 VALIDATED = 'courses validated' 34 _ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.sirp') 35 36 CREATED = _('created') 37 ADMITTED = _('admitted') 38 CLEARANCE = _('clearance started') 39 REQUESTED = _('clearance requested') 40 CLEARED = _('cleared') 41 PAID = _('school fee paid') 42 RETURNING = _('returning') 43 REGISTERED = _('courses registered') 44 VALIDATED = _('courses validated') 42 45 43 46 default_frontpage = u'' + open(os.path.join( -
main/waeup.sirp/trunk/src/waeup/sirp/locales/de/LC_MESSAGES/waeup.sirp.po
r7669 r7670 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.SIRP\n" 17 "POT-Creation-Date: Sun Feb 19 1 7:46:582012\n"18 "PO-Revision-Date: 2012-02-19 1 0:51+0100\n"17 "POT-Creation-Date: Sun Feb 19 19:32:13 2012\n" 18 "PO-Revision-Date: 2012-02-19 19:33+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" 20 20 "Language-Team: WAeUP Germany <henrik@waeup.org>\n" … … 53 53 msgstr "" 54 54 55 #: waeup/sirp/interfaces.py:36 56 msgid "created" 57 msgstr "neu" 58 59 #: waeup/sirp/interfaces.py:37 60 msgid "admitted" 61 msgstr "" 62 63 #: waeup/sirp/interfaces.py:38 64 msgid "clearance started" 65 msgstr "" 66 67 #: waeup/sirp/interfaces.py:39 68 msgid "clearance requested" 69 msgstr "" 70 71 #: waeup/sirp/interfaces.py:40 72 msgid "cleared" 73 msgstr "" 74 75 #: waeup/sirp/interfaces.py:41 76 msgid "school fee paid" 77 msgstr "" 78 79 #: waeup/sirp/interfaces.py:42 80 msgid "returning" 81 msgstr "" 82 83 #: waeup/sirp/interfaces.py:43 84 msgid "courses registered" 85 msgstr "" 86 87 #: waeup/sirp/interfaces.py:44 88 msgid "courses validated" 89 msgstr "" 90 55 91 #. Default: "Please solve the captcha<br />to prevent misuse of this service:" 56 92 #: waeup/sirp/students/browser_templates/changepw.pt:26 … … 66 102 msgstr "" 67 103 104 #: waeup/sirp/students/workflow.py:30 105 msgid "Admit student" 106 msgstr "Student zulassen" 107 68 108 #. Default: "Name of faculty" 69 #: waeup/sirp/university/interfaces.py:4 6109 #: waeup/sirp/university/interfaces.py:47 70 110 msgid "name_of_faculty" 71 111 msgstr "Name der Fakultät" -
main/waeup.sirp/trunk/src/waeup/sirp/locales/fr/LC_MESSAGES/waeup.sirp.po
r7669 r7670 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.SIRP\n" 17 "POT-Creation-Date: Sun Feb 19 1 7:46:582012\n"17 "POT-Creation-Date: Sun Feb 19 19:32:13 2012\n" 18 18 "PO-Revision-Date: 2012-02-19 10:32+0100\n" 19 19 "Last-Translator: Issoufou Abba Moussa <isouaba@waeup.org>\n" … … 53 53 msgstr "" 54 54 55 #: waeup/sirp/interfaces.py:36 56 msgid "created" 57 msgstr "" 58 59 #: waeup/sirp/interfaces.py:37 60 msgid "admitted" 61 msgstr "" 62 63 #: waeup/sirp/interfaces.py:38 64 msgid "clearance started" 65 msgstr "" 66 67 #: waeup/sirp/interfaces.py:39 68 msgid "clearance requested" 69 msgstr "" 70 71 #: waeup/sirp/interfaces.py:40 72 msgid "cleared" 73 msgstr "" 74 75 #: waeup/sirp/interfaces.py:41 76 msgid "school fee paid" 77 msgstr "" 78 79 #: waeup/sirp/interfaces.py:42 80 msgid "returning" 81 msgstr "" 82 83 #: waeup/sirp/interfaces.py:43 84 msgid "courses registered" 85 msgstr "" 86 87 #: waeup/sirp/interfaces.py:44 88 msgid "courses validated" 89 msgstr "" 90 55 91 #. Default: "Please solve the captcha<br />to prevent misuse of this service:" 56 92 #: waeup/sirp/students/browser_templates/changepw.pt:26 … … 66 102 msgstr "" 67 103 104 #: waeup/sirp/students/workflow.py:30 105 msgid "Admit student" 106 msgstr "" 107 68 108 #. Default: "Name of faculty" 69 #: waeup/sirp/university/interfaces.py:4 6109 #: waeup/sirp/university/interfaces.py:47 70 110 msgid "name_of_faculty" 71 111 msgstr "" -
main/waeup.sirp/trunk/src/waeup/sirp/locales/ha/LC_MESSAGES/waeup.sirp.po
r7669 r7670 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.SIRP\n" 17 "POT-Creation-Date: Sun Feb 19 1 7:46:582012\n"17 "POT-Creation-Date: Sun Feb 19 19:32:13 2012\n" 18 18 "PO-Revision-Date: 2012-02-19 10:49+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" … … 53 53 msgstr "" 54 54 55 #: waeup/sirp/interfaces.py:36 56 msgid "created" 57 msgstr "" 58 59 #: waeup/sirp/interfaces.py:37 60 msgid "admitted" 61 msgstr "" 62 63 #: waeup/sirp/interfaces.py:38 64 msgid "clearance started" 65 msgstr "" 66 67 #: waeup/sirp/interfaces.py:39 68 msgid "clearance requested" 69 msgstr "" 70 71 #: waeup/sirp/interfaces.py:40 72 msgid "cleared" 73 msgstr "" 74 75 #: waeup/sirp/interfaces.py:41 76 msgid "school fee paid" 77 msgstr "" 78 79 #: waeup/sirp/interfaces.py:42 80 msgid "returning" 81 msgstr "" 82 83 #: waeup/sirp/interfaces.py:43 84 msgid "courses registered" 85 msgstr "" 86 87 #: waeup/sirp/interfaces.py:44 88 msgid "courses validated" 89 msgstr "" 90 55 91 #. Default: "Please solve the captcha<br />to prevent misuse of this service:" 56 92 #: waeup/sirp/students/browser_templates/changepw.pt:26 … … 66 102 msgstr "" 67 103 104 #: waeup/sirp/students/workflow.py:30 105 msgid "Admit student" 106 msgstr "" 107 68 108 #. Default: "Name of faculty" 69 #: waeup/sirp/university/interfaces.py:4 6109 #: waeup/sirp/university/interfaces.py:47 70 110 msgid "name_of_faculty" 71 111 msgstr "Hausa Test" -
main/waeup.sirp/trunk/src/waeup/sirp/locales/waeup.sirp.pot
r7669 r7670 15 15 msgstr "" 16 16 "Project-Id-Version: Development/Unknown\n" 17 "POT-Creation-Date: Sun Feb 19 1 7:46:582012\n"17 "POT-Creation-Date: Sun Feb 19 19:32:13 2012\n" 18 18 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 19 19 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 50 50 msgstr "" 51 51 52 #: waeup/sirp/interfaces.py:36 53 msgid "created" 54 msgstr "" 55 56 #: waeup/sirp/interfaces.py:37 57 msgid "admitted" 58 msgstr "" 59 60 #: waeup/sirp/interfaces.py:38 61 msgid "clearance started" 62 msgstr "" 63 64 #: waeup/sirp/interfaces.py:39 65 msgid "clearance requested" 66 msgstr "" 67 68 #: waeup/sirp/interfaces.py:40 69 msgid "cleared" 70 msgstr "" 71 72 #: waeup/sirp/interfaces.py:41 73 msgid "school fee paid" 74 msgstr "" 75 76 #: waeup/sirp/interfaces.py:42 77 msgid "returning" 78 msgstr "" 79 80 #: waeup/sirp/interfaces.py:43 81 msgid "courses registered" 82 msgstr "" 83 84 #: waeup/sirp/interfaces.py:44 85 msgid "courses validated" 86 msgstr "" 87 52 88 #: waeup/sirp/students/browser_templates/changepw.pt:26 53 89 #: waeup/sirp/applicants/browser_templates/applicantregister.pt:26 … … 63 99 msgstr "" 64 100 65 #: waeup/sirp/university/interfaces.py:46 101 #: waeup/sirp/students/workflow.py:30 102 msgid "Admit student" 103 msgstr "" 104 105 #: waeup/sirp/university/interfaces.py:47 66 106 #. Default: "Name of faculty" 67 107 msgid "name_of_faculty" -
main/waeup.sirp/trunk/src/waeup/sirp/locales/yo/LC_MESSAGES/waeup.sirp.po
r7669 r7670 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.SIRP\n" 17 "POT-Creation-Date: Sun Feb 19 1 7:46:582012\n"17 "POT-Creation-Date: Sun Feb 19 19:32:13 2012\n" 18 18 "PO-Revision-Date: 2012-02-19 10:57+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" … … 53 53 msgstr "" 54 54 55 #: waeup/sirp/interfaces.py:36 56 msgid "created" 57 msgstr "" 58 59 #: waeup/sirp/interfaces.py:37 60 msgid "admitted" 61 msgstr "" 62 63 #: waeup/sirp/interfaces.py:38 64 msgid "clearance started" 65 msgstr "" 66 67 #: waeup/sirp/interfaces.py:39 68 msgid "clearance requested" 69 msgstr "" 70 71 #: waeup/sirp/interfaces.py:40 72 msgid "cleared" 73 msgstr "" 74 75 #: waeup/sirp/interfaces.py:41 76 msgid "school fee paid" 77 msgstr "" 78 79 #: waeup/sirp/interfaces.py:42 80 msgid "returning" 81 msgstr "" 82 83 #: waeup/sirp/interfaces.py:43 84 msgid "courses registered" 85 msgstr "" 86 87 #: waeup/sirp/interfaces.py:44 88 msgid "courses validated" 89 msgstr "" 90 55 91 #. Default: "Please solve the captcha<br />to prevent misuse of this service:" 56 92 #: waeup/sirp/students/browser_templates/changepw.pt:26 … … 66 102 msgstr "" 67 103 104 #: waeup/sirp/students/workflow.py:30 105 msgid "Admit student" 106 msgstr "" 107 68 108 #. Default: "Name of faculty" 69 #: waeup/sirp/university/interfaces.py:4 6109 #: waeup/sirp/university/interfaces.py:47 70 110 msgid "name_of_faculty" 71 111 msgstr "Yoruba Test" -
main/waeup.sirp/trunk/src/waeup/sirp/students/workflow.py
r7652 r7670 9 9 CREATED, ADMITTED, CLEARANCE, REQUESTED, CLEARED, PAID, RETURNING, 10 10 REGISTERED, VALIDATED) 11 from waeup.sirp.interfaces import MessageFactory as _ 11 12 from waeup.sirp.workflow import SIRPWorkflow, SIRPWorkflowInfo 12 13 from waeup.sirp.students.interfaces import IStudent, IStudentsUtils … … 27 28 Transition( 28 29 transition_id = 'admit', 29 title = 'Admit student',30 title = _('Admit student'), 30 31 msg = 'Student admitted', 31 32 source = CREATED, -
main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py
r7667 r7670 18 18 """Interfaces of academics specific objects. 19 19 """ 20 20 21 from zope import schema 21 22 from zope.interface import Attribute 23 import zope.i18nmessageid 22 24 from waeup.sirp.interfaces import (ISIRPObject, ISIRPContainer) 23 from waeup.sirp import MessageFactory as _ 24 25 from waeup.sirp.interfaces import MessageFactory as _ 25 26 from waeup.sirp.university.vocabularies import ( 26 27 course_levels, -
main/waeup.sirp/trunk/src/waeup/sirp/widgets/phonewidget.py
r7668 r7670 31 31 import re 32 32 import copy 33 from waeup.sirp import MessageFactory as _33 from waeup.sirp.interfaces import MessageFactory as _ 34 34 from zope import schema 35 35 from zope.browserpage import ViewPageTemplateFile
Note: See TracChangeset for help on using the changeset viewer.