From fef400e031280b7e0e2fc056ac121332c05e9716 Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Wed, 26 Jun 2024 10:38:11 +0200 Subject: [PATCH] Move some more strings into general sharing scope --- config/locales/js-en.yml | 3 +-- .../wp-buttons/wp-share-button/wp-share-button.component.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml index 7e58a84fa88e..3ab5a7eaa6d9 100644 --- a/config/locales/js-en.yml +++ b/config/locales/js-en.yml @@ -991,10 +991,10 @@ en: wiki_link: "Link to a Wiki page" image: "Image" sharing: + share: "Share" selected_count: "%{count} selected" selection: mixed: "Mixed" - work_packages: bulk_actions: move: "Bulk change of project" @@ -1151,7 +1151,6 @@ en: is_parent: "The dates of this work package are automatically deduced from its children. Activate 'Manual scheduling' to set the dates." is_switched_from_manual_to_automatic: "The dates of this work package may need to be recalculated after switching from manual to automatic scheduling due to relationships with other work packages." sharing: - share: "Share" title: "Share work package" show_all_users: "Show all users with whom the work package has been shared with" upsale: diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.component.ts b/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.component.ts index 417c4dd01742..a6e356bb5b4e 100644 --- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.component.ts +++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.component.ts @@ -57,7 +57,7 @@ export class WorkPackageShareButtonComponent extends UntilDestroyedMixin impleme shareCount$:Observable; public text = { - share: this.I18n.t('js.work_packages.sharing.share'), + share: this.I18n.t('js.sharing.share'), }; constructor(