feat(webui): add i18n text keys and translate one static text element per page for verification

This commit is contained in:
yiling
2026-06-26 11:24:32 +08:00
parent 6e2e5bdbc2
commit 4fd27ab147
14 changed files with 47 additions and 14 deletions
@@ -1,6 +1,7 @@
import { client } from '@/ui/api/client'
import { FileViewer } from '@/ui/components/file-viewer'
import { FileViewerLeftSidebar } from '@/ui/components/file-viewer-left-sidebar'
import { m } from '@/ui/src/paraglide/messages.js'
import { FileViewerRightSidebar } from '@/ui/components/file-viewer-right-sidebar'
import { ResizeHandle } from '@/ui/components/resize-handle'
import { FileDetailSkeleton } from '@/ui/components/loading-skeletons'
@@ -268,7 +269,7 @@ function FileViewPage() {
}
if (isError || !fileData || !projectInfo || !teamId) {
return <div>File not found.</div>
return <div>{m.file_not_found()}</div>
}
const handleSaveField = (fieldId: string, value: unknown) => {