From dd0560a4b8f38ac129a7d581df82bf99cf9b4109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 10 Jan 2016 22:27:56 +0200 Subject: [PATCH] closes #4043 --- public/src/admin/manage/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/admin/manage/users.js b/public/src/admin/manage/users.js index b59543d035..0baa3e3b96 100644 --- a/public/src/admin/manage/users.js +++ b/public/src/admin/manage/users.js @@ -208,7 +208,7 @@ define('admin/manage/users', ['admin/modules/selectable'], function(selectable) socket.emit('admin.user.createUser', user, function(err) { if(err) { - return errorEl.html('Error

' + err.message + '

').removeClass('hide'); + return errorEl.translateHtml('Error

' + err.message + '

').removeClass('hide'); } $('#create-modal').modal('hide'); $('#create-modal').on('hidden.bs.modal', function() {