diff --git a/run.js b/run.js index 7588ad5..33b6e9a 100644 --- a/run.js +++ b/run.js @@ -52,7 +52,7 @@ var DBot = function(timers) { this.port = this.config.port || 6667; this.webPort = this.config.webPort || 443; this.moduleNames = this.config.modules || [ 'command', 'js', 'admin', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'web', 'youare' ]; - this.language = this.config.language || 'english'; + this.language = this.config.language || 'en_GB'; this.sessionData = {}; this.timers = timers.create(); diff --git a/strings.json b/strings.json index 745289f..33564ee 100644 --- a/strings.json +++ b/strings.json @@ -1,5 +1,5 @@ { - "english": { + "en_GB": { "syntax_error": "Invalid syntax. Initiate incineration.", "module_load_error": "Failed to load module: {moduleName}", "category_not_found": "Nobody loves {category}", @@ -35,7 +35,7 @@ "spelling_self": "{correcter} meant: {fix}", "spelling_other": "{correcter} thinks {candidate} meant: {fix}" }, - "spanish": { + "es": { "syntax_error": "Sintaxis no válida. Iniciar incineración.", "module_load_error": "No se pudó cargar el módulo: {moduleName}", "category_not_found": "Nadie ama a {category}",