Changeset bce3a4 in indico for indico/MaKaC/conference.py


Ignore:
Timestamp:
04/13/12 10:13:38 (13 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
7c200d
Parents:
2ea62cb
git-author:
Pedro Ferreira <jose.pedro.ferreira@…> (03/29/12 16:59:41)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (04/13/12 10:13:38)
Message:

[IMP] Fixed functional tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/conference.py

    ref29b3 rbce3a4  
    309309        if not root.has_key("rootCategory"): 
    310310            r = Category() 
    311             r.setName( _("Home")) 
     311            r.setName("Home") 
    312312            self.add( r ) 
    313313            root["rootCategory"] = r 
     
    49654965    def __init__(self): 
    49664966        self._sections = { 
    4967             "cfa": _("Call for abstracts"), 
    4968             #comment the following line to make the Paper Reviewing module not appear 
    4969             "paperReviewing" : _("Paper Reviewing"), 
    4970             "evaluation": _("Evaluation Form"), 
    4971             "videoconference": _("Videoconference"), # only for meetings 
    4972             "collaboration": _("Collaboration"), # only for meetings 
    4973             "regForm": _("Registration Form") 
     4967            "cfa": "Call for abstracts", 
     4968            "paperReviewing" : "Paper Reviewing", 
     4969            "evaluation": "Evaluation Form", 
     4970            "videoconference": "Videoconference", # only for meetings 
     4971            "collaboration": "Collaboration", # only for meetings 
     4972            "regForm": "Registration Form" 
    49744973        } 
    49754974 
     
    52175216 
    52185217    def __init__(self): 
    5219         self._rights = {"modifContribs": _("Modify the contributions"), \ 
    5220                 "unrestrictedSessionTT": _("Unrestricted session timetable management") 
    5221                 } 
     5218        self._rights = {"modifContribs": "Modify the contributions", 
     5219                        "unrestrictedSessionTT": "Unrestricted session timetable management" 
     5220                        } 
    52225221 
    52235222    def hasRight(self, r): 
     
    57035702        """ 
    57045703 
    5705         self.setTitle( sessionData.get("title", _("NO TITLE ASSIGNED")) ) 
     5704        self.setTitle( sessionData.get("title", "NO TITLE ASSIGNED") ) 
    57065705        self.setDescription( sessionData.get("description", "") ) 
    57075706        code = sessionData.get("code", "") 
     
    67876786            i=self.getConfSchEntry().getSchedule().getEntries().index(self.getConfSchEntry())+1 
    67886787            entriesList = self.getConfSchEntry().getSchedule().getEntries()[i:] 
    6789         self.title=data.get("title", _("NO TITLE ASSIGNED")) 
     6788        self.title=data.get("title", "NO TITLE ASSIGNED") 
    67906789        # Do we move all entries in the slot 
    67916790        move = int(data.get("move",0)) 
     
    1065810657            will set to a default value. 
    1065910658        """ 
    10660         self.setTitle( params.get( "title", _("NO TITLE ASSIGNED") ) ) 
     10659        self.setTitle(params.get("title", "NO TITLE ASSIGNED")) 
    1066110660        self.setDescription( params.get( "description", "" ) ) 
    1066210661        self.notifyModification() 
Note: See TracChangeset for help on using the changeset viewer.