fix: add "sure to delete" to i18n (#1627)

* add "Sure to delete" to i18n(#1569)

* fix: add sure to delete to i18n
This commit is contained in:
陈温鹏
2023-03-07 22:38:48 +08:00
committed by GitHub
parent ff4af6bb4e
commit 7c4a6fea02
27 changed files with 27 additions and 18 deletions

View File

@ -246,7 +246,7 @@ class ResourceListPage extends BaseListPage {
<div>
{/* <Button style={{marginTop: '10px', marginBottom: '10px', marginRight: '10px'}} type="primary" onClick={() => this.props.history.push(`/resources/${record.name}`)}>{i18next.t("general:Edit")}</Button>*/}
<Popconfirm
title={`Sure to delete resource: ${record.name} ?`}
title={i18next.t("general:Sure to delete") + `: ${record.name} ?`}
onConfirm={() => this.deleteResource(index)}
okText={i18next.t("user:OK")}
cancelText={i18next.t("user:Cancel")}