From kde-commits Sun Sep 14 10:21:53 2003 From: Stephan Kulow Date: Sun, 14 Sep 2003 10:21:53 +0000 To: kde-commits Subject: kdelibs/kdoctools X-MARC-Message: https://marc.info/?l=kde-commits&m=106353494910179 CVS commit by coolo: take en_US as en for help CCMAIL: 56054-done@bugs.kde.org M +8 -3 kio_help.cpp 1.51 --- kdelibs/kdoctools/kio_help.cpp #1.50:1.51 @@ -57,4 +57,10 @@ QString HelpProtocol::langLookup(QString langs.remove( "C" ); + // this is kind of compat hack as we install our docs in en/ but the + // default language is en_US + for (QStringList::Iterator it = langs.begin(); it != langs.end(); ++it) + if ( *it == "en_US" ) + *it = "en"; + // look up the different languages int ldCount = localDoc.count();