UI: Consistent capitalization in operator description

The HIG mentions that these descriptions and messages
generally don't capitalize names of specific concepts or things.
This commit is contained in:
Hans Goudey
2024-01-15 13:20:50 -05:00
parent dc18622572
commit da5d3c11b6

View File

@@ -3580,7 +3580,7 @@ static void wm_clear_recent_files_confirm(bContext * /*C*/,
wmOperator * /*op*/,
wmConfirmDetails *confirm)
{
STRNCPY(confirm->message, IFACE_("Remove all items from the Recent Files list"));
STRNCPY(confirm->message, IFACE_("Remove all items from the recent files list"));
STRNCPY(confirm->confirm_button, IFACE_("Remove All"));
confirm->position = WM_WARNING_POSITION_CENTER;
confirm->size = WM_WARNING_SIZE_LARGE;
@@ -3599,7 +3599,7 @@ void WM_OT_clear_recent_files(wmOperatorType *ot)
{
ot->name = "Clear Recent Files List";
ot->idname = "WM_OT_clear_recent_files";
ot->description = "Clear the Recent Files List";
ot->description = "Clear the recent files list";
ot->invoke = WM_operator_confirm;
ot->exec = wm_clear_recent_files_exec;