feat(mobile-client): update the text of the preview button (#3189)

This commit is contained in:
Dunqing 2023-12-17 11:17:18 +08:00 committed by GitHub
parent f82b4d8726
commit 1cbdfa4f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ const SCDocumentation = () => {
return ( return (
<div className={styles}> <div className={styles}>
<div className="open-tab"> <div className="open-tab">
<Tooltip title="open in new tab"> <Tooltip title="Preview">
<a href={DOCUMENTATION_PATH} target="_blank" rel="noreferrer"> <a href={DOCUMENTATION_PATH} target="_blank" rel="noreferrer">
<Button size="small" icon={<RightOutlined />} /> <Button size="small" icon={<RightOutlined />} />
</a> </a>

View File

@ -26,7 +26,7 @@ export const OpenInNewTab = () => {
`} `}
> >
<Button type="dashed" onClick={onOpenInNewTab} icon={<LinkOutlined />}> <Button type="dashed" onClick={onOpenInNewTab} icon={<LinkOutlined />}>
{t('Open in new tab')} {t('Preview')}
</Button> </Button>
</div> </div>
); );

View File

@ -28,5 +28,5 @@
"Delete menu block": "Delete menu block", "Delete menu block": "Delete menu block",
"Mobile client access address": "Mobile client access address", "Mobile client access address": "Mobile client access address",
"The full address is": "The full address is", "The full address is": "The full address is",
"Open in new tab": "Open in new tab" "Preview": "Preview"
} }

View File

@ -28,5 +28,5 @@
"Delete menu block": "删除菜单区块", "Delete menu block": "删除菜单区块",
"Mobile client access address": "移动端访问地址", "Mobile client access address": "移动端访问地址",
"The full address is": "完整的地址是", "The full address is": "完整的地址是",
"Open in new tab": "在新标签页打开" "Preview": "预览"
} }