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

@ -98,7 +98,7 @@ class SessionListPage extends BaseListPage {
return (
<div>
<Popconfirm
title={`Sure to delete session: ${record.name} ?`}
title={i18next.t("general:Sure to delete") + `: ${record.name} ?`}
onConfirm={() => this.deleteSession(index)}
>
<Button style={{marginBottom: "10px"}} type="primary" danger>{i18next.t("general:Delete")}</Button>