diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6169a7cbc4a..391df69cabe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -54,6 +54,7 @@ Some simple rules, that will make it easier to maintain our codebase: * A space before function parameters, such as: `function boom (name, callback) { }`, this makes searching for calls easier * Name your callback functions, such as `boom('the name', function afterBoom ( result ) { }` * Don't include author names in the header of your files, if you need to give credit to someone else do it in the commit comment. +* Use single quotes. * Use the comma first style, for example: ```javascript diff --git a/env.js b/env.js index 9d1388b6435..b5decbaa31f 100644 --- a/env.js +++ b/env.js @@ -81,7 +81,7 @@ function setVersion() { } function setMongo() { - env.mongo = readENV('MONGO_CONNECTION') || readENV('MONGO') || readENV('MONGOLAB_URI'); + env.mongo = readENV('MONGO_CONNECTION') || readENV('MONGO') || readENV('MONGOLAB_URI') || readENV('MONGODB_URI'); env.mongo_collection = readENV('MONGO_COLLECTION', 'entries'); env.MQTT_MONITOR = readENV('MQTT_MONITOR', null); if (env.MQTT_MONITOR) { diff --git a/lib/language.js b/lib/language.js index 1a73feba5fb..e8e8f15c898 100644 --- a/lib/language.js +++ b/lib/language.js @@ -18,6 +18,7 @@ function init() { , { code: 'he', language: 'עברית' } , { code: 'hr', language: 'Hrvatski' } , { code: 'it', language: 'Italiano' } + , { code: 'nl', language: 'Nederlands' } , { code: 'nb', language: 'Norsk (Bokmål)' } , { code: 'pl', language: 'Polski' } , { code: 'pt', language: 'Português (Brasil)' }