Changeset 8094 for main/waeup.kofa/trunk
- Timestamp:
- 10 Apr 2012, 13:06:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pdf.py
r8092 r8094 274 274 if not getattr(doc, 'kofa_nodate', False): 275 275 today = datetime.now().strftime('%d/%m/%Y %H:%M:%S') 276 canvas.drawString(2.2*cm, 0.5 * inch, "Date: %s" % today) 276 canvas.drawString(2.2*cm, 0.5 * inch, 277 translate(_(u'Date: ${a}', mapping = {'a': today}))) 277 278 canvas.drawRightString( 278 width-2.2*cm, 0.5 * inch, "page %d" % (doc.page,)) 279 width-2.2*cm, 0.5 * inch, 280 translate(_(u'page ${a}' , mapping = {'a':doc.page}))) 279 281 canvas.restoreState() 280 282 canvas.restoreState()
Note: See TracChangeset for help on using the changeset viewer.