diff --git a/modules/report/report.js b/modules/report/report.js index d13a21f..e126353 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -136,7 +136,12 @@ var report = function(dbot) { dbot.api.users.resolveUser(event.server, nick, function(reportee) { if(_.has(event.allChannels, channelName)) { if(reportee) { - this.api.notify('report', event.server, event.rUser, channelName, reason); + this.api.notify('report', event.server, event.rUser, + channelName, dbot.t('report', { + 'reporter': event.rUser.primaryNick, + 'reportee': nick, + 'reason': reason + })); event.reply(dbot.t('reported', { 'reported': nick })); } else { event.reply(dbot.t('user_not_found', { diff --git a/modules/report/strings.json b/modules/report/strings.json index 2b29a27..529b564 100644 --- a/modules/report/strings.json +++ b/modules/report/strings.json @@ -1,6 +1,6 @@ { "report": { - "en": "[{type}][{channel}][{reporter} -> {reported}] \"{reason}\"", + "en": "{reporter} has reported {reportee} for \"{reason}\"", "na'vi": "{reporter}ìl fpìl futa {reported} fe' lu taluna {reason}.", "cy": "Sylw! {reporter} wedi adrodd {reported} yn {channel}. Y rheswm a rhoddwyd oedd: \"{reason}\"", "nl": "Waarschuwing: {reporter} heeft {reported} aangegeven in {channel}. De reden die gegeven werd was: \"{reason}\"",