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

Translate type of action board in the default name "Action board (:action_type)"

Henriette Dingercdde631ecb74
diff --git a/frontend/src/app/modules/boards/board/board.service.ts b/frontend/src/app/modules/boards/board/board.service.ts
index 2221a8052fb..4b5cabf85b2 100644
--- a/frontend/src/app/modules/boards/board/board.service.ts
+++ b/frontend/src/app/modules/boards/board/board.service.ts
@@ -25,7 +25,7 @@ export class BoardService {
private text = {
unnamed_board: this.I18n.t('js.boards.label_unnamed_board'),
action_board: (attr:string) => this.I18n.t('js.boards.board_type.action_by_attribute',
- { attribute: attr }),
+ { attribute: this.I18n.t('js.boards.board_type.action_type.' + attr )}),
unnamed_list: this.I18n.t('js.boards.label_unnamed_list'),
};
diff --git a/frontend/src/app/modules/boards/index-page/boards-index-page.component.ts b/frontend/src/app/modules/boards/index-page/boards-index-page.component.ts
index 520540a7dcd..2a4a5fa09f6 100644
--- a/frontend/src/app/modules/boards/index-page/boards-index-page.component.ts
+++ b/frontend/src/app/modules/boards/index-page/boards-index-page.component.ts
@@ -29,7 +29,7 @@ export class BoardsIndexPageComponent extends UntilDestroyedMixin implements OnI
type: this.I18n.t('js.boards.label_board_type'),
type_free: this.I18n.t('js.boards.board_type.free'),
action_by_attribute: (attr:string) => this.I18n.t('js.boards.board_type.action_by_attribute',
- { attribute: attr }),
+ { attribute: this.I18n.t('js.boards.board_type.action_type.' + attr ) }),
createdAt: this.I18n.t('js.label_created_on'),
delete: this.I18n.t('js.button_delete'),
areYouSure: this.I18n.t('js.text_are_you_sure'),
diff --git a/modules/boards/config/locales/js-en.yml b/modules/boards/config/locales/js-en.yml
index 144f4a37245..eebf34eb4f1 100644
--- a/modules/boards/config/locales/js-en.yml
+++ b/modules/boards/config/locales/js-en.yml
@@ -43,6 +43,10 @@ en:
action_text: >
Create a board with filtered lists on a single attribute. Moving work packages to other lists
will update their attribute.
+ action_type:
+ assignee: assignee
+ status: status
+ version: version
select_attribute: "Action attribute"
configuration_modal: