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
Indicate project hierarchy in the notification sidebar && fix some minor translation issues
Henriette Darged3fc67a4c544
diff --git a/app/menus/notifications/menu.rb b/app/menus/notifications/menu.rbindex cb96bedbf61..5be3fd4aa91 100644--- a/app/menus/notifications/menu.rb+++ b/app/menus/notifications/menu.rb@@ -74,7 +74,9 @@ module Notificationsdef project_filtersunread_by_project.map do |project, count|- menu_item(title: project.name, count:, query_params: query_params("project", project.id))+ menu_item(title: (project.parent.present? ? "... " : "") + project.name,+ count:,+ query_params: query_params("project", project.id))endend@@ -118,7 +120,7 @@ module Notifications"responsible" => :accountable,"watched" => :watching,"shared" => :share,- "date_alert" => :"date-alert"+ "dateAlert" => :"date-alert"}endenddiff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex ed8d1088640..d7579386704 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -674,17 +674,17 @@ en:title: "Notifications"no_unread: "No unread notifications"reasons:- mentioned: "mentioned"- watched: "watcher"- assigned: "assignee"- responsible: "accountable"- created: "created"- scheduled: "scheduled"- commented: "commented"- processed: "processed"- prioritized: "prioritized"+ mentioned: "Mentioned"+ watched: "Watcher"+ assigned: "Assignee"+ responsible: "Accountable"+ created: "Created"+ scheduled: "Scheduled"+ commented: "Commented"+ processed: "Processed"+ prioritized: "Prioritized"dateAlert: "Date alert"- shared: "shared"+ shared: "Shared"date_alerts:milestone_date: "Milestone date"overdue: "Overdue"diff --git a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.ts b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.tsindex 55d288645e9..31224c28a91 100644--- a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.ts+++ b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.ts@@ -85,7 +85,7 @@ export class InAppNotificationCenterComponent implements OnInit {reasonMenuItems = [{key: 'mentioned',- title: this.I18n.t('js.notifications.menu.mentioned'),+ title: this.I18n.t('js.notifications.reasons.mentioned'),},{key: 'assigned',@@ -93,19 +93,19 @@ export class InAppNotificationCenterComponent implements OnInit {},{key: 'responsible',- title: this.I18n.t('js.notifications.menu.accountable'),+ title: this.I18n.t('js.notifications.reasons.accountable'),},{key: 'watched',- title: this.I18n.t('js.notifications.menu.watched'),+ title: this.I18n.t('js.notifications.reasons.watched'),},{key: 'dateAlert',- title: this.I18n.t('js.notifications.menu.date_alert'),+ title: this.I18n.t('js.notifications.reasons.dateAlert'),},{key: 'shared',- title: this.I18n.t('js.notifications.menu.shared'),+ title: this.I18n.t('js.notifications.reasons.shared'),},];