Improve i18n

This commit is contained in:
Gucheng Wang
2022-06-16 21:21:03 +08:00
parent ee42fcac8e
commit ebe9889d58
8 changed files with 25 additions and 18 deletions

View File

@ -402,7 +402,7 @@ class ApplicationEditPage extends React.Component {
}}/>
<Upload maxCount={1} accept=".html" showUploadList={false}
beforeUpload={file => {return false}} onChange={info => {this.handleUpload(info)}}>
<Button icon={<UploadOutlined />} loading={this.state.uploading}>Click to Upload</Button>
<Button icon={<UploadOutlined />} loading={this.state.uploading}>{i18next.t("general:Click to Upload")}</Button>
</Upload>
</Col>
</Row>