From 2d11c0f61e51904080345a5d097f25db8549ff48 Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez <joeljeremy.marquez@gmail.com> Date: Thu, 3 Aug 2023 14:14:08 -0700 Subject: [PATCH] Sentence case in menus (#1446) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes --> Updating other menus to sentence case so that it is consistent with the other menus throughout the app --- .../src/components/accounts/Header.js | 16 ++++++++-------- .../components/budget/report/BudgetSummary.tsx | 2 +- .../components/budget/rollover/BudgetSummary.tsx | 2 +- upcoming-release-notes/1446.md | 6 ++++++ 4 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 upcoming-release-notes/1446.md diff --git a/packages/desktop-client/src/components/accounts/Header.js b/packages/desktop-client/src/components/accounts/Header.js index 9afbb14f0..a22a232ed 100644 --- a/packages/desktop-client/src/components/accounts/Header.js +++ b/packages/desktop-client/src/components/accounts/Header.js @@ -376,15 +376,15 @@ function AccountMenu({ items={[ isSorted && { name: 'remove-sorting', - text: 'Remove all Sorting', + text: 'Remove all sorting', }, canShowBalances && { name: 'toggle-balance', - text: (showBalances ? 'Hide' : 'Show') + ' Running Balance', + text: (showBalances ? 'Hide' : 'Show') + ' running balance', }, { name: 'toggle-cleared', - text: (showCleared ? 'Hide' : 'Show') + ' “Cleared†Checkboxes', + text: (showCleared ? 'Hide' : 'Show') + ' “cleared†checkboxes', }, { name: 'export', text: 'Export' }, { name: 'reconcile', text: 'Reconcile' }, @@ -393,15 +393,15 @@ function AccountMenu({ (canSync ? { name: 'unlink', - text: 'Unlink Account', + text: 'Unlink account', } : syncServerStatus === 'online' && { name: 'link', - text: 'Link Account', + text: 'Link account', }), account.closed - ? { name: 'reopen', text: 'Reopen Account' } - : { name: 'close', text: 'Close Account' }, + ? { name: 'reopen', text: 'Reopen account' } + : { name: 'close', text: 'Close account' }, ].filter(x => x)} /> </MenuTooltip> @@ -418,7 +418,7 @@ function CategoryMenu({ onClose, onMenuSelect, isSorted }) { items={[ isSorted && { name: 'remove-sorting', - text: 'Remove all Sorting', + text: 'Remove all sorting', }, { name: 'export', text: 'Export' }, ]} diff --git a/packages/desktop-client/src/components/budget/report/BudgetSummary.tsx b/packages/desktop-client/src/components/budget/report/BudgetSummary.tsx index 6533e11ab..6bf2f341e 100644 --- a/packages/desktop-client/src/components/budget/report/BudgetSummary.tsx +++ b/packages/desktop-client/src/components/budget/report/BudgetSummary.tsx @@ -421,7 +421,7 @@ export function BudgetSummary({ month }: BudgetSummaryProps) { { name: 'set-zero', text: 'Set budgets to zero' }, { name: 'set-3-avg', - text: 'Set budgets to 3 month avg', + text: 'Set budgets to 3 month average', }, isGoalTemplatesEnabled && { name: 'check-templates', diff --git a/packages/desktop-client/src/components/budget/rollover/BudgetSummary.tsx b/packages/desktop-client/src/components/budget/rollover/BudgetSummary.tsx index 376679a24..c67b4fa8e 100644 --- a/packages/desktop-client/src/components/budget/rollover/BudgetSummary.tsx +++ b/packages/desktop-client/src/components/budget/rollover/BudgetSummary.tsx @@ -394,7 +394,7 @@ export function BudgetSummary({ { name: 'set-zero', text: 'Set budgets to zero' }, { name: 'set-3-avg', - text: 'Set budgets to 3 month avg', + text: 'Set budgets to 3 month average', }, isGoalTemplatesEnabled && { name: 'check-templates', diff --git a/upcoming-release-notes/1446.md b/upcoming-release-notes/1446.md new file mode 100644 index 000000000..f5a4a9d00 --- /dev/null +++ b/upcoming-release-notes/1446.md @@ -0,0 +1,6 @@ +--- +category: Enhancements +authors: [joel-jeremy] +--- + +Sentence case in menus -- GitLab