[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdoctools
From:       Stephan Kulow <coolo () kde ! org>
Date:       2003-09-14 10:21:53
[Download RAW message or body]

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();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic