mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 10:33:02 -05:00
Translate closing account and more (#5549)
* translate * add relese note * Update VRT * feed back * Update VRT * revert vrt * avoid duplicate translations * translate rename save butons (reports custom) --------- Co-authored-by: Alex <Alex> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -392,19 +392,22 @@ export function AccountHeader({
|
||||
}}
|
||||
content={
|
||||
account?.last_reconciled
|
||||
? t('Reconciled {{relativeTimeAgo}} ({{absoluteDate}})', {
|
||||
relativeTimeAgo: tsToRelativeTime(
|
||||
account.last_reconciled,
|
||||
locale,
|
||||
),
|
||||
absoluteDate: formatDate(
|
||||
new Date(
|
||||
parseInt(account.last_reconciled ?? '0', 10),
|
||||
? t(
|
||||
'Reconciled {{ relativeTimeAgo }} ({{ absoluteDate }})',
|
||||
{
|
||||
relativeTimeAgo: tsToRelativeTime(
|
||||
account.last_reconciled,
|
||||
locale,
|
||||
),
|
||||
dateFormat,
|
||||
{ locale },
|
||||
),
|
||||
})
|
||||
absoluteDate: formatDate(
|
||||
new Date(
|
||||
parseInt(account.last_reconciled ?? '0', 10),
|
||||
),
|
||||
dateFormat,
|
||||
{ locale },
|
||||
),
|
||||
},
|
||||
)
|
||||
: t('Not yet reconciled')
|
||||
}
|
||||
placement="top"
|
||||
|
||||
@@ -79,7 +79,7 @@ export function SaveReportName({
|
||||
/>
|
||||
</FormField>
|
||||
<Button variant="primary" type="submit" style={{ marginTop: 30 }}>
|
||||
{menuItem === 'save-report' ? 'Add' : 'Update'}
|
||||
{menuItem === 'save-report' ? t('Add') : t('Update')}
|
||||
</Button>
|
||||
</Stack>
|
||||
</Form>
|
||||
|
||||
@@ -269,10 +269,10 @@ export function Account<FieldName extends SheetFields<'account'>>({
|
||||
setMenuOpen(false);
|
||||
}}
|
||||
items={[
|
||||
{ name: 'rename', text: 'Rename' },
|
||||
{ name: 'rename', text: t('Rename') },
|
||||
account.closed
|
||||
? { name: 'reopen', text: 'Reopen' }
|
||||
: { name: 'close', text: 'Close' },
|
||||
? { name: 'reopen', text: t('Reopen') }
|
||||
: { name: 'close', text: t('Close') },
|
||||
]}
|
||||
/>
|
||||
</Popover>
|
||||
|
||||
6
upcoming-release-notes/5549.md
Normal file
6
upcoming-release-notes/5549.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [milanalexandre]
|
||||
---
|
||||
|
||||
Translate closing account
|
||||
Reference in New Issue
Block a user