Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Translate footer text on workout PDF

Roland Geider9799e20c3aba
diff --git a/manager/views.py b/manager/views.py
index 5634d3aa9..0ce73e81a 100644
--- a/manager/views.py
+++ b/manager/views.py
@@ -565,8 +565,8 @@ def pdf_workout(request, id):
elements.append(P)
# Print date
- P = Paragraph('<para align="left">Printed on the <b>%(created)s</b></para>' %
- {'created' : workout.creation_date.strftime("%d.%m.%Y")},
+ P = Paragraph('<para align="left">%(created)s</para>' %
+ {'created' : _("Printed on the <b>%s</b>") % workout.creation_date.strftime("%d.%m.%Y")},
styleSheet["Normal"])
elements.append(P)