diff --git a/modules/reddit/reddit.js b/modules/reddit/reddit.js index 33ad8f7..cb4f056 100644 --- a/modules/reddit/reddit.js +++ b/modules/reddit/reddit.js @@ -58,7 +58,7 @@ var reddit = function(dbot) { this.api.getNewPosts(feed.subreddit, checkTimes[channel.id][feed.subreddit], function(err, posts) { if(!err && posts.length > 0) { _.each(posts, function(post) { - dbot.say(channel.server, channel.channel, dbot.t('about_post', { + dbot.say(channel.server, channel.channel, dbot.t('about_new_post', { 'title': _.unescape(post.title.trim()), 'poster': post.author, 'subreddit': post.subreddit, diff --git a/modules/reddit/strings.json b/modules/reddit/strings.json index 946630f..eb9179c 100644 --- a/modules/reddit/strings.json +++ b/modules/reddit/strings.json @@ -14,6 +14,9 @@ "it": "[Messaggio di {poster} su {subreddit} — Commenti: {comments}, Punteggio: {score} (\u00039▲{up}\u000f|\u000312{down}▼\u000f)] — {url}" }, + "about_new_post": { + "en": "[{title}] [Post by {poster} in {subreddit}] — {url}" + }, "about_comment": { "en": "[Comment by {poster} in {subreddit} — Score: {score} (\u00039▲{up}\u000f|\u000312{down}▼\u000f)]", "cy": "[Sylw gan {poster} yn {subreddit} - Sgôr: {score} (\u00039▲{up}\u000f|\u000312{down}▼\u000f)]",