diff --git a/packages/locales/lib/human/en.json b/packages/locales/lib/human/en.json index 6c8d59265..edfd5aa83 100644 --- a/packages/locales/lib/human/en.json +++ b/packages/locales/lib/human/en.json @@ -672,5 +672,5 @@ "fast": "Fast", "charged": "Charged", "offline_mode": "Offline Mode", - "disable": "Disable {{name}}" -} + "disable": "Disable {{- name}}" +} \ No newline at end of file diff --git a/src/components/layout/drawer/BoolToggle.jsx b/src/components/layout/drawer/BoolToggle.jsx index c7db8b733..8dc2e9d6c 100644 --- a/src/components/layout/drawer/BoolToggle.jsx +++ b/src/components/layout/drawer/BoolToggle.jsx @@ -40,11 +40,9 @@ export default function BoolToggle({ return ( {children} - + + {t(label, fromSnakeCase(label)) ?? t(field, fromSnakeCase(field))} +