diff options
author | Adam <Adam@anope.org> | 2014-05-20 11:41:05 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-05-20 11:41:05 -0400 |
commit | 4034b3054aaff28da1db5545063cf8b3c2e8aa24 (patch) | |
tree | 0bb3100a6df2a97965eeea345c9395fcd446a692 /modules/commands/ns_set.cpp | |
parent | e5811586450a8818f46f7d668afbfbcb42c08037 (diff) |
Add English language file which users can edit to modify language strings
Diffstat (limited to 'modules/commands/ns_set.cpp')
-rw-r--r-- | modules/commands/ns_set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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")); |