Skip to content

Commit

Permalink
change wording of post/skip actions
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-fidd committed Jan 16, 2025
1 parent aaf5a3f commit 1056705
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/desktop-client/e2e/page-models/schedules-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class SchedulesPage {
* 0-based index
*/
async postNthSchedule(index) {
await this._performNthAction(index, 'Post transaction');
await this._performNthAction(index, 'Post transaction today');
await this.page.waitForTimeout(1000);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function ScheduledTransactionMenu({
items={[
{
name: 'post',
text: t('Post transaction'),
text: t('Post transaction today'),
},
{
name: 'skip',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export function PostsOfflineNotification() {
<Paragraph>
<Trans>
You can always manually post a transaction later for a due
schedule by selecting the schedule and clicking “Post transaction
in the action menu.
schedule by selecting the schedule and clicking “Post transaction
today” in the action menu.
</Trans>
</Paragraph>
<Stack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function OverflowMenu({

menuItems.push({
name: 'post-transaction',
text: t('Post transaction'),
text: t('Post transaction today'),
});

if (status === 'completed') {
Expand All @@ -83,7 +83,7 @@ function OverflowMenu({
menuItems.push(
{
name: 'skip',
text: t('Skip next date'),
text: t('Skip next scheduled date'),
},
{
name: 'complete',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ export function SelectedTransactionsButton({
} as const,
{
name: 'post-transaction',
text: t('Post transaction'),
text: t('Post transaction today'),
} as const,
{ name: 'skip', text: t('Skip scheduled date') } as const,
{ name: 'skip', text: t('Skip next scheduled date') } as const,
]
: [
{ name: 'show', text: t('Show'), key: 'F' } as const,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export function TransactionMenu({
isPreview
? [
{ name: 'view-schedule', text: t('View schedule') },
{ name: 'post-transaction', text: t('Post transaction') },
{ name: 'skip', text: t('Skip scheduled date') },
{ name: 'post-transaction', text: t('Post transaction today') },
{ name: 'skip', text: t('Skip next scheduled date') },
]
: [
{
Expand Down

0 comments on commit 1056705

Please sign in to comment.