summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdelibs/kdelibs-3.5.7-add-extra-catalogs.patch
diff options
context:
space:
mode:
authorTim Williams <[email protected]>2011-10-14 13:51:18 +0100
committerTim Williams <[email protected]>2011-10-14 13:51:18 +0100
commitec2515f058c60d2478a549f58376db628ba556b9 (patch)
treeaefbde1b807005611b397e01ebc5782c7d27ff91 /mandriva/2010.2/kdelibs/kdelibs-3.5.7-add-extra-catalogs.patch
parentbba295da1161579c6fe734680c827e50a3585131 (diff)
downloadtde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.tar.gz
tde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.zip
Initial commit of the Mandriva patches and spec files.
This includes the main dependencies and core packages, but very little else.
Diffstat (limited to 'mandriva/2010.2/kdelibs/kdelibs-3.5.7-add-extra-catalogs.patch')
-rw-r--r--mandriva/2010.2/kdelibs/kdelibs-3.5.7-add-extra-catalogs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/mandriva/2010.2/kdelibs/kdelibs-3.5.7-add-extra-catalogs.patch b/mandriva/2010.2/kdelibs/kdelibs-3.5.7-add-extra-catalogs.patch
new file mode 100644
index 000000000..fe45a6c87
--- /dev/null
+++ b/mandriva/2010.2/kdelibs/kdelibs-3.5.7-add-extra-catalogs.patch
@@ -0,0 +1,13 @@
+--- 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
+ }