mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
🐛 Missing translation for users meta title
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"title": "Manage users",
|
"metaTitle": "Users",
|
||||||
|
"pageTitle": "Manage users",
|
||||||
"text": "Using users, you have granular control who can access, edit or delete resources on your Homarr instance.",
|
"text": "Using users, you have granular control who can access, edit or delete resources on your Homarr instance.",
|
||||||
"buttons": {
|
"buttons": {
|
||||||
"create": "Create"
|
"create": "Create"
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import {
|
|||||||
Title,
|
Title,
|
||||||
} from '@mantine/core';
|
} from '@mantine/core';
|
||||||
import { useDebouncedValue } from '@mantine/hooks';
|
import { useDebouncedValue } from '@mantine/hooks';
|
||||||
import { openContextModal } from '@mantine/modals';
|
|
||||||
import { IconPlus, IconTrash } from '@tabler/icons-react';
|
import { IconPlus, IconTrash } from '@tabler/icons-react';
|
||||||
import { GetServerSideProps } from 'next';
|
import { GetServerSideProps } from 'next';
|
||||||
import { useTranslation } from 'next-i18next';
|
import { useTranslation } from 'next-i18next';
|
||||||
@@ -37,13 +36,15 @@ const ManageUsersPage = () => {
|
|||||||
|
|
||||||
const { t } = useTranslation('manage/users');
|
const { t } = useTranslation('manage/users');
|
||||||
|
|
||||||
|
const metaTitle = `${t('metaTitle')} • Homarr`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ManageLayout>
|
<ManageLayout>
|
||||||
<Head>
|
<Head>
|
||||||
<title>Users • Homarr</title>
|
<title>{metaTitle}</title>
|
||||||
</Head>
|
</Head>
|
||||||
|
|
||||||
<Title mb="md">{t('title')}</Title>
|
<Title mb="md">{t('pageTitle')}</Title>
|
||||||
<Text mb="xl">{t('text')}</Text>
|
<Text mb="xl">{t('text')}</Text>
|
||||||
|
|
||||||
<Flex columnGap={10} justify="end" mb="md">
|
<Flex columnGap={10} justify="end" mb="md">
|
||||||
|
|||||||
Reference in New Issue
Block a user