Changeset 7674
- Timestamp:
- 22 Feb 2012, 08:27:56 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/viewlets.py
r7438 r7674 17 17 ## 18 18 import grok 19 import zope.i18nmessageid 19 20 from hurry.workflow.interfaces import IWorkflowState 20 21 from waeup.sirp.interfaces import ISIRPObject … … 30 31 ) 31 32 33 _ = zope.i18nmessageid.MessageFactory('waeup.sirp') 34 32 35 grok.context(ISIRPObject) # Make ISIRPObject the default context 33 36 grok.templatedir('browser_templates') … … 40 43 grok.require('waeup.viewApplicantsTab') 41 44 pnav = 3 42 tab_title = u'Applicants'45 tab_title = _(u'Applicants') 43 46 44 47 @property … … 53 56 """ 54 57 grok.require('waeup.Anonymous') 55 tab_title = u'Application'58 tab_title = _(u'Application') 56 59 57 60 # Also zope.manager has role Anonymous. -
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r7665 r7674 36 36 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 37 37 ...Welcome to the... 38 ... 39 40 We can change to German:: 41 >>> browser.getLink('de').click() 42 >>> print browser.contents 43 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 44 ...Anfragen... 45 ... 46 47 And then change back to English by clicking on the third link containing 'en' 48 behind 'Anfragen' and 'Einloggen':: 49 >>> browser.getLink('en', index=2).click() 50 >>> print browser.contents 51 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 52 ...Enquiries... 38 53 ... 39 54 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r7659 r7674 26 26 import time 27 27 import re 28 import zope.i18nmessageid 28 29 from zope import schema 29 30 from zope.authentication.interfaces import ( … … 137 138 138 139 # 139 # Login/logout pages...140 # Login/logout and language switch pages... 140 141 # 141 142 … … 187 188 self.flash("You have been logged out. Thanks for using WAeUP SIRP!") 188 189 self.redirect(self.application_url()) 190 191 192 class LanguageChangePage(SIRPPage): 193 """ Language switch 194 """ 195 grok.context(ISIRPObject) 196 grok.name('change_language') 197 grok.require('waeup.Public') 198 199 def update(self, lang='en', view_name='@@index'): 200 self.response.setCookie('waeup.sirp.language', lang, path='/') 201 self.redirect(self.url(self.context, view_name)) 202 return 203 204 def render(self): 205 return 189 206 190 207 # -
main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeup-base.css
r7635 r7674 193 193 line-height: 18px; 194 194 } 195 196 .language { 197 color: #BFBFBF; 198 position:relative; 199 top:10px; 200 right:-160px; 201 } 202 203 .language a { 204 color: #BFBFBF; 205 } 206 207 .language a:hover { 208 color: #ffffff; 209 } -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultypage.pt
r7464 r7674 1 <div tal:condition="python: not len(context.keys())">1 <div i18n:domain="waeup.sirp" i18n:translate="" tal:condition="python: not len(context.keys())"> 2 2 There no subobjects registered yet. 3 3 </div> 4 4 5 <table >5 <table i18n:domain="waeup.sirp"> 6 6 <thead> 7 7 <tr> 8 <th >Code</th>9 <th >Title</th>8 <th i18n:translate="code">Code</th> 9 <th i18n:translate="title">Title</th> 10 10 </tr> 11 11 </thead> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/staffsitelayout.pt
r7669 r7674 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" 3 xmlns:i18n="http://xml.zope.org/namespaces/i18n" 4 i18n:domain="waeup.sirp" 5 xml:lang="en"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" i18n:domain="waeup.sirp"> 6 3 <head> 7 4 <title>WAeUP - your way up … … 29 26 <ul class="nav secondary-nav"> 30 27 <li tal:condition="not: layout/isAuthenticated"> 31 <a href="#" i18n:translate=" login"28 <a href="#" i18n:translate="" 32 29 tal:attributes="href python: view.url(layout.site, 'login')"> 33 30 Login … … 35 32 </li> 36 33 <li tal:condition="layout/isAuthenticated"> 37 <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 34 <a href="#" i18n:translate="" 35 tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 38 36 Contact 39 37 </a> 40 38 </li> 41 39 <li tal:condition="layout/isAuthenticated"> 42 <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 40 <a href="#" i18n:translate="" 41 tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 43 42 </li> 44 43 </ul> 44 <span class="language"> 45 <tal:languages 46 tal:content="structure provider:languages" /> | 47 </span> 45 48 </div> 46 49 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt
r7669 r7674 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" 3 xmlns:i18n="http://xml.zope.org/namespaces/i18n" 4 i18n:domain="waeup.sirp" 5 xml:lang="en"> 2 <html xmlns="http://www.w3.org/1999/xhtml" i18n:domain="waeup.sirp"> 6 3 <head> 7 4 <title>WAeUP - your way up … … 34 31 <ul class="nav secondary-nav"> 35 32 <li tal:condition="not: layout/isAuthenticated"> 36 <a href="#" tal:attributes="href python: view.url(layout.site, 'login')"> 33 <a href="#" i18n:translate="" 34 tal:attributes="href python: view.url(layout.site, 'login')"> 37 35 Login 38 36 </a> 39 37 </li> 40 38 <li tal:condition="layout/isAuthenticated"> 41 <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 39 <a href="#" i18n:translate="" 40 tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 42 41 Contact 43 42 </a> 44 43 </li> 45 44 <li tal:condition="layout/isAuthenticated"> 46 <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 45 <a href="#" i18n:translate="" 46 tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 47 47 </li> 48 48 </ul> 49 <span class="language"> 50 <tal:languages 51 tal:content="structure provider:languages" /> | 52 </span> 49 53 </div> 50 54 </div> 51 55 </div> 56 52 57 <div class="container"> 53 58 <ul class="student-info-bar" tal:condition="layout/isAuthenticated"> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py
r7461 r7674 17 17 ## 18 18 import grok 19 import zope.i18nmessageid 20 from urllib import urlencode 19 21 from zope.component import getMultiAdapter, queryAdapter 20 22 from zope.interface import Interface … … 33 35 from waeup.sirp.utils.helpers import get_user_account 34 36 37 _ = zope.i18nmessageid.MessageFactory('waeup.sirp') 38 35 39 grok.templatedir('templates') 36 40 grok.context(ISIRPObject) # Make ISIRPObject the default context … … 41 45 class BreadCrumbManager(grok.ViewletManager): 42 46 grok.name('breadcrumbs') 47 48 class LanguageManager(grok.ViewletManager): 49 grok.name('languages') 43 50 44 51 class ActionBar(grok.ViewletManager): … … 200 207 url = self.view.url(breadcrumb.context, breadcrumb.target) 201 208 ) 209 210 class LanguageLink(grok.Viewlet): 211 """ An entry in the language selector. 212 213 This is only a baseclass that won't be rendered actually. Deriving 214 viewlets can override certain values and will be rendered with the 215 values set here as default. 216 """ 217 grok.baseclass() 218 grok.viewletmanager(LanguageManager) 219 grok.context(ISIRPObject) 220 grok.require('waeup.Public') 221 lang = 'de' 222 title = u'Deutsch' 223 224 def render(self): 225 args = {'lang':self.lang, 'view_name':self.view.__name__} 226 url = self.view.url( 227 self.context) + '/@@change_language?%s' % urlencode(args) 228 return u'| <a href="%s" title="%s">%s</a> ' % (url,self.title,self.lang) 229 230 class English(LanguageLink): 231 """A link to switch to English. 232 """ 233 lang = 'en' 234 title = u'English' 235 236 class French(LanguageLink): 237 """A link to switch to French. 238 """ 239 lang = 'fr' 240 title = u'Français' 241 242 class German(LanguageLink): 243 """A link to switch to German. 244 """ 245 lang = 'de' 246 title = u'Deutsch' 247 248 class Hausa(LanguageLink): 249 """A link to switch to Hausa. 250 """ 251 lang = 'ha' 252 title = u'Hausa' 253 254 class Yoruba(LanguageLink): 255 """A link to switch to Yoruba. 256 """ 257 lang = 'yo' 258 title = u'Yoruba' 202 259 203 260 … … 623 680 624 681 pnav = 1 625 tab_title = u'Academics'682 tab_title = _(u'Academics') 626 683 627 684 @property … … 638 695 grok.order(6) 639 696 grok.require('waeup.Anonymous') 640 tab_title = u'Enquiries'697 tab_title = _(u'Enquiries') 641 698 pnav = 2 642 699 -
main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser.py
r7484 r7674 20 20 import grok 21 21 import sys 22 import zope.i18nmessageid 22 23 from waeup.sirp.browser import ( 23 24 SIRPEditFormPage, SIRPAddFormPage, SIRPDisplayFormPage, … … 36 37 IHostelsContainer, IHostel, IBed, IBedAllocateStudent) 37 38 39 _ = zope.i18nmessageid.MessageFactory('waeup.sirp') 40 38 41 def write_log_message(view, message): 39 42 ob_class = view.__implemented__.__name__.replace('waeup.sirp.','') … … 63 66 template = default_primary_nav_template 64 67 pnav = 5 65 tab_title = u'Hostels'68 tab_title = _(u'Hostels') 66 69 67 70 @property -
main/waeup.sirp/trunk/src/waeup/sirp/locales/de/LC_MESSAGES/waeup.sirp.po
r7670 r7674 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.SIRP\n" 17 "POT-Creation-Date: Sun Feb 19 19:32:132012\n"18 "PO-Revision-Date: 2012-02- 19 19:33+0100\n"17 "POT-Creation-Date: Wed Feb 22 08:30:39 2012\n" 18 "PO-Revision-Date: 2012-02-22 08:38+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" 20 20 "Language-Team: WAeUP Germany <henrik@waeup.org>\n" … … 31 31 #: waeup/sirp/applicants/browser_templates/applicantdisplaypage.pt:41 32 32 msgid "acceptance_fee_tickets" 33 msgstr "" 33 msgstr "Zullassungsgebühr-Ticket" 34 35 #: waeup/sirp/applicants/viewlets.py:42 36 msgid "Applicants" 37 msgstr "Antragsteller" 38 39 #: waeup/sirp/applicants/viewlets.py:55 40 msgid "Application" 41 msgstr "Beantragung" 34 42 35 43 #. Default: "Local Roles" 36 44 #: waeup/sirp/browser/templates/facultymanagepage.pt:15 37 45 msgid "local_roles" 38 msgstr "" 46 msgstr "Lokale Rollen" 47 48 #: waeup/sirp/browser/templates/facultypage.pt:1 49 msgid "There no subobjects registered yet." 50 msgstr "Es existieren bisher keine Unterobjekte." 51 52 #. Default: "Code" 53 #: waeup/sirp/browser/templates/facultypage.pt:8 54 msgid "code" 55 msgstr "Kürzel" 56 57 #. Default: "Title" 58 #: waeup/sirp/browser/templates/facultypage.pt:9 59 msgid "title" 60 msgstr "Titel" 39 61 40 62 #. Default: "My Portal Roles:" 41 63 #: waeup/sirp/browser/templates/myrolespage.pt:1 42 64 msgid "my_portal_roles" 43 msgstr " "65 msgstr "Meine portalweiten Rollen:" 44 66 45 67 #. Default: "My Local Roles:" 46 68 #: waeup/sirp/browser/templates/myrolespage.pt:10 47 69 msgid "my_local_roles" 48 msgstr " "70 msgstr "Meine lokalen Rollen:" 49 71 50 # . Default: "Login"51 #: waeup/sirp/browser/templates/st affsitelayout.pt:3152 msgid " login"53 msgstr " "72 #: waeup/sirp/browser/templates/staffsitelayout.pt:28 73 #: waeup/sirp/browser/templates/studentsitelayout.pt:33 74 msgid "Login" 75 msgstr "Einloggen" 54 76 55 #: waeup/sirp/interfaces.py:36 56 msgid "created" 57 msgstr "neu" 77 #: waeup/sirp/browser/templates/staffsitelayout.pt:34 78 #: waeup/sirp/browser/templates/studentsitelayout.pt:39 79 msgid "Contact" 80 msgstr "Kontakt" 58 81 59 #: waeup/sirp/interfaces.py:37 60 msgid "admitted" 61 msgstr "" 82 #: waeup/sirp/browser/templates/staffsitelayout.pt:40 83 #: waeup/sirp/browser/templates/studentsitelayout.pt:45 84 msgid "Logout" 85 msgstr "Ausloggen" 62 86 63 #: waeup/sirp/ interfaces.py:3864 msgid " clearance started"65 msgstr " "87 #: waeup/sirp/browser/viewlets.py:679 88 msgid "Academics" 89 msgstr "Akademie" 66 90 67 #: waeup/sirp/ interfaces.py:3968 msgid " clearance requested"69 msgstr " "91 #: waeup/sirp/browser/viewlets.py:694 92 msgid "Enquiries" 93 msgstr "Anfragen" 70 94 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 "" 95 #: waeup/sirp/hostels/browser.py:65 96 msgid "Hostels" 97 msgstr "Wohnheime" 90 98 91 99 #. Default: "Please solve the captcha<br />to prevent misuse of this service:" … … 93 101 #: waeup/sirp/applicants/browser_templates/applicantregister.pt:26 94 102 msgid "solve_captcha" 95 msgstr " "103 msgstr "Löse Captcha, um Misbrauch des Dienstes zu vermeiden:" 96 104 97 105 #. Default: "Max. file size:" … … 100 108 #: waeup/sirp/applicants/browser_templates/applicanteditpage.pt:41 101 109 msgid "max_file_size" 102 msgstr "" 110 msgstr "Max. Dateigröße:" 111 112 #: waeup/sirp/students/viewlets.py:464 113 msgid "Students" 114 msgstr "Studenten" 103 115 104 116 #: waeup/sirp/students/workflow.py:30 … … 111 123 msgstr "Name der Fakultät" 112 124 113 #~ msgid "Invalid datetime data"114 #~ msgstr "Ungültiges Datum " -
main/waeup.sirp/trunk/src/waeup/sirp/locales/fr/LC_MESSAGES/waeup.sirp.po
r7670 r7674 14 14 msgid "" 15 15 msgstr "" 16 "Project-Id-Version: WAeUP.SIRP\n"17 "POT-Creation-Date: Sun Feb 19 19:32:132012\n"18 "PO-Revision-Date: 2012-02-19 10:32+0100\n"19 "Last-Translator: Issoufou Abba Moussa <isouaba@waeup.org>\n"20 "Language-Team: WAeUP Niger <isouaba@waeup.org>\n"21 "Language: fr-FR\n"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" 22 22 "MIME-Version: 1.0\n" 23 23 "Content-Type: text/plain; charset=UTF-8\n" 24 24 "Content-Transfer-Encoding: 8bit\n" 25 25 "Generated-By: zope/app/locales/extract.py\n" 26 "X-Poedit-Language: French\n"27 "X-Poedit-Country: NIGER\n"28 26 29 27 #. Default: "Acceptance Fee Payment Tickets" … … 33 31 msgstr "" 34 32 33 #: waeup/sirp/applicants/viewlets.py:42 34 msgid "Applicants" 35 msgstr "" 36 37 #: waeup/sirp/applicants/viewlets.py:55 38 msgid "Application" 39 msgstr "" 40 35 41 #. Default: "Local Roles" 36 42 #: waeup/sirp/browser/templates/facultymanagepage.pt:15 37 43 msgid "local_roles" 44 msgstr "" 45 46 #: waeup/sirp/browser/templates/facultypage.pt:1 47 msgid "There no subobjects registered yet." 48 msgstr "" 49 50 #. Default: "Code" 51 #: waeup/sirp/browser/templates/facultypage.pt:8 52 msgid "code" 53 msgstr "" 54 55 #. Default: "Title" 56 #: waeup/sirp/browser/templates/facultypage.pt:9 57 msgid "title" 38 58 msgstr "" 39 59 … … 48 68 msgstr "" 49 69 50 # . Default: "Login"51 #: waeup/sirp/browser/templates/st affsitelayout.pt:3152 msgid " login"70 #: waeup/sirp/browser/templates/staffsitelayout.pt:28 71 #: waeup/sirp/browser/templates/studentsitelayout.pt:33 72 msgid "Login" 53 73 msgstr "" 54 74 55 #: waeup/sirp/interfaces.py:36 56 msgid "created" 75 #: waeup/sirp/browser/templates/staffsitelayout.pt:34 76 #: waeup/sirp/browser/templates/studentsitelayout.pt:39 77 msgid "Contact" 57 78 msgstr "" 58 79 59 #: waeup/sirp/interfaces.py:37 60 msgid "admitted" 80 #: waeup/sirp/browser/templates/staffsitelayout.pt:40 81 #: waeup/sirp/browser/templates/studentsitelayout.pt:45 82 msgid "Logout" 61 83 msgstr "" 62 84 63 #: waeup/sirp/ interfaces.py:3864 msgid " clearance started"85 #: waeup/sirp/browser/viewlets.py:679 86 msgid "Academics" 65 87 msgstr "" 66 88 67 #: waeup/sirp/ interfaces.py:3968 msgid " clearance requested"89 #: waeup/sirp/browser/viewlets.py:694 90 msgid "Enquiries" 69 91 msgstr "" 70 92 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" 93 #: waeup/sirp/hostels/browser.py:65 94 msgid "Hostels" 89 95 msgstr "" 90 96 … … 102 108 msgstr "" 103 109 110 #: waeup/sirp/students/viewlets.py:464 111 msgid "Students" 112 msgstr "" 113 104 114 #: waeup/sirp/students/workflow.py:30 105 115 msgid "Admit student" -
main/waeup.sirp/trunk/src/waeup/sirp/locales/ha/LC_MESSAGES/waeup.sirp.po
r7670 r7674 14 14 msgid "" 15 15 msgstr "" 16 "Project-Id-Version: WAeUP.SIRP\n"17 "POT-Creation-Date: Sun Feb 19 19:32:132012\n"18 "PO-Revision-Date: 2012-02-19 10:49+0100\n"19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"20 "Language-Team: WAeUP Nigeria<isouaba@waeup.org>\n"21 "Language: ha-NG-Latn\n"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" 22 22 "MIME-Version: 1.0\n" 23 23 "Content-Type: text/plain; charset=UTF-8\n" 24 24 "Content-Transfer-Encoding: 8bit\n" 25 25 "Generated-By: zope/app/locales/extract.py\n" 26 "X-Poedit-Language: Hausa\n"27 "X-Poedit-Country: NIGERIA\n"28 26 29 27 #. Default: "Acceptance Fee Payment Tickets" … … 33 31 msgstr "" 34 32 33 #: waeup/sirp/applicants/viewlets.py:42 34 msgid "Applicants" 35 msgstr "" 36 37 #: waeup/sirp/applicants/viewlets.py:55 38 msgid "Application" 39 msgstr "" 40 35 41 #. Default: "Local Roles" 36 42 #: waeup/sirp/browser/templates/facultymanagepage.pt:15 37 43 msgid "local_roles" 44 msgstr "" 45 46 #: waeup/sirp/browser/templates/facultypage.pt:1 47 msgid "There no subobjects registered yet." 48 msgstr "" 49 50 #. Default: "Code" 51 #: waeup/sirp/browser/templates/facultypage.pt:8 52 msgid "code" 53 msgstr "" 54 55 #. Default: "Title" 56 #: waeup/sirp/browser/templates/facultypage.pt:9 57 msgid "title" 38 58 msgstr "" 39 59 … … 48 68 msgstr "" 49 69 50 # . Default: "Login"51 #: waeup/sirp/browser/templates/st affsitelayout.pt:3152 msgid " login"70 #: waeup/sirp/browser/templates/staffsitelayout.pt:28 71 #: waeup/sirp/browser/templates/studentsitelayout.pt:33 72 msgid "Login" 53 73 msgstr "" 54 74 55 #: waeup/sirp/interfaces.py:36 56 msgid "created" 75 #: waeup/sirp/browser/templates/staffsitelayout.pt:34 76 #: waeup/sirp/browser/templates/studentsitelayout.pt:39 77 msgid "Contact" 57 78 msgstr "" 58 79 59 #: waeup/sirp/interfaces.py:37 60 msgid "admitted" 80 #: waeup/sirp/browser/templates/staffsitelayout.pt:40 81 #: waeup/sirp/browser/templates/studentsitelayout.pt:45 82 msgid "Logout" 61 83 msgstr "" 62 84 63 #: waeup/sirp/ interfaces.py:3864 msgid " clearance started"85 #: waeup/sirp/browser/viewlets.py:679 86 msgid "Academics" 65 87 msgstr "" 66 88 67 #: waeup/sirp/ interfaces.py:3968 msgid " clearance requested"89 #: waeup/sirp/browser/viewlets.py:694 90 msgid "Enquiries" 69 91 msgstr "" 70 92 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" 93 #: waeup/sirp/hostels/browser.py:65 94 msgid "Hostels" 89 95 msgstr "" 90 96 … … 102 108 msgstr "" 103 109 110 #: waeup/sirp/students/viewlets.py:464 111 msgid "Students" 112 msgstr "" 113 104 114 #: waeup/sirp/students/workflow.py:30 105 115 msgid "Admit student" … … 109 119 #: waeup/sirp/university/interfaces.py:47 110 120 msgid "name_of_faculty" 111 msgstr " Hausa Test"121 msgstr "" -
main/waeup.sirp/trunk/src/waeup/sirp/locales/waeup.sirp.pot
r7670 r7674 15 15 msgstr "" 16 16 "Project-Id-Version: Development/Unknown\n" 17 "POT-Creation-Date: Sun Feb 19 19:32:132012\n"17 "POT-Creation-Date: Wed Feb 22 08:30:39 2012\n" 18 18 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 19 19 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 30 30 msgstr "" 31 31 32 #: waeup/sirp/applicants/viewlets.py:42 33 msgid "Applicants" 34 msgstr "" 35 36 #: waeup/sirp/applicants/viewlets.py:55 37 msgid "Application" 38 msgstr "" 39 32 40 #: waeup/sirp/browser/templates/facultymanagepage.pt:15 33 41 #. Default: "Local Roles" 34 42 msgid "local_roles" 43 msgstr "" 44 45 #: waeup/sirp/browser/templates/facultypage.pt:1 46 msgid "There no subobjects registered yet." 47 msgstr "" 48 49 #: waeup/sirp/browser/templates/facultypage.pt:8 50 #. Default: "Code" 51 msgid "code" 52 msgstr "" 53 54 #: waeup/sirp/browser/templates/facultypage.pt:9 55 #. Default: "Title" 56 msgid "title" 35 57 msgstr "" 36 58 … … 45 67 msgstr "" 46 68 47 #: waeup/sirp/browser/templates/staffsitelayout.pt: 3148 # . Default: "Login"49 msgid " login"69 #: waeup/sirp/browser/templates/staffsitelayout.pt:28 70 #: waeup/sirp/browser/templates/studentsitelayout.pt:33 71 msgid "Login" 50 72 msgstr "" 51 73 52 #: waeup/sirp/interfaces.py:36 53 msgid "created" 74 #: waeup/sirp/browser/templates/staffsitelayout.pt:34 75 #: waeup/sirp/browser/templates/studentsitelayout.pt:39 76 msgid "Contact" 54 77 msgstr "" 55 78 56 #: waeup/sirp/interfaces.py:37 57 msgid "admitted" 79 #: waeup/sirp/browser/templates/staffsitelayout.pt:40 80 #: waeup/sirp/browser/templates/studentsitelayout.pt:45 81 msgid "Logout" 58 82 msgstr "" 59 83 60 #: waeup/sirp/ interfaces.py:3861 msgid " clearance started"84 #: waeup/sirp/browser/viewlets.py:679 85 msgid "Academics" 62 86 msgstr "" 63 87 64 #: waeup/sirp/ interfaces.py:3965 msgid " clearance requested"88 #: waeup/sirp/browser/viewlets.py:694 89 msgid "Enquiries" 66 90 msgstr "" 67 91 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" 92 #: waeup/sirp/hostels/browser.py:65 93 msgid "Hostels" 86 94 msgstr "" 87 95 … … 99 107 msgstr "" 100 108 109 #: waeup/sirp/students/viewlets.py:464 110 msgid "Students" 111 msgstr "" 112 101 113 #: waeup/sirp/students/workflow.py:30 102 114 msgid "Admit student" -
main/waeup.sirp/trunk/src/waeup/sirp/locales/yo/LC_MESSAGES/waeup.sirp.po
r7670 r7674 14 14 msgid "" 15 15 msgstr "" 16 "Project-Id-Version: WAeUP.SIRP\n"17 "POT-Creation-Date: Sun Feb 19 19:32:132012\n"18 "PO-Revision-Date: 2012-02-19 10:57+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"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" 22 22 "MIME-Version: 1.0\n" 23 23 "Content-Type: text/plain; charset=UTF-8\n" 24 24 "Content-Transfer-Encoding: 8bit\n" 25 25 "Generated-By: zope/app/locales/extract.py\n" 26 "X-Poedit-Language: Yoruba\n"27 "X-Poedit-Country: NIGERIA\n"28 26 29 27 #. Default: "Acceptance Fee Payment Tickets" … … 33 31 msgstr "" 34 32 33 #: waeup/sirp/applicants/viewlets.py:42 34 msgid "Applicants" 35 msgstr "" 36 37 #: waeup/sirp/applicants/viewlets.py:55 38 msgid "Application" 39 msgstr "" 40 35 41 #. Default: "Local Roles" 36 42 #: waeup/sirp/browser/templates/facultymanagepage.pt:15 37 43 msgid "local_roles" 44 msgstr "" 45 46 #: waeup/sirp/browser/templates/facultypage.pt:1 47 msgid "There no subobjects registered yet." 48 msgstr "" 49 50 #. Default: "Code" 51 #: waeup/sirp/browser/templates/facultypage.pt:8 52 msgid "code" 53 msgstr "" 54 55 #. Default: "Title" 56 #: waeup/sirp/browser/templates/facultypage.pt:9 57 msgid "title" 38 58 msgstr "" 39 59 … … 48 68 msgstr "" 49 69 50 # . Default: "Login"51 #: waeup/sirp/browser/templates/st affsitelayout.pt:3152 msgid " login"70 #: waeup/sirp/browser/templates/staffsitelayout.pt:28 71 #: waeup/sirp/browser/templates/studentsitelayout.pt:33 72 msgid "Login" 53 73 msgstr "" 54 74 55 #: waeup/sirp/interfaces.py:36 56 msgid "created" 75 #: waeup/sirp/browser/templates/staffsitelayout.pt:34 76 #: waeup/sirp/browser/templates/studentsitelayout.pt:39 77 msgid "Contact" 57 78 msgstr "" 58 79 59 #: waeup/sirp/interfaces.py:37 60 msgid "admitted" 80 #: waeup/sirp/browser/templates/staffsitelayout.pt:40 81 #: waeup/sirp/browser/templates/studentsitelayout.pt:45 82 msgid "Logout" 61 83 msgstr "" 62 84 63 #: waeup/sirp/ interfaces.py:3864 msgid " clearance started"85 #: waeup/sirp/browser/viewlets.py:679 86 msgid "Academics" 65 87 msgstr "" 66 88 67 #: waeup/sirp/ interfaces.py:3968 msgid " clearance requested"89 #: waeup/sirp/browser/viewlets.py:694 90 msgid "Enquiries" 69 91 msgstr "" 70 92 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" 93 #: waeup/sirp/hostels/browser.py:65 94 msgid "Hostels" 89 95 msgstr "" 90 96 … … 102 108 msgstr "" 103 109 110 #: waeup/sirp/students/viewlets.py:464 111 msgid "Students" 112 msgstr "" 113 104 114 #: waeup/sirp/students/workflow.py:30 105 115 msgid "Admit student" … … 109 119 #: waeup/sirp/university/interfaces.py:47 110 120 msgid "name_of_faculty" 111 msgstr " Yoruba Test"121 msgstr "" -
main/waeup.sirp/trunk/src/waeup/sirp/students/viewlets.py
r7671 r7674 18 18 import os 19 19 import grok 20 import zope.i18nmessageid 20 21 from zope.component import getUtility 21 22 from zope.interface import Interface … … 44 45 ) 45 46 47 _ = zope.i18nmessageid.MessageFactory('waeup.sirp') 48 46 49 grok.context(ISIRPObject) # Make ISIRPObject the default context 47 50 grok.templatedir('browser_templates') … … 462 465 463 466 pnav = 4 464 tab_title = u'Students'467 tab_title = _(u'Students') 465 468 466 469 @property
Note: See TracChangeset for help on using the changeset viewer.