Fixed translations (#2627)
This commit is contained in:
parent
5a18c76d75
commit
1bfee6425d
1 changed files with 5 additions and 5 deletions
|
@ -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 = () => {
|
|||
<Link {...props} to={toNewAttributesGroup({ realm })} />
|
||||
)}
|
||||
>
|
||||
{t("attributes-group:createGroupText")}
|
||||
{t("createGroupText")}
|
||||
</Button>
|
||||
</ToolbarItem>
|
||||
}
|
||||
|
@ -106,9 +106,9 @@ export const AttributesGroupTab = () => {
|
|||
]}
|
||||
emptyState={
|
||||
<ListEmptyState
|
||||
message={t("attributes-group:emptyStateMessage")}
|
||||
instructions={t("attributes-group:emptyStateInstructions")}
|
||||
primaryActionText={t("attributes-group:createGroupText")}
|
||||
message={t("emptyStateMessage")}
|
||||
instructions={t("emptyStateInstructions")}
|
||||
primaryActionText={t("createGroupText")}
|
||||
onPrimaryAction={() =>
|
||||
history.push(toNewAttributesGroup({ realm }))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue