1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 16:16:39 +02:00

Fix a ton of typos.

This commit is contained in:
Peter Powell
2015-07-08 10:55:44 +01:00
parent 4362f53cc3
commit 1666b1a8d8
48 changed files with 79 additions and 79 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ const char *Language::Translate(const char *lang, const char *string)
SetThreadLocale(MAKELCID(MAKELANGID(WindowsGetLanguage(lang), SUBLANG_DEFAULT), SORT_DEFAULT));
#else
/* First, set LANG and LANGUAGE env variables.
* Some systems (Debian) don't care about this, so we must setlocale LC_ALL aswell.
* Some systems (Debian) don't care about this, so we must setlocale LC_ALL as well.
* BUT if this call fails because the LANGUAGE env variable is set, setlocale resets
* the locale to "C", which short circuits gettext and causes it to fail on systems that
* use the LANGUAGE env variable. We must reset the locale to en_US (or, anything not