mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
add link output to qadd
This commit is contained in:
parent
ad0133b948
commit
3250e25aa0
@ -16,7 +16,8 @@ var commands = function(dbot) {
|
||||
dbot.api.event.emit('~qadd', [ key, quote ]);
|
||||
event.reply(dbot.t('quote_saved', {
|
||||
'category': key,
|
||||
'count': newCount
|
||||
'count': newCount,
|
||||
'link': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key))
|
||||
}));
|
||||
} else {
|
||||
event.reply(dbot.t('quote_exists'));
|
||||
|
@ -130,14 +130,14 @@
|
||||
"it": "La citazone esiste già nella base dei data. Iniziare l' incenerimento"
|
||||
},
|
||||
"quote_saved": {
|
||||
"en": "Quote saved in '{category}' ({count}).",
|
||||
"es": "Cita guardada en '{category}' ({count}).",
|
||||
"na'vi": "Oe zayerok '{category}'mì ({count}).",
|
||||
"cy": "Dyfyniad wedi ei gadw yn '{category}' ({count}).",
|
||||
"nl": "Quote opgeslagen in '{category}' ({count}).",
|
||||
"de": "Zitat in '{category}' gespeichert ({count}).",
|
||||
"fr": "Citation sauvegardée dans '{category}' ({count}).",
|
||||
"it": "Citazione memorizzata in '{category}' ({count})."
|
||||
"en": "Quote saved in '{category}' ({count}) - {link}",
|
||||
"es": "Cita guardada en '{category}' ({count}) - {link}",
|
||||
"na'vi": "Oe zayerok '{category}'mì ({count}) - {link}",
|
||||
"cy": "Dyfyniad wedi ei gadw yn '{category}' ({count}) - {link}",
|
||||
"nl": "Quote opgeslagen in '{category}' ({count}) - {link}",
|
||||
"de": "Zitat in '{category}' gespeichert ({count}) - {link}",
|
||||
"fr": "Citation sauvegardée dans '{category}' ({count}) - {link}",
|
||||
"it": "Citazione memorizzata in '{category}' ({count}) - {link}"
|
||||
},
|
||||
"quote_replace": {
|
||||
"en": "No replacing arrays, you whore.",
|
||||
|
Loading…
Reference in New Issue
Block a user