Replace key names with friendly names in todoist actions (#137667)

* Replace key names with friendly names in todoist actions

Also fix the grammar mistake in "A members username …" by rewordings.

* Fix grammar in reminder_date and reminder_date_string descriptions

* Fix description of due_date_string, replacing "date" with "time"

According to the online docs this is not the day but the time when this is due. Just like the reminder_date_string.

Example in the docs: "tomorrow at 14:00"
This commit is contained in:
Norbert Rittel 2025-02-07 15:33:38 +01:00 committed by GitHub
parent 239f2dcb3e
commit 600269ad0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,7 @@
}, },
"assignee": { "assignee": {
"name": "Assignee", "name": "Assignee",
"description": "A members username of a shared project to assign this task to." "description": "The username of a shared project's member to assign this task to."
}, },
"priority": { "priority": {
"name": "Priority", "name": "Priority",
@ -63,11 +63,11 @@
}, },
"due_date_string": { "due_date_string": {
"name": "Due date string", "name": "Due date string",
"description": "The day this task is due, in natural language." "description": "The time this task is due, in natural language."
}, },
"due_date_lang": { "due_date_lang": {
"name": "Due date language", "name": "Due date language",
"description": "The language of due_date_string." "description": "The language of 'Due date string'."
}, },
"due_date": { "due_date": {
"name": "Due date", "name": "Due date",
@ -75,15 +75,15 @@
}, },
"reminder_date_string": { "reminder_date_string": {
"name": "Reminder date string", "name": "Reminder date string",
"description": "When should user be reminded of this task, in natural language." "description": "When the user should be reminded of this task, in natural language."
}, },
"reminder_date_lang": { "reminder_date_lang": {
"name": "Reminder date language", "name": "Reminder date language",
"description": "The language of reminder_date_string." "description": "The language of 'Reminder date string'."
}, },
"reminder_date": { "reminder_date": {
"name": "Reminder date", "name": "Reminder date",
"description": "When should user be reminded of this task, in format YYYY-MM-DDTHH:MM:SS, in UTC timezone." "description": "When the user should be reminded of this task, in format YYYY-MM-DDTHH:MM:SS, in UTC timezone."
} }
} }
} }