Ignore:
Timestamp:
03/17/10 12:20:17 (3 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
2347fd
Parents:
159c54
git-author:
Leszek Syroka <leszek.marek.syroka@…> (03/05/10 10:35:34)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (03/17/10 12:20:17)
Message:

[FIX] Removing participants in French version

  • problem with removing conference participants in French version of Indico was removed
  • problem with other buttons in French version of Indico in participants modification website found and removed
  • fixed #210
File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/rh/conferenceModif.py

    r9a7862 r586084c  
    21982198        selectedList = self._normaliseListParam(self._getRequestParams().get("participants",[])) 
    21992199 
    2200         if action == "Remove participant" : 
     2200        if action == _("Remove participant") : 
    22012201            for id in selectedList : 
    22022202                self._conf.getParticipation().removeParticipant(id, self._getUser()) 
    2203         elif action == "Mark absence" : 
     2203        elif action == _("Mark absence") : 
    22042204            for id in selectedList : 
    22052205                participant = self._conf.getParticipation().getParticipantById(id) 
    22062206                participant.setAbsent() 
    2207         elif action == "Mark present": 
     2207        elif action == _("Mark present"): 
    22082208            for id in selectedList : 
    22092209                participant = self._conf.getParticipation().getParticipantById(id) 
    22102210                participant.setPresent() 
    2211         elif action == "Ask for excuse" : 
     2211        elif action == _("Ask for excuse") : 
    22122212            data = self._conf.getParticipation().prepareAskForExcuse(self._getUser(), selectedList) 
    22132213            if data is not None : 
     
    22342234                    errorList.append( _(""" - None of the selected participants was absent in the event""")) 
    22352235                    errorList.append( _(""" - None of the selected participants has an email address specified""")) 
    2236         elif action == "Excuse absence" : 
     2236        elif action == _("Excuse absence") : 
    22372237            for id in selectedList : 
    22382238                participant = self._conf.getParticipation().getParticipantById(id) 
     
    22402240                    errorList.append( _("""You cannot excuse absence of %s %s %s - this participant was present 
    22412241                    in the event""")%(participant.getTitle(), participant.getFirstName(), participant.getFamilyName())) 
    2242         elif action == "Send email to" : 
     2242        elif action == _("Send email to") : 
    22432243            toList = [] 
    22442244            for id in selectedList : 
     
    22672267            self._req.headers_out["Content-Disposition"] = """inline; filename="%s\""""%filename 
    22682268            return data 
    2269         elif action == "Inform about adding" : 
     2269        elif action == _("Inform about adding") : 
    22702270            selected = [] 
    22712271            for id in selectedList : 
Note: See TracChangeset for help on using the changeset viewer.