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/opensuse/core/tdelibs/add-suse-translations.diff

15 lines
667 B

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
}