chore: align wording in task detail view
Changes only in task detail view. Probably this should be done everywhere: - some buttons were using the uppercase words consistently, some were not - some were using articles, some were not => I removed them everywhere to shorten the label length - some buttons were refering to the task, some were not. Since we are already in the context of the task (we are not the task detail page) I removed the reference everywhere.
This commit is contained in:
parent
15d681122a
commit
60f58af41a
3 changed files with 17 additions and 17 deletions
|
@ -176,7 +176,7 @@ describe('List View Kanban', () => {
|
||||||
.click()
|
.click()
|
||||||
|
|
||||||
cy.get('.task-view .action-buttons .button', { timeout: 3000 })
|
cy.get('.task-view .action-buttons .button', { timeout: 3000 })
|
||||||
.contains('Move task')
|
.contains('Move')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.task-view .content.details .field .multiselect.control .input-wrapper input')
|
cy.get('.task-view .content.details .field .multiselect.control .input-wrapper input')
|
||||||
.type(`${lists[1].title}{enter}`)
|
.type(`${lists[1].title}{enter}`)
|
||||||
|
|
|
@ -210,7 +210,7 @@ describe('Task', () => {
|
||||||
cy.visit(`/tasks/${tasks[0].id}`)
|
cy.visit(`/tasks/${tasks[0].id}`)
|
||||||
|
|
||||||
cy.get('.task-view .action-buttons .button')
|
cy.get('.task-view .action-buttons .button')
|
||||||
.contains('Move task')
|
.contains('Move')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.task-view .content.details .field .multiselect.control .input-wrapper input')
|
cy.get('.task-view .content.details .field .multiselect.control .input-wrapper input')
|
||||||
.type(`${lists[1].title}{enter}`)
|
.type(`${lists[1].title}{enter}`)
|
||||||
|
@ -237,7 +237,7 @@ describe('Task', () => {
|
||||||
|
|
||||||
cy.get('.task-view .action-buttons .button')
|
cy.get('.task-view .action-buttons .button')
|
||||||
.should('be.visible')
|
.should('be.visible')
|
||||||
.contains('Delete task')
|
.contains('Delete')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.modal-mask .modal-container .modal-content .header')
|
cy.get('.modal-mask .modal-container .modal-content .header')
|
||||||
.should('contain', 'Delete this task')
|
.should('contain', 'Delete this task')
|
||||||
|
@ -317,7 +317,7 @@ describe('Task', () => {
|
||||||
cy.visit(`/tasks/${tasks[0].id}`)
|
cy.visit(`/tasks/${tasks[0].id}`)
|
||||||
|
|
||||||
cy.get('.task-view .action-buttons .button')
|
cy.get('.task-view .action-buttons .button')
|
||||||
.contains('Add labels')
|
.contains('Add Labels')
|
||||||
.should('be.visible')
|
.should('be.visible')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.task-view .details.labels-list .multiselect input')
|
cy.get('.task-view .details.labels-list .multiselect input')
|
||||||
|
@ -344,7 +344,7 @@ describe('Task', () => {
|
||||||
cy.visit(`/tasks/${tasks[0].id}`)
|
cy.visit(`/tasks/${tasks[0].id}`)
|
||||||
|
|
||||||
cy.get('.task-view .action-buttons .button')
|
cy.get('.task-view .action-buttons .button')
|
||||||
.contains('Add labels')
|
.contains('Add Labels')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.task-view .details.labels-list .multiselect input')
|
cy.get('.task-view .details.labels-list .multiselect input')
|
||||||
.type(labels[0].title)
|
.type(labels[0].title)
|
||||||
|
|
|
@ -570,22 +570,22 @@
|
||||||
"text2": "This will also remove all attachments, reminders and relations associated with this task and cannot be undone!"
|
"text2": "This will also remove all attachments, reminders and relations associated with this task and cannot be undone!"
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"assign": "Assign to a user",
|
"assign": "Assign to User",
|
||||||
"label": "Add labels",
|
"label": "Add Labels",
|
||||||
"priority": "Set Priority",
|
"priority": "Set Priority",
|
||||||
"dueDate": "Set Due Date",
|
"dueDate": "Set Due Date",
|
||||||
"startDate": "Set a Start Date",
|
"startDate": "Set Start Date",
|
||||||
"endDate": "Set an End Date",
|
"endDate": "Set End Date",
|
||||||
"reminders": "Set Reminders",
|
"reminders": "Set Reminders",
|
||||||
"repeatAfter": "Set a repeating interval",
|
"repeatAfter": "Set Repeating Interval",
|
||||||
"percentDone": "Set Progress",
|
"percentDone": "Set Progress",
|
||||||
"attachments": "Add attachments",
|
"attachments": "Add Attachments",
|
||||||
"relatedTasks": "Add task relations",
|
"relatedTasks": "Add Relation",
|
||||||
"moveList": "Move task",
|
"moveList": "Move",
|
||||||
"color": "Set task color",
|
"color": "Set Color",
|
||||||
"delete": "Delete task",
|
"delete": "Delete",
|
||||||
"favorite": "Save as favorite",
|
"favorite": "Add to Favorites",
|
||||||
"unfavorite": "Remove from favorites"
|
"unfavorite": "Remove from Favorites"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"attributes": {
|
"attributes": {
|
||||||
|
|
Loading…
Reference in a new issue