mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 21:44:27 +00:00
feat(webui): integrate i18n into folder-tree component and add missing translation keys
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
} from '@/ui/components/ui/icons'
|
||||
import { usePermissions } from '@/ui/hooks/use-permissions'
|
||||
import { cn } from '@/ui/lib/utils'
|
||||
import { m } from '@/ui/paraglide/messages.js'
|
||||
import type { AncestorFolder } from '@shumai/dtos'
|
||||
import { Link, useNavigate } from '@tanstack/react-router'
|
||||
import { Check, ChevronDown, FileIcon, History, LayoutGrid, List } from 'lucide-react'
|
||||
@@ -97,7 +98,7 @@ export function BreadcrumbNav({
|
||||
})),
|
||||
]
|
||||
: [
|
||||
{ name: 'All Projects', path: `/teams/${teamId}`, isMuted: true },
|
||||
{ name: m.all_projects(), path: `/teams/${teamId}`, isMuted: true },
|
||||
{ name: projectName, path: `/projects/${projectId}` },
|
||||
...ancestorFolders
|
||||
.slice()
|
||||
|
||||
Reference in New Issue
Block a user