From 4034b3054aaff28da1db5545063cf8b3c2e8aa24 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 20 May 2014 11:41:05 -0400 Subject: Add English language file which users can edit to modify language strings --- modules/commands/ns_set.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/ns_set.cpp') diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp index e8abf762f..f4ecd044b 100644 --- a/modules/commands/ns_set.cpp +++ b/modules/commands/ns_set.cpp @@ -794,7 +794,7 @@ class CommandNSSetLanguage : public Command if (MOD_RESULT == EVENT_STOP) return; - if (param != "en") + if (param != "en_US") for (unsigned j = 0; j < Language::Languages.size(); ++j) { if (Language::Languages[j] == param) @@ -826,7 +826,7 @@ class CommandNSSetLanguage : public Command "\037language\037 should be chosen from the following list of\n" "supported languages:")); - source.Reply(" en (English)"); + source.Reply(" en_US (English)"); for (unsigned j = 0; j < Language::Languages.size(); ++j) { const Anope::string &langname = Language::Translate(Language::Languages[j].c_str(), _("English")); -- cgit