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

also add a link for removals

This commit is contained in:
reality 2014-06-19 15:44:31 +00:00
parent 3250e25aa0
commit 610a8cfabf
2 changed files with 12 additions and 10 deletions

View File

@ -105,7 +105,8 @@ var commands = function(dbot) {
this.internalAPI.resetRemoveTimer(event, key, removedQuote);
event.reply(dbot.t('removed_from', {
'quote': removedQuote,
'category': key
'category': key,
'link': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key))
}));
}.bind(this);
@ -138,7 +139,8 @@ var commands = function(dbot) {
this.internalAPI.resetRemoveTimer(event, key, quote);
event.reply(dbot.t('removed_from', {
'category': key,
'quote': quote
'quote': quote,
'link': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key))
}));
}.bind(this);

View File

@ -90,14 +90,14 @@
"it": "Smettila di scoglionare con spam. Ripprova tra qualche minuto..."
},
"removed_from": {
"en": "'{quote}' removed from {category}",
"es": "'{quote}' quitado de {category}",
"na'vi": "'{quote}'(it/ti) 'ìyaku {category}",
"cy": "'{quote}' wedi ei ddileu o {category}",
"nl": "{quote} verwijderd uit {category}",
"de": "'{quote} aus {category} gelöscht",
"fr": "'{quote}' enlevé(e) {category}",
"it": "'{quote}' rimossa da {category}"
"en": "'{quote}' removed from {category} - {link}",
"es": "'{quote}' quitado de {category} - {link}",
"na'vi": "'{quote}'(it/ti) 'ìyaku {category} - {link}",
"cy": "'{quote}' wedi ei ddileu o {category} - {link}",
"nl": "{quote} verwijderd uit {category} - {link}",
"de": "'{quote} aus {category} gelöscht - {link}",
"fr": "'{quote}' enlevé(e) {category} - {link}",
"it": "'{quote}' rimossa da {category} - {link}"
},
"q_not_exist_under": {
"en": "'{quote}' doesn't exist under '{category}'.",