fix: missing words

This commit is contained in:
2024-04-29 10:54:06 +01:00
parent a591a3c176
commit 76a561624c

View File

@ -30,18 +30,18 @@ const SettingsIndex = () => {
const settingsGroups = [ const settingsGroups = [
{ {
title: <FormattedMessage />, title: <FormattedMessage defaultMessage="Account" />,
items: [ items: [
{ {
icon: "profile", icon: "profile",
iconBg: "bg-green-500", iconBg: "bg-green-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Profile" />,
path: "profile", path: "profile",
}, },
{ {
icon: "key", icon: "key",
iconBg: "bg-amber-500", iconBg: "bg-amber-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Export Keys" />,
path: "keys", path: "keys",
}, },
...(CONFIG.features.nostrAddress ...(CONFIG.features.nostrAddress
@ -49,7 +49,7 @@ const SettingsIndex = () => {
{ {
icon: "badge", icon: "badge",
iconBg: "bg-pink-500", iconBg: "bg-pink-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Nostr Address" />,
path: "handle", path: "handle",
}, },
] ]
@ -57,13 +57,13 @@ const SettingsIndex = () => {
{ {
icon: "gear", icon: "gear",
iconBg: "bg-slate-500", iconBg: "bg-slate-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Preferences" />,
path: "preferences", path: "preferences",
}, },
{ {
icon: "wallet", icon: "wallet",
iconBg: "bg-emerald-500", iconBg: "bg-emerald-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Wallet" />,
path: "wallet", path: "wallet",
}, },
...(sub ...(sub
@ -71,7 +71,7 @@ const SettingsIndex = () => {
{ {
icon: "code-circle", icon: "code-circle",
iconBg: "bg-indigo-500", iconBg: "bg-indigo-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Accounts" />,
path: "accounts", path: "accounts",
}, },
] ]
@ -85,18 +85,18 @@ const SettingsIndex = () => {
], ],
}, },
{ {
title: <FormattedMessage />, title: <FormattedMessage defaultMessage="Interaction" />,
items: [ items: [
{ {
icon: "relay", icon: "relay",
iconBg: "bg-dark bg-opacity-20", iconBg: "bg-dark bg-opacity-20",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Relays" />,
path: "relays", path: "relays",
}, },
{ {
icon: "shield-tick", icon: "shield-tick",
iconBg: "bg-yellow-500", iconBg: "bg-yellow-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Moderation" />,
path: "moderation", path: "moderation",
}, },
...(CONFIG.features.pushNotifications ...(CONFIG.features.pushNotifications
@ -104,7 +104,7 @@ const SettingsIndex = () => {
{ {
icon: "bell-outline", icon: "bell-outline",
iconBg: "bg-red-500", iconBg: "bg-red-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Notifications" />,
path: "notifications", path: "notifications",
}, },
] ]
@ -114,7 +114,7 @@ const SettingsIndex = () => {
{ {
icon: "link", icon: "link",
iconBg: "bg-blue-500", iconBg: "bg-blue-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Invite" />,
path: "invite", path: "invite",
}, },
] ]
@ -122,18 +122,18 @@ const SettingsIndex = () => {
{ {
icon: "hard-drive", icon: "hard-drive",
iconBg: "bg-cyan-500", iconBg: "bg-cyan-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Cache" />,
path: "cache", path: "cache",
}, },
], ],
}, },
{ {
title: <FormattedMessage />, title: <FormattedMessage defaultMessage="Support" />,
items: [ items: [
{ {
icon: "heart", icon: "heart",
iconBg: "bg-purple-500", iconBg: "bg-purple-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Donate" />,
path: "/donate", path: "/donate",
}, },
...(CONFIG.features.subscriptions ...(CONFIG.features.subscriptions
@ -141,7 +141,7 @@ const SettingsIndex = () => {
{ {
icon: "diamond", icon: "diamond",
iconBg: "bg-violet-500", iconBg: "bg-violet-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Subscription" />,
path: "/subscribe/manage", path: "/subscribe/manage",
}, },
] ]
@ -151,7 +151,7 @@ const SettingsIndex = () => {
{ {
icon: "piggy-bank", icon: "piggy-bank",
iconBg: "bg-rose-500", iconBg: "bg-rose-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Zap Pool" />,
path: "/zap-pool", path: "/zap-pool",
}, },
] ]
@ -159,12 +159,12 @@ const SettingsIndex = () => {
], ],
}, },
{ {
title: <FormattedMessage />, title: <FormattedMessage defaultMessage="Log Out" />,
items: [ items: [
{ {
icon: "logout", icon: "logout",
iconBg: "bg-red-500", iconBg: "bg-red-500",
message: <FormattedMessage />, message: <FormattedMessage defaultMessage="Log Out" />,
action: handleLogout, action: handleLogout,
}, },
], ],