Skip to content

Commit 5ba5ff5

Browse files
committed
add: version 页面汉化
1 parent afbf0d3 commit 5ba5ff5

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

src/components/modals/version.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,30 +54,28 @@ export function VersionModal({ opened, close }: ModalState) {
5454

5555
return (
5656
<HkModal opened={opened} onClose={close} size="lg" centered p="lg">
57-
<Title order={2} mb="lg">TrguiNG</Title>
57+
<Title order={2} mb="lg">TrguiNG - 中文版</Title>
5858
<Text>
59-
Remote interface for&nbsp;
60-
<Anchor href="https://transmissionbt.com/" target="_blank" rel="noreferrer">Transmission</Anchor>
61-
&nbsp;torrent daemon
59+
<Anchor href="https://transmissionbt.com/" target="_blank" rel="noreferrer">Transmission</Anchor> WebUI
6260
</Text>
6361
<Divider px="sm" my="xl" />
6462
<Flex gap="md" align="center">
6563
<AppLogo style={{ flexShrink: 0 }} />
6664
<Grid>
67-
<Grid.Col span={4}>Version</Grid.Col>
65+
<Grid.Col span={3}>版本</Grid.Col>
6866
<Grid.Col span={8}>{appVersion.gitVersion}</Grid.Col>
69-
<Grid.Col span={4}>Frontend</Grid.Col>
67+
<Grid.Col span={3}>前端</Grid.Col>
7068
<Grid.Col span={8}>{frontend}</Grid.Col>
71-
<Grid.Col span={4}>Build date</Grid.Col>
69+
<Grid.Col span={3}>日期</Grid.Col>
7270
<Grid.Col span={8}>{new Date(appVersion.buildDate).toLocaleString()}</Grid.Col>
73-
<Grid.Col span={4}>Source code</Grid.Col>
74-
<Grid.Col span={8}><Box component="span" mr="sm"><Github /></Box><Anchor href="https://github.com/openscopeproject/trguing/" target="_blank" rel="noreferrer">github</Anchor></Grid.Col>
71+
<Grid.Col span={3}>源码</Grid.Col>
72+
<Grid.Col span={8}><Box component="span" mr="sm"><Github /></Box><Anchor href="https://github.com/jayzcoder/TrguiNG" target="_blank" rel="noreferrer">Github</Anchor></Grid.Col>
7573
<Grid.Col mt="xl">{TAURI && <Anchor href="https://db-ip.com" target="_blank" rel="noreferrer">IP Geolocation by DB-IP</Anchor>}</Grid.Col>
7674
</Grid>
7775
</Flex>
7876
<Divider px="sm" my="xl" />
7977
<Text align="center">
80-
powered by
78+
Powered by
8179
</Text>
8280
<Flex justify="center">
8381
<Anchor href="https://react.dev/" target="_blank" rel="noreferrer"><ReactLogo /></Anchor>

0 commit comments

Comments
 (0)