Committer: vvasin
LJSUP-13431: Antispam for edited entries in the communities. Fix ml variables.U trunk/htdocs/js/rte.js
Modified: trunk/htdocs/js/rte.js =================================================================== --- trunk/htdocs/js/rte.js 2012-09-28 14:26:12 UTC (rev 23013) +++ trunk/htdocs/js/rte.js 2012-09-28 14:33:25 UTC (rev 23014) @@ -300,15 +300,15 @@ $(function (){ // restore entry (if it's on moderation) if (LJ.pageVar('entry_restore')) { - LJ.dialogs.confirm( this._ml('antispamConfirmText'), { + LJ.dialogs.confirm( LJ.ml('dialog.confirm.antispam.text'), { yes: { - text: this._ml('antispamConfirmYes'), + text: LJ.ml('dialog.confirm.antispam.yes'), action: function () { window.location.href = LJ.pageVar('entry_restore'); } }, no: { - text: this._ml('antispamConfirmNo') + text: LJ.ml('dialog.confirm.antispam.no') } }); }