Changeset 1925
- Timestamp:
- 11/15/04 23:20:27 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pkbanner
r1923 r1925 24 24 # 25 25 # $Log$ 26 # Revision 1.6 2004/11/15 22:20:27 jalet 27 # Now outputs strings as-is, and not title-ized 28 # 26 29 # Revision 1.5 2004/11/15 22:01:34 jalet 27 30 # Improved banner handling. … … 170 173 (r, g, b) = (0, 0, 0) # Black : TODO : darkness 171 174 canvas.setFillColorRGB(r, g, b) 172 message = "%s :" % _(label) .title()175 message = "%s :" % _(label) 173 176 canvas.drawRightString(x, y, message) 174 177 canvas.setFont("Courier-Bold", size) … … 251 254 252 255 # 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) 254 257 limitby = self.getVar("PYKOTALIMITBY") 255 258 if limitby == "balance" :