3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00

imgur info string [#462]

This commit is contained in:
reality 2013-05-23 12:15:25 +00:00
parent 27ace10fe9
commit 06c14d4fc5
2 changed files with 4 additions and 1 deletions

View File

@ -111,7 +111,7 @@ var imgur = function(dbot) {
if(matches[1]) {
this.api.getImageInfo(matches[1], function(imgData) {
var info = this.internalAPI.infoString(imgData);
if(info) event.reply('[' + info + ']');
if(info) event.reply(dbot.t('imgurinfo', { 'info': info });
}.bind(this));
}
}.bind(this);

View File

@ -3,5 +3,8 @@
"en": "might be NSFW",
"na'vi": "kxawm ke wivìntxu evengur",
"nl": "bevat mogelijk gevoelige beelden"
},
"imgurinfo": {
"en": "[{info}]"
}
}