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", "CancelLabel": "Cancel",
"SearchCreate": "Search/Name ...", "SearchCreate": "Search/Name ...",
"QuickAddItems": "Quick Add {word} \"{title}\"", "QuickAddItems": "Quick Add {word} \"{title}\"",
"NoItems": "There is no {word} added ...", "NoItems": "There are no {word} added ...",
"TagDescriptionLabel": "Description", "TagDescriptionLabel": "Description",
"TagDescriptionPlaceholder": "Please type description here", "TagDescriptionPlaceholder": "Please type description here",
"TagTooltip": "{text}", "TagTooltip": "{text}",

View File

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

View File

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

View File

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