diff --git a/airtime_mvc/public/js/airtime/user/user.js b/airtime_mvc/public/js/airtime/user/user.js index 7a7480062..fbaee2d17 100644 --- a/airtime_mvc/public/js/airtime/user/user.js +++ b/airtime_mvc/public/js/airtime/user/user.js @@ -60,7 +60,7 @@ function rowCallback( nRow, aData, iDisplayIndex ){ if( aData['delete'] != "self"){ $('td:eq(4)', nRow).append( '').children('span').click(function(e){e.stopPropagation(); removeUserCallback(aData['id'], nRow)}); }else{ - $('td:eq(4)', nRow).empty().append( '').children('span').click(function(e){e.stopPropagation(); alert("Can't delete yourself!")}); + $('td:eq(4)', nRow).empty().append( '').children('span').click(function(e){e.stopPropagation(); alert($.i18n._("Can't delete yourself!"))}); } if ( aData['type'] == "A" )