Fix grammar error and change text for setting priorities to match in Todos and Issues (#5600)

Signed-off-by: AbigailDawson <abigaildawson.dev@gmail.com>
This commit is contained in:
Abigail Dawson 2024-05-15 12:24:46 -04:00 committed by GitHub
parent 1798ae4d2e
commit 9325c7f8de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 9 deletions

View File

@ -17,7 +17,7 @@
"CancelLabel": "Cancel",
"SearchCreate": "Search/Name ...",
"QuickAddItems": "Quick Add {word} \"{title}\"",
"NoItems": "There is no {word} added ...",
"NoItems": "There are no {word} added ...",
"TagDescriptionLabel": "Description",
"TagDescriptionPlaceholder": "Please type description here",
"TagTooltip": "{text}",

View File

@ -31,8 +31,8 @@
"Unplanned": "Unplanned",
"Planned": "Planned",
"AddSlot": "Add Slot",
"SetPriority": "Set Priority",
"NoPriority": "No Priority",
"SetPriority": "Set priority\u2026",
"NoPriority": "No priority",
"LowPriority": "Low Priority",
"MediumPriority": "Medium Priority",
"HighPriority": "High Priority",

View File

@ -50,22 +50,22 @@ export const todoPriorities: Record<number, ToDoPrioritiesItem> = {
name: 'no-priority'
},
[ToDoPriority.Low]: {
label: time.string.LowPriority,
label: time.string.Low,
shortLabel: time.string.Low,
name: 'low'
},
[ToDoPriority.Medium]: {
label: time.string.MediumPriority,
label: time.string.Medium,
shortLabel: time.string.Medium,
name: 'medium'
},
[ToDoPriority.High]: {
label: time.string.HighPriority,
label: time.string.High,
shortLabel: time.string.High,
name: 'high'
},
[ToDoPriority.Urgent]: {
label: time.string.UrgentPriority,
label: time.string.Urgent,
shortLabel: time.string.Urgent,
name: 'urgent'
}

View File

@ -21,7 +21,7 @@ test.describe('Planning ToDo tests', () => {
title: `ToDo with all parameters-${generateId()}`,
description: 'Created todo with all parameters and attachments description',
duedate: 'today',
priority: 'High Priority',
priority: 'High',
visible: 'Visible to everyone',
createLabel: true,
labels: `CREATE-TODO-${generateId()}`,
@ -55,7 +55,7 @@ test.describe('Planning ToDo tests', () => {
title: 'ToDo For Edit',
description: 'For Edit todo',
duedate: 'today',
priority: 'Medium Priority',
priority: 'Medium',
visible: 'FreeBusy',
createLabel: true,
labels: `EDIT-TODO-${generateId()}`,