From 1bfee6425d1c4dc3a31c09c5f47552108d9526b3 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Fri, 13 May 2022 12:34:27 +0200 Subject: [PATCH] Fixed translations (#2627) --- src/realm-settings/user-profile/AttributesGroupTab.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/realm-settings/user-profile/AttributesGroupTab.tsx b/src/realm-settings/user-profile/AttributesGroupTab.tsx index f61baba403..a23fcf41c3 100644 --- a/src/realm-settings/user-profile/AttributesGroupTab.tsx +++ b/src/realm-settings/user-profile/AttributesGroupTab.tsx @@ -18,7 +18,7 @@ import { useUserProfile } from "./UserProfileContext"; export const AttributesGroupTab = () => { const { config, save } = useUserProfile(); - const { t } = useTranslation(); + const { t } = useTranslation("attributes-group"); const history = useHistory(); const { realm } = useRealm(); const [key, setKey] = useState(0); @@ -75,7 +75,7 @@ export const AttributesGroupTab = () => { )} > - {t("attributes-group:createGroupText")} + {t("createGroupText")} } @@ -106,9 +106,9 @@ export const AttributesGroupTab = () => { ]} emptyState={ history.push(toNewAttributesGroup({ realm })) }