You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/mandriva/2010.2/kdelibs/kdelibs-3.5.7-add-extra-cat...

14 lines
749 B

--- kdecore/klocale.cpp.orig 2011-02-04 10:59:25.234472351 +0000
+++ kdecore/klocale.cpp 2011-02-04 11:01:08.952473215 +0000
@@ -138,7 +138,10 @@
if (mainCatalogue.contains("desktop") == 0 || mainCatalogue.contains("kdesktop") == 1) { //don't bother if we're looking up desktop translations
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( "kickoff" );
d->catalogNames.append( "xdg-user-dirs" );
+ d->catalogNames.append( "mandriva-kde-translation" );
}
updateCatalogues(); // evaluate this for all languages
}