Changeset 3079 for pykota/trunk/bin/pkinvoice
- Timestamp:
- 11/29/06 20:28:35 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pkinvoice
r3069 r3079 142 142 self.canvas.setFont("Helvetica-Bold", size) 143 143 self.canvas.setFillColorRGB(0, 0, 0) 144 self.canvas.drawRightString(xcenter, self.ypos, "%s :" % label)144 self.canvas.drawRightString(xcenter, self.ypos, "%s :" % self.userCharsetToUTF8(label)) 145 145 self.canvas.setFont("Courier-Bold", size) 146 146 self.canvas.setFillColorRGB(0, 0, 1) 147 self.canvas.drawString(xcenter + 0.5*cm, self.ypos, value)147 self.canvas.drawString(xcenter + 0.5*cm, self.ypos, self.userCharsetToUTF8(value)) 148 148 self.canvas.restoreState() 149 149 self.ypos -= (size + 4) … … 231 231 self.canvas.setFont("Helvetica-Bold", 14) 232 232 self.canvas.setFillColorRGB(0, 0, 0) 233 self.canvas.drawCentredString(xcenter, self.ypos, "%s :" % _("Here's the invoice for your printouts")) 233 msg = _("Here's the invoice for your printouts") 234 self.canvas.drawCentredString(xcenter, self.ypos, "%s :" % self.userCharsetToUTF8(msg)) 234 235 235 236 self.yorigine = self.ypos