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

Add string to translateables, indicate project heierarchy, small typo changes

Benjamin Bädorfdcb77fc8478c
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 8e66d7f0958..23109c80b3c 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -605,7 +605,7 @@ en:
description: 'Receive a notification every time someone mentions me anywhere'
involved:
title: 'Assigned to me or accountable'
- description: 'Receive notifications for all activities on work packages for which I am assignee or accountable.'
+ description: 'Receive notifications for all activities on work packages for which I am assignee or accountable'
watched: 'Updates on watched items'
work_package_commented: 'All new comments'
work_package_created: 'New work packages'
@@ -624,6 +624,7 @@ en:
description: 'These project-specific settings override default settings above'
add: 'Add setting for project'
already_selected: 'This project is already selected'
+ remove: 'Remove project settings'
password_confirmation:
field_description: 'You need to enter your account password to confirm this change.'
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.ts
index b04d36be3e8..27188f14d6b 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.ts
+++ b/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.ts
@@ -75,7 +75,7 @@ export class NotificationSettingInlineCreateComponent {
.pipe(
map((collection) => collection.elements.map((project) => ({
href: project.href || '',
- name: project.name,
+ name: (project.parent ? '... ' : '') + project.name,
disabled: !!this.settings.controls.find(
(projectSetting) => (projectSetting.get('project')!.value as NotificationSettingProjectOption).href === project.href,
),
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
index fe4ee0c4834..f6602fb1aa2 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
@@ -124,7 +124,7 @@
class="op-link"
(click)="removeProjectSettings(index)"
>
- Remove Project Settings
+ {{ text.remove_project_settings }}
</button>
</td>
</ng-container>
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
index ac49f15951d..38cd81fc1c3 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
@@ -40,6 +40,7 @@ export class NotificationSettingsTableComponent {
work_package_processed_header: this.I18n.t('js.notifications.settings.reasons.work_package_processed'),
work_package_prioritized_header: this.I18n.t('js.notifications.settings.reasons.work_package_prioritized'),
work_package_scheduled_header: this.I18n.t('js.notifications.settings.reasons.work_package_scheduled'),
+ remove_project_settings: this.I18n.t('js.notifications.settings.project_specific.remove'),
};
constructor(