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
[30988] Translate widgets in the frontend
Oliver Günthere10fae81e641
diff --git a/frontend/src/app/modules/grids/widgets/abstract-widget.component.ts b/frontend/src/app/modules/grids/widgets/abstract-widget.component.tsindex 17c0a348fd0..46d6a299a13 100644--- a/frontend/src/app/modules/grids/widgets/abstract-widget.component.ts+++ b/frontend/src/app/modules/grids/widgets/abstract-widget.component.ts@@ -14,7 +14,12 @@ export abstract class AbstractWidgetComponent {@Output() resourceChanged = new EventEmitter<WidgetChangeset>();public get widgetName() {- return this.resource.options.name;+ let fallback = this.resource.options.name;+ let widgetIdentifier = this.resource.identifier;+ return this.i18n.t(+ `js.grid.widgets.${widgetIdentifier}.title`,+ { defaultValue: fallback }+ );}public renameWidget(name:string) {