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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Ensure we pass the correct locale to team planner, calendar
Oliver Güntherbe0a678c5a26
diff --git a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.tsindex 26da57502aa..75478483ac7 100644--- a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts+++ b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts@@ -181,6 +181,7 @@ export class WorkPackagesCalendarComponent extends UntilDestroyedMixin implementprivate initializeCalendar() {const additionalOptions:{ [key:string]:unknown } = {+ locale: this.I18n.locale,height: '100%',headerToolbar: this.buildHeader(),eventSources: [diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.tsindex 75342254a4d..8bc62c1bad5 100644--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts@@ -459,6 +459,7 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,.then(() => {this.calendarOptions$.next(this.workPackagesCalendar.calendarOptions({+ locale: this.I18n.locale,schedulerLicenseKey: 'GPL-My-Project-Is-Open-Source',selectable: true,plugins: [resourceTimelinePlugin, interactionPlugin],diff --git a/frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.ts b/frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.tsindex 15f8644e47e..12877247b8c 100644--- a/frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.ts+++ b/frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.ts@@ -16,11 +16,7 @@ import { OpModalService } from '../modal/modal.service';import { PathHelperService } from 'core-app/core/path-helper/path-helper.service';import { populateInputsFromDataset } from 'core-app/shared/components/dataset-inputs';import { FullCalendarComponent } from '@fullcalendar/angular';-import {- EventInput,- CalendarOptions,- EventSourceFuncArg,-} from '@fullcalendar/core';+import { CalendarOptions, EventInput, EventSourceFuncArg } from '@fullcalendar/core';import listPlugin from '@fullcalendar/list';import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';import { DayResourceService } from 'core-app/core/state/days/day.service';@@ -79,6 +75,7 @@ export class OpNonWorkingDaysListComponent implements OnInit {selectedNonWorkingDayName= '';calendarOptions:CalendarOptions = {+ locale: this.I18n.locale,plugins: [listPlugin],initialView: 'listYear',contentHeight: 'auto',