diff options
Diffstat (limited to 'main.py')
| -rwxr-xr-x | main.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -61,30 +61,30 @@ if i["output"]["semester_dates_as_events"]: i["events"]["send_098888986"]["date"]=i["semester"]["end"] while d <= send: t = PrettyTable(min_width=i["output"]["min_col_width"]) - week="Week "+str(w) if i["output"]["show_weeks"] else "" + week=i["output"]["labels"]["weeks"].format(w) if i["output"]["show_weeks"] else "" t.field_names = [week, "Monday", "Tuesday", "Wednesday", "Thursday", "Friday"] if i["output"]["show_dates"]: - t.add_row(["Date", + t.add_row([i["output"]["labels"]["dates"], formatday(getnextdayn(d, 0)), formatday(getnextdayn(d, 1)), formatday(getnextdayn(d, 2)), formatday(getnextdayn(d, 3)), formatday(getnextdayn(d, 4))],divider=True) if i["output"]["show_assigments"]: - t.add_row(["Assigment", + t.add_row([i["output"]["labels"]["assignments"], getassign(getnextdayn(d, 0)), getassign(getnextdayn(d, 1)), getassign(getnextdayn(d, 2)), getassign(getnextdayn(d, 3)), getassign(getnextdayn(d, 4))],divider=True) - t.add_row(["Lecture", + t.add_row([i["output"]["labels"]["lectures"], getlecture(getnextdayn(d, 0)), getlecture(getnextdayn(d, 1)), getlecture(getnextdayn(d, 2)), getlecture(getnextdayn(d, 3)), getlecture(getnextdayn(d, 4))],divider=True) if i["output"]["show_events"]: - t.add_row(["Other", + t.add_row([i["output"]["labels"]["events"], getevents(getnextdayn(d, 0)), getevents(getnextdayn(d, 1)), getevents(getnextdayn(d, 2)), |
