Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[42242] Fix missing today translation

Oliver Günther93135236c0d2
diff --git a/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts b/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts
index fe015f43e15..216204df531 100644
--- a/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts
+++ b/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts
@@ -108,6 +108,7 @@ export class TimeEntryCalendarComponent {
public text = {
logTime: this.i18n.t('js.button_log_time'),
+ today: this.i18n.t('js.team_planner.today'),
};
calendarOptions:CalendarOptions = {
@@ -119,6 +120,7 @@ export class TimeEntryCalendarComponent {
center: 'title',
left: 'prev,next today',
},
+ buttonText: { today: this.text.today },
initialView: 'timeGridWeek',
firstDay: this.configuration.startOfWeek(),
hiddenDays: [],