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

solve the travis errors

bsatarnejad8a0c727b0ed4
diff --git a/frontend/src/app/modules/boards/board/board-actions/assignee/assignee-action.service.ts b/frontend/src/app/modules/boards/board/board-actions/assignee/assignee-action.service.ts
index 7c51d5359d8..77b0d3b6a01 100644
--- a/frontend/src/app/modules/boards/board/board-actions/assignee/assignee-action.service.ts
+++ b/frontend/src/app/modules/boards/board/board-actions/assignee/assignee-action.service.ts
@@ -15,7 +15,7 @@ import imagePath = ImageHelpers.imagePath;
export class BoardAssigneeActionService extends CachedBoardActionService {
filterName = 'assignee';
- text = this.I18n.t('js.boards.board_type.action_type.assignee');
+ text = this.I18n.t('js.boards.board_type.board_type_title.assignee');
description = this.I18n.t('js.boards.board_type.action_text_assignee');
diff --git a/frontend/src/app/modules/boards/board/board-actions/status/status-action.service.ts b/frontend/src/app/modules/boards/board/board-actions/status/status-action.service.ts
index d801f6a42f1..1feaa6a9e58 100644
--- a/frontend/src/app/modules/boards/board/board-actions/status/status-action.service.ts
+++ b/frontend/src/app/modules/boards/board/board-actions/status/status-action.service.ts
@@ -10,7 +10,7 @@ import {ImageHelpers} from "core-app/helpers/images/path-helper";
export class BoardStatusActionService extends CachedBoardActionService {
filterName = 'status';
- text = this.I18n.t('js.boards.board_type.action_type.status');
+ text = this.I18n.t('js.boards.board_type.board_type_title.status');
description = this.I18n.t('js.boards.board_type.action_text_status');
diff --git a/frontend/src/app/modules/boards/board/board-actions/subproject/subproject-action.service.ts b/frontend/src/app/modules/boards/board/board-actions/subproject/subproject-action.service.ts
index beb7af892a3..944e3aed091 100644
--- a/frontend/src/app/modules/boards/board/board-actions/subproject/subproject-action.service.ts
+++ b/frontend/src/app/modules/boards/board/board-actions/subproject/subproject-action.service.ts
@@ -14,7 +14,7 @@ import {ImageHelpers} from "core-app/helpers/images/path-helper";
export class BoardSubprojectActionService extends CachedBoardActionService {
filterName = 'onlySubproject';
- text = this.I18n.t('js.boards.board_type.action_type.subproject');
+ text = this.I18n.t('js.boards.board_type.board_type_title.subproject');
description = this.I18n.t('js.boards.board_type.action_text_subprojects');
diff --git a/frontend/src/app/modules/boards/board/board-actions/subtasks/board-subtasks-action.service.ts b/frontend/src/app/modules/boards/board/board-actions/subtasks/board-subtasks-action.service.ts
index 3529689c795..992906a2e34 100644
--- a/frontend/src/app/modules/boards/board/board-actions/subtasks/board-subtasks-action.service.ts
+++ b/frontend/src/app/modules/boards/board/board-actions/subtasks/board-subtasks-action.service.ts
@@ -14,7 +14,7 @@ import {ImageHelpers} from "core-app/helpers/images/path-helper";
export class BoardSubtasksActionService extends BoardActionService {
filterName = 'parent';
- text = this.I18n.t('js.boards.board_type.action_type.subtasks');
+ text = this.I18n.t('js.boards.board_type.board_type_title.subtasks');
description = this.I18n.t('js.boards.board_type.action_text_subtasks');
diff --git a/frontend/src/app/modules/boards/board/board-actions/version/version-action.service.ts b/frontend/src/app/modules/boards/board/board-actions/version/version-action.service.ts
index 6a7c28cb919..1be7df9f934 100644
--- a/frontend/src/app/modules/boards/board/board-actions/version/version-action.service.ts
+++ b/frontend/src/app/modules/boards/board/board-actions/version/version-action.service.ts
@@ -22,7 +22,7 @@ export class BoardVersionActionService extends CachedBoardActionService {
filterName = 'version';
- text = this.I18n.t('js.boards.board_type.action_type.version');
+ text = this.I18n.t('js.boards.board_type.board_type_title.version');
description = this.I18n.t('js.boards.board_type.action_text_version');
diff --git a/frontend/src/app/modules/boards/new-board-modal/new-board-modal.component.ts b/frontend/src/app/modules/boards/new-board-modal/new-board-modal.component.ts
index bcd8c54b909..c00aefb580a 100644
--- a/frontend/src/app/modules/boards/new-board-modal/new-board-modal.component.ts
+++ b/frontend/src/app/modules/boards/new-board-modal/new-board-modal.component.ts
@@ -61,6 +61,7 @@ export class NewBoardModalComponent extends OpModalComponent {
free_board: this.I18n.t('js.boards.board_type.free'),
free_board_text: this.I18n.t('js.boards.board_type.free_text'),
+ free_board_title: this.I18n.t('js.boards.board_type.board_type_title.basic'),
board_type: this.I18n.t('js.boards.board_type.text'),
action_board: this.I18n.t('js.boards.board_type.action'),
@@ -96,7 +97,7 @@ export class NewBoardModalComponent extends OpModalComponent {
private initiateTiles() {
this.available.unshift({
attribute: 'basic',
- text: this.text.free_board,
+ text: this.text.free_board_title,
icon: 'icon-boards',
description: this.text.free_board_text,
image: imagePath('board_creation_modal/lists.svg')
diff --git a/modules/boards/config/locales/js-en.yml b/modules/boards/config/locales/js-en.yml
index 14f96a6932e..1b375d25317 100644
--- a/modules/boards/config/locales/js-en.yml
+++ b/modules/boards/config/locales/js-en.yml
@@ -36,7 +36,7 @@ en:
click_to_remove_list: "Click to remove this list"
board_type:
text: 'Board type'
- free: 'Basic'
+ free: 'basic'
select_board_type: 'Please choose the type of board you need.'
free_text: >
Start from scratch with a blank board.
@@ -61,11 +61,18 @@ en:
Board with automated columns based on the version attribute.
Ideal for planning software releases.
action_type:
+ assignee: assignee
+ status: status
+ version: version
+ subproject: subproject
+ subtasks: parent-child
+ board_type_title:
assignee: Assignee
status: Status
version: Version
subproject: Subproject
subtasks: Parent-Child
+ basic: Basic
select_attribute: "Action attribute"
add_list_modal:
diff --git a/modules/boards/spec/features/action_boards/subtasks_board_spec.rb b/modules/boards/spec/features/action_boards/subtasks_board_spec.rb
index fad6c44179c..cf3bc95d55f 100644
--- a/modules/boards/spec/features/action_boards/subtasks_board_spec.rb
+++ b/modules/boards/spec/features/action_boards/subtasks_board_spec.rb
@@ -100,7 +100,7 @@ describe 'Subtasks action board', type: :feature, js: true do
board_page.expect_movable 'Parent WP', 'Child', movable: true
board_page.board(reload: true) do |board|
- expect(board.name).to eq 'Action board (Parent Child)'
+ expect(board.name).to eq 'Action board (parent-child)'
queries = board.contained_queries
expect(queries.count).to eq(1)