mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
also add a link for removals
This commit is contained in:
parent
3250e25aa0
commit
610a8cfabf
@ -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);
|
||||
|
||||
|
@ -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}'.",
|
||||
|
Loading…
Reference in New Issue
Block a user