3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00

Changed english/spanish to en_GB/es.

This commit is contained in:
Joe MacMahon 2012-03-27 15:26:01 +01:00
parent 03e152cc2c
commit a656c59072
2 changed files with 3 additions and 3 deletions

2
run.js
View File

@ -52,7 +52,7 @@ var DBot = function(timers) {
this.port = this.config.port || 6667; this.port = this.config.port || 6667;
this.webPort = this.config.webPort || 443; this.webPort = this.config.webPort || 443;
this.moduleNames = this.config.modules || [ 'command', 'js', 'admin', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'web', 'youare' ]; 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.sessionData = {};
this.timers = timers.create(); this.timers = timers.create();

View File

@ -1,5 +1,5 @@
{ {
"english": { "en_GB": {
"syntax_error": "Invalid syntax. Initiate incineration.", "syntax_error": "Invalid syntax. Initiate incineration.",
"module_load_error": "Failed to load module: {moduleName}", "module_load_error": "Failed to load module: {moduleName}",
"category_not_found": "Nobody loves {category}", "category_not_found": "Nobody loves {category}",
@ -35,7 +35,7 @@
"spelling_self": "{correcter} meant: {fix}", "spelling_self": "{correcter} meant: {fix}",
"spelling_other": "{correcter} thinks {candidate} meant: {fix}" "spelling_other": "{correcter} thinks {candidate} meant: {fix}"
}, },
"spanish": { "es": {
"syntax_error": "Sintaxis no válida. Iniciar incineración.", "syntax_error": "Sintaxis no válida. Iniciar incineración.",
"module_load_error": "No se pudó cargar el módulo: {moduleName}", "module_load_error": "No se pudó cargar el módulo: {moduleName}",
"category_not_found": "Nadie ama a {category}", "category_not_found": "Nadie ama a {category}",