mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
fix(i18n): missing translations for "About" and wrong place for language setting
This commit is contained in:
parent
d26b69fc93
commit
2bf915a33d
|
|
@ -479,6 +479,9 @@
|
|||
"connectByiOS": "Connect to <0>{{title}}</0> through iOS devices.",
|
||||
"downloadOurApp": "Download our iOS App:",
|
||||
"fillInEndpoint": "Enter \"{{url}}\" as the \"Endpoint\";",
|
||||
"loginApp": "Sign in using your Email and password."
|
||||
"loginApp": "Sign in using your Email and password.",
|
||||
"aboutCloudreve": "About Cloudreve",
|
||||
"githubRepo": "GitHub Repository",
|
||||
"homepage": "Homepage"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -479,6 +479,9 @@
|
|||
"connectByiOS": "通过 iOS 设备连接到 <0>{{title}}</0>",
|
||||
"downloadOurApp": "下载并安装我们的 iOS 应用:",
|
||||
"fillInEndpoint": "在 “站点地址” 中填入 “{{url}}”;",
|
||||
"loginApp": "输入您的用户名及密码完成登录。"
|
||||
"loginApp": "输入您的用户名及密码完成登录。",
|
||||
"aboutCloudreve": "关于 Cloudreve",
|
||||
"githubRepo": "GitHub 仓库",
|
||||
"homepage": "主页"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -949,6 +949,24 @@ class UserSettingCompoment extends Component {
|
|||
/>
|
||||
</ListItemSecondaryAction>
|
||||
</ListItem>
|
||||
<Divider />
|
||||
<ListItem
|
||||
onClick={() => this.props.selectLanguage()}
|
||||
button
|
||||
>
|
||||
<ListItemIcon className={classes.iconFix}>
|
||||
<Translate />
|
||||
</ListItemIcon>
|
||||
<ListItemText primary={t("setting.language")} />
|
||||
|
||||
<ListItemSecondaryAction
|
||||
className={classes.flexContainer}
|
||||
>
|
||||
<RightIcon
|
||||
className={classes.rightIconWithText}
|
||||
/>
|
||||
</ListItemSecondaryAction>
|
||||
</ListItem>
|
||||
</List>
|
||||
</Paper>
|
||||
{user.group.webdav && (
|
||||
|
|
@ -1045,7 +1063,7 @@ class UserSettingCompoment extends Component {
|
|||
className={classes.sectionTitle}
|
||||
variant="subtitle2"
|
||||
>
|
||||
关于 Cloudreve
|
||||
{t("setting.aboutCloudreve")}
|
||||
</Typography>
|
||||
<Paper>
|
||||
<List className={classes.desenList}>
|
||||
|
|
@ -1060,7 +1078,7 @@ class UserSettingCompoment extends Component {
|
|||
<ListItemIcon className={classes.iconFix}>
|
||||
<GitHub />
|
||||
</ListItemIcon>
|
||||
<ListItemText primary="GitHub 仓库" />
|
||||
<ListItemText primary={t("setting.githubRepo")} />
|
||||
|
||||
<ListItemSecondaryAction
|
||||
className={classes.flexContainer}
|
||||
|
|
@ -1080,25 +1098,7 @@ class UserSettingCompoment extends Component {
|
|||
<ListItemIcon className={classes.iconFix}>
|
||||
<Home />
|
||||
</ListItemIcon>
|
||||
<ListItemText primary="主页" />
|
||||
|
||||
<ListItemSecondaryAction
|
||||
className={classes.flexContainer}
|
||||
>
|
||||
<RightIcon
|
||||
className={classes.rightIconWithText}
|
||||
/>
|
||||
</ListItemSecondaryAction>
|
||||
</ListItem>
|
||||
<Divider />
|
||||
<ListItem
|
||||
onClick={() => this.props.selectLanguage()}
|
||||
button
|
||||
>
|
||||
<ListItemIcon className={classes.iconFix}>
|
||||
<Translate />
|
||||
</ListItemIcon>
|
||||
<ListItemText primary={t("setting.language")} />
|
||||
<ListItemText primary={t("setting.homepage")} />
|
||||
|
||||
<ListItemSecondaryAction
|
||||
className={classes.flexContainer}
|
||||
|
|
|
|||
Loading…
Reference in New Issue