Fix i18n issue

This commit is contained in:
Gucheng Wang
2023-03-18 19:05:58 +08:00
parent 31e4813df9
commit 3dec2fdc18
11 changed files with 29 additions and 29 deletions

View File

@ -48,7 +48,7 @@ export const PasswordModal = (props) => {
UserBackend.setPassword(user.owner, user.name, oldPassword, newPassword).then((res) => {
setConfirmLoading(false);
if (res.status === "ok") {
Setting.showMessage("success", i18next.t("user:Password Set"));
Setting.showMessage("success", i18next.t("user:Password set successfully"));
setVisible(false);
} else {Setting.showMessage("error", i18next.t(`user:${res.msg}`));}
});