i18n: Translate deactivation errors in the webapp.

This commit is contained in:
Steve Howell
2017-11-04 07:42:38 -07:00
committed by Tim Abbott
parent aa61db9301
commit 2b6fee3c53
3 changed files with 4 additions and 4 deletions

View File

@@ -243,7 +243,7 @@ exports.on_load_success = function (realm_people_data) {
if ($("#deactivation_user_modal .email").html() !== email) {
blueslip.error("User deactivation canceled due to non-matching fields.");
ui_report.message("Deactivation encountered an error. Please reload and try again.",
ui_report.message(i18n.t("Deactivation encountered an error. Please reload and try again."),
$("#home-error"), 'alert-error');
}
$("#deactivation_user_modal").modal("hide");