mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-03 06:24:30 +00:00
feat(webui): add i18n text keys and translate one static text element per page for verification
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user