Accounts translation

Changed heading of accounts settings page form static to translation key.
This commit is contained in:
RubenD 2020-09-09 19:43:21 +02:00
parent 1e5f34f023
commit 0abe37033d

View File

@ -80,7 +80,9 @@ export default function AccountSettings() {
return ( return (
<> <>
<PageHeader> <PageHeader>
<div>Accounts</div> <div>
<FormattedMessage id="settings.accounts" defaultMessage="Accounts" />
</div>
<Button icon={<Plus />} size="small" onClick={() => setAddAccount(true)}> <Button icon={<Plus />} size="small" onClick={() => setAddAccount(true)}>
<div> <div>
<FormattedMessage id="button.add-account" defaultMessage="Add account" /> <FormattedMessage id="button.add-account" defaultMessage="Add account" />