Fix broken error messages

This commit is contained in:
Yang Luo
2024-02-27 22:48:33 +08:00
parent b0d87f60ae
commit 4d9c81ef96
5 changed files with 5 additions and 5 deletions

View File

@ -91,7 +91,7 @@ class PermissionListPage extends BaseListPage {
const {pagination} = this.state;
this.fetch({pagination});
} else {
Setting.showMessage("error", `Users failed to upload: ${res.msg}`);
Setting.showMessage("error", `${i18next.t("general:Failed to sync")}: ${res.msg}`);
}
} else if (status === "error") {
Setting.showMessage("error", "File failed to upload");