Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/components/settings/panels/NotificationsPanel.tsx

Steven Enamakel0ab55a7268fa
diff --git a/app/src/components/settings/panels/NotificationsPanel.tsx b/app/src/components/settings/panels/NotificationsPanel.tsx
index 6edacf42b8..e10272ec77 100644
--- a/app/src/components/settings/panels/NotificationsPanel.tsx
+++ b/app/src/components/settings/panels/NotificationsPanel.tsx
@@ -63,18 +63,22 @@ const NotificationsPanel = ({ embedded = false }: NotificationsPanelProps = {})
{CATEGORIES.map(cat => {
const enabled = preferences[cat.id];
const switchId = `switch-notif-${cat.id}`;
+ const title = t(cat.titleKey);
return (
<SettingsRow
key={cat.id}
htmlFor={switchId}
- label={cat.title}
- description={cat.description}
+ label={title}
+ description={t(cat.descKey)}
control={
<SettingsSwitch
id={switchId}
checked={enabled}
onCheckedChange={() => handleToggle(cat.id)}
- aria-label={`Toggle ${cat.title} notifications`}
+ aria-label={t('settings.notifications.categoryToggleAria').replace(
+ '{name}',
+ title
+ )}
/>
}
/>