summaryrefslogtreecommitdiffstats
path: root/tdecore/klocale.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:33:18 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:33:18 -0600
commit691a81483430c4b7b4433d45381e8d32b6d56909 (patch)
tree7a5fffa1e5567e01064da713ed5d6ec5ff228a9d /tdecore/klocale.cpp
parent116a6f5778c33b337c2f4cd04d9216c41d4ef8d5 (diff)
downloadtdelibs-691a81483430c4b7b4433d45381e8d32b6d56909.tar.gz
tdelibs-691a81483430c4b7b4433d45381e8d32b6d56909.zip
Rename straggling environment variables KDE->TDE.
Diffstat (limited to 'tdecore/klocale.cpp')
-rw-r--r--tdecore/klocale.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/klocale.cpp b/tdecore/klocale.cpp
index 90bf27d66..c4ae52b19 100644
--- a/tdecore/klocale.cpp
+++ b/tdecore/klocale.cpp
@@ -156,7 +156,7 @@ void KLocale::initLanguageList(KConfig * config, bool useEnv)
TQStringList languageList;
if ( useEnv )
languageList += TQStringList::split
- (':', TQFile::decodeName( ::getenv("KDE_LANG") ));
+ (':', TQFile::decodeName( ::getenv("TDE_LANG") ));
languageList += config->readListEntry("Language", ':');
@@ -2074,7 +2074,7 @@ void KLocale::initFileNameEncoding(KConfig *)
{
// If the following environment variable is set, assume all filenames
// are in UTF-8 regardless of the current C locale.
- d->utf8FileEncoding = getenv("KDE_UTF8_FILENAMES") != 0;
+ d->utf8FileEncoding = getenv("TDE_UTF8_FILENAMES") != 0;
if (d->utf8FileEncoding)
{
TQFile::setEncodingFunction(KLocale::encodeFileNameUTF8);