feat(i18n): add Russian UI and harden localization

This commit is contained in:
Arthur Koba
2026-10-25 22:35:32 +03:00
parent 65a96670d5
commit b4e94076c9
115 changed files with 7767 additions and 993 deletions
+6 -1
View File
@@ -1,12 +1,17 @@
'use client';
import { useTranslations } from 'next-intl';
import { Loader2Icon } from 'lucide-react';
import { cn } from '@/lib/utils';
function Spinner({ className, ...props }: React.ComponentProps<'svg'>) {
const uiText = useTranslations('runtime');
return (
<Loader2Icon
role='status'
aria-label='Loading'
aria-label={uiText('ui_loadingLabel')}
className={cn('size-4 animate-spin', className)}
{...props}
/>