summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdelibs.old/add-suse-translations.diff
blob: 2cb8ce8cb8c5d09409f803693c4400b8d8de7088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: kdecore/klocale.cpp
===================================================================
--- kdecore/klocale.cpp.orig
+++ kdecore/klocale.cpp
@@ -131,6 +131,9 @@ void KLocale::initMainCatalogues(const Q
     d->catalogNames.append( mainCatalogue );   // application catalog
     d->catalogNames.append( SYSTEM_MESSAGES ); // always include kdelibs.mo
     d->catalogNames.append( "kio" );            // always include kio.mo
+    KGlobal::dirs()->addResourceDir("locale", "/usr/share/locale");
+    d->catalogNames.append( "desktop_translations" );
+    d->catalogNames.append( "susetranslations" );
     updateCatalogues(); // evaluate this for all languages
   }
 }