feat: reformat frontend alert texts with correct i18n (#1341)

* fix: add i18

* fix: standard prompt message
This commit is contained in:
Yaodong Yu
2022-12-02 00:06:28 +08:00
committed by GitHub
parent fcda64ad7d
commit 9f3ee275a8
51 changed files with 484 additions and 353 deletions

View File

@ -61,10 +61,7 @@ class ForgetPage extends React.Component {
if (this.state.applicationName !== undefined) {
this.getApplication();
} else {
Util.showMessage(
"error",
i18next.t("forget:Unknown forget type: ") + this.state.type
);
Setting.showMessage("error", i18next.t("forget:Unknown forget type: ") + this.state.type);
}
}