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

Change some title and descriptions in notification setting page

bsatarnejad9e02d5bf82b3
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 4d0d476ddc8..c3035518fa9 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -628,11 +628,11 @@ en:
notify_me: "Notify me"
reasons:
mentioned:
- title: 'I am @mentioned'
+ title: '@mentioned'
description: 'Receive a notification every time someone mentions me anywhere'
assignee: 'Assignee'
responsible: 'Accountable'
- watched: 'Updates on watched items'
+ watched: 'Watcher'
work_package_commented: 'All new comments'
work_package_created: 'New work packages'
work_package_processed: 'All status changes'
@@ -640,11 +640,14 @@ en:
work_package_scheduled: 'All date changes'
global:
immediately:
- title: 'Notify me immediately'
- description: 'These settings apply to all projects. You can create project-specific exceptions below.'
+ title: 'Participating'
+ description: 'Notifications for all activities in work packages you are involved in (assignee, accountable or watcher)'
delayed:
- title: 'Also notify me for'
- description: 'Receive notifications for these activities on work packages in all projects:'
+ title: 'Non-participating'
+ description: 'Additional notifications for activities in all projects'
+ date_alerts:
+ title: 'Date alerts'
+ description: 'Automatic notifications when important dates are approaching for open work packages you are involved in (assignee, accountable or watcher)'
project_specific:
title: 'Project-specific notification settings'
description: 'These project-specific settings override default settings above'
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
index 1b451ead446..ea6fb61196b 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
@@ -16,9 +16,20 @@
type="checkbox"
slot="input"
/>
- <p slot="description">{{ text.mentioned.description }}</p>
</spot-selector-field>
-
+
+ <spot-selector-field
+ [label]="text.watched"
+ [control]="form.get('watched')">
+ <input
+ disabled
+ checked
+ type="checkbox"
+ slot="input"
+ />
+ </spot-selector-field>
+
+
<spot-selector-field
[label]="text.assignee"
[control]="form.get('assignee')"
@@ -46,18 +57,6 @@
<h5>{{ text.alsoNotifyFor.title }}</h5>
<p>{{ text.alsoNotifyFor.description }}</p>
- <spot-selector-field
- [label]="text.watched"
- [control]="form.get('watched')"
- >
- <input
- disabled
- checked
- type="checkbox"
- slot="input"
- />
- </spot-selector-field>
-
<spot-selector-field
[label]="text.work_package_created"
[control]="form.get('workPackageCreated')">
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts
index 480e581ae47..f9437093aad 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts
+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts
@@ -69,6 +69,10 @@ export class NotificationsSettingsPageComponent extends UntilDestroyedMixin impl
title: this.I18n.t('js.notifications.settings.global.delayed.title'),
description: this.I18n.t('js.notifications.settings.global.delayed.description'),
},
+ dateAlerts: {
+ title: this.I18n.t('js.notifications.settings.global.date_alerts.title'),
+ description: this.I18n.t('js.notifications.settings.global.date_alerts.description'),
+ },
mentioned: {
title: this.I18n.t('js.notifications.settings.reasons.mentioned.title'),
description: this.I18n.t('js.notifications.settings.reasons.mentioned.description'),