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]) { if(matches[1]) {
this.api.getImageInfo(matches[1], function(imgData) { this.api.getImageInfo(matches[1], function(imgData) {
var info = this.internalAPI.infoString(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));
} }
}.bind(this); }.bind(this);

View File

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