Improve user page i18n.

This commit is contained in:
Yang Luo
2021-04-27 18:08:21 +08:00
parent 5326cafbed
commit f0ffacb6a5
5 changed files with 29 additions and 16 deletions

View File

@ -244,7 +244,7 @@ class UserEditPage extends React.Component {
</Col>
</Row>
<Row style={{marginTop: '20px'}}>
<CropperDiv buttonText={"Upload a phone..."} title={"Crop your new profile picture"} targetFunction={UserBackend.uploadAvatar} />
<CropperDiv buttonText={i18next.t("user:Upload a photo...")} title={i18next.t("user:Upload a photo")} targetFunction={UserBackend.uploadAvatar} />
</Row>
</Col>
</Row>