change text

This commit is contained in:
Borzutzki Robert 2024-11-25 23:00:06 +01:00
parent 9686365dfd
commit 61432fdf72

View File

@ -64,7 +64,7 @@ def init_monitor():
# Drawing on the Horizontal image # Drawing on the Horizontal image
logging.info("1.Drawing on the Horizontal image...") logging.info("1.Drawing on the Horizontal image...")
drawblack.text((4, 0), 'Lieber Reinhold, auf dich warten noch: ' + str(duration.days) + " Tage", font = font12, fill = 0) drawblack.text((4, 0), 'Lieber Reinhold, in nur noch: ' + str(duration.days) + " Tagen", font = font12, fill = 0)
drawblack.text((4, 16), 'Oder ' + str(round(duration.days / 7,2)) + " Wochen", font = font16, fill = 0) drawblack.text((4, 16), 'Oder ' + str(round(duration.days / 7,2)) + " Wochen", font = font16, fill = 0)
drawblack.text((4, 32), 'Oder ' + str(round(duration.days / 30,2)) + " Monate", font = font16, fill = 0) drawblack.text((4, 32), 'Oder ' + str(round(duration.days / 30,2)) + " Monate", font = font16, fill = 0)
drawblack.text((4, 48), 'Oder ' + str(duration.days * 24) + " Stunden", font = font16, fill = 0) drawblack.text((4, 48), 'Oder ' + str(duration.days * 24) + " Stunden", font = font16, fill = 0)