This commit is contained in:
reality 2013-05-21 17:47:02 +00:00
commit 77eec1e07f
3 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,6 @@
{
"autoTitle": true,
"dependencies": [ "command" ],
"ignorable": true
"ignorable": true,
"outputPrefix": "\u00034link\u000f",
"help": "http://github.com/reality/depressionbot/blob/master/modules/link/README.md"
}

View File

@ -53,7 +53,7 @@ var link = function(dbot) {
}
}
this.api.getTitle(link, function(title) {
event.reply(title);
event.reply(dbot.t('link', { 'link': title} ));
});
},

View File

@ -11,5 +11,8 @@
"en": "No hits.",
"na'vi": "Oel ke tsun rivum ayuoti.",
"nl": "Geen resultaten."
},
"link": {
"en": "{link}"
}
}