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