chore: add i18n

This commit is contained in:
2025-04-24 16:14:16 +05:00
parent d6911626a7
commit dc1b74348f
5 changed files with 111 additions and 14 deletions

View File

@@ -2,8 +2,10 @@ import Header from '../components/Header';
import { useState } from 'react';
import ContentDrawer from '../components/ContentDrawer';
import UserCreate from '../components/UserCreate';
import { useTranslation } from 'react-i18next';
export default function AccountsPage() {
const { t } = useTranslation();
const [open, setOpen] = useState(false);
const showDrawer = () => setOpen(true);
@@ -12,7 +14,7 @@ export default function AccountsPage() {
return (
<>
<Header
title="Учетные записи"
title={t('accounts')}
additionalContent={
<img
src="./icons/header/add_2.svg"