diff --git a/modules/project/config.json b/modules/project/config.json index 0725dea..78aa0e3 100644 --- a/modules/project/config.json +++ b/modules/project/config.json @@ -1,3 +1,13 @@ { - "dependencies": ["web", "quotes", "github"] + "dependencies": ["web", "quotes", "github"], + "string_exceptions": [ + "rdns", + "imgurinfo", + "xkcd", + "link", + "log_message", + "poll_describe", + "branch", + "oaosidl" + ] } diff --git a/modules/project/project.js b/modules/project/project.js index 5bb291e..417e98d 100644 --- a/modules/project/project.js +++ b/modules/project/project.js @@ -44,7 +44,10 @@ var project = function(dbot) { }, 'translationProgress' : function(callback){ var translation = [] ; - var str = _.values(dbot.strings); + var str = _.filter(dbot.strings, function(strings, key) { + return _.include(this.config.string_exceptions, key) != true; + }, this); + str = _.values(str); for (var i = 0; i < str.length; i++){ var cur = _.keys(str[i]); for (var j = 0; j < cur.length; j++) {