Changeset 2658

Show
Ignore:
Timestamp:
02/09/06 09:45:53 (18 years ago)
Author:
jerome
Message:

Missing gettext call

Location:
pykota/trunk/bin
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/edpykota

    r2657 r2658  
    254254         
    255255        if options["delete"] :     
    256             if not names : 
    257                 raise PyKotaCommandLineError, _("You have to pass user or group names on the command line") 
    258             self.display("Processing...\n") 
     256            self.display("%s...\n" % _("Processing")) 
    259257            todelete = getattr(self.storage, "getMatching%ss" % suffix)(",".join(names)) 
    260258            nbtotal = len(todelete) 
     
    616614        elif options["comment"] and not options["balance"] :     
    617615            raise PyKotaCommandLineError, _("incompatible options, see help.") 
     616        elif options["delete"] and not args : 
     617            raise PyKotaCommandLineError, _("You have to pass user or group names on the command line") 
    618618        else : 
    619619            retcode = editor.main(args, options) 
  • pykota/trunk/bin/pkbcodes

    r2657 r2658  
    9090             
    9191        if options["delete"] :     
    92             self.display("Processing...\n") 
     92            self.display("%s...\n" % _("Processing")) 
    9393            todelete = self.storage.getMatchingBillingCodes(",".join(names)) 
    9494            nbtotal = len(todelete) 
  • pykota/trunk/bin/pkprinters

    r2657 r2658  
    130130             
    131131        if options["delete"] :     
    132             self.display("Processing...\n") 
     132            self.display("%s...\n" % _("Processing")) 
    133133            todelete = self.storage.getMatchingPrinters(",".join(names)) 
    134134            nbtotal = len(todelete)