Changeset 1925 for pykota

Show
Ignore:
Timestamp:
11/15/04 23:20:27 (20 years ago)
Author:
jalet
Message:

Now outputs strings as-is, and not title-ized

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkbanner

    r1923 r1925  
    2424# 
    2525# $Log$ 
     26# Revision 1.6  2004/11/15 22:20:27  jalet 
     27# Now outputs strings as-is, and not title-ized 
     28# 
    2629# Revision 1.5  2004/11/15 22:01:34  jalet 
    2730# Improved banner handling. 
     
    170173        (r, g, b) =  (0, 0, 0)  # Black : TODO : darkness 
    171174        canvas.setFillColorRGB(r, g, b) 
    172         message = "%s :" % _(label).title() 
     175        message = "%s :" % _(label) 
    173176        canvas.drawRightString(x, y, message) 
    174177        canvas.setFont("Courier-Bold", size) 
     
    251254         
    252255        # Now outputs the user's account balance or page counter 
    253         ypos -= self.printVar(c, xcenter, ypos, _("Pages printed on %s") % printername, self.getVar("PYKOTAPAGECOUNTER"), 14, darkness)  
     256        ypos -= self.printVar(c, xcenter, ypos, _("Pages printed so far on %s") % printername, self.getVar("PYKOTAPAGECOUNTER"), 14, darkness)  
    254257        limitby = self.getVar("PYKOTALIMITBY") 
    255258        if limitby == "balance" :