Made some more keys translatable

This commit is contained in:
mrjvs 2023-12-21 20:47:38 +01:00
parent 82d2516951
commit 75af3b992d
4 changed files with 6 additions and 3 deletions

View File

@ -25,6 +25,7 @@
}, },
"generate": { "generate": {
"title": "Your passphrase", "title": "Your passphrase",
"passphraseFrameLabel": "Passphrase",
"next": "I have saved my passphrase", "next": "I have saved my passphrase",
"description": "Your passphrase acts as your username and password. Make sure to keep it safe as you will need to enter it to login to your account" "description": "Your passphrase acts as your username and password. Make sure to keep it safe as you will need to enter it to login to your account"
}, },

View File

@ -25,7 +25,9 @@ export function PassphraseDisplay(props: { mnemonic: string }) {
return ( return (
<div className="rounded-lg border border-authentication-border/50 "> <div className="rounded-lg border border-authentication-border/50 ">
<div className="px-4 py-2 flex justify-between border-b border-authentication-border/50"> <div className="px-4 py-2 flex justify-between border-b border-authentication-border/50">
<p className="font-bold text-sm text-white">Passphrase</p> <p className="font-bold text-sm text-white">
{t("auth.generate.passphraseFrameLabel")}
</p>
<button <button
type="button" type="button"
className="text-authentication-copyText hover:text-authentication-copyTextHover transition-colors flex gap-2 items-center cursor-pointer" className="text-authentication-copyText hover:text-authentication-copyTextHover transition-colors flex gap-2 items-center cursor-pointer"

View File

@ -196,7 +196,7 @@ export function SettingsPage() {
<SettingsLayout> <SettingsLayout>
<div id="settings-account"> <div id="settings-account">
<Heading1 border className="!mb-0"> <Heading1 border className="!mb-0">
Account {t("settings.account.title")}
</Heading1> </Heading1>
{user.account && state.profile.state ? ( {user.account && state.profile.state ? (
<AccountSettings <AccountSettings

View File

@ -122,7 +122,7 @@ export function SidebarPart() {
boundaryElement=".sidebar-boundary" boundaryElement=".sidebar-boundary"
> >
<div className="hidden lg:block"> <div className="hidden lg:block">
<SidebarSection title="Settings"> <SidebarSection title={t("global.pages.settings")}>
{settingLinks.map((v) => ( {settingLinks.map((v) => (
<SidebarLink <SidebarLink
icon={v.icon} icon={v.icon}