Show
Ignore:
Timestamp:
10/13/04 11:38:27 (20 years ago)
Author:
jalet
Message:

Added a translatable message from the CGI script

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/cgi-bin/printquota.cgi

    r1763 r1817  
    2424# 
    2525# $Log$ 
     26# Revision 1.39  2004/10/13 09:38:25  jalet 
     27# Added a translatable message from the CGI script 
     28# 
    2629# Revision 1.38  2004/10/02 13:47:46  jalet 
    2730# The CGI script doesn't depend anymore on what is in the submit button 
     
    228231        printers = self.storage.getMatchingPrinters(mask) 
    229232        selectednames = [p.Name for p in selected] 
    230         message = '<table><tr><td valign="top">Printer :</td><td valign="top"><select name="printers" multiple="multiple">' 
     233        message = '<table><tr><td valign="top">%s :</td><td valign="top"><select name="printers" multiple="multiple">' % _("Printer") 
    231234        for printer in printers : 
    232235            if printer.Name in selectednames : 
     
    251254        """Main function""" 
    252255        printers = ugmask = isgroup = None 
    253         self.body = "<p>Please click on the button above</p>\n" 
     256        self.body = "<p>%s</p>\n" % _("Please click on the above button") 
    254257        if self.form.has_key("report") : 
    255258            if self.form.has_key("printers") :