diff options
Diffstat (limited to 'kde2/plugins')
-rw-r--r-- | kde2/plugins/Makefile.am | 2 | ||||
-rw-r--r-- | kde2/plugins/plppropsFactory.cc | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kde2/plugins/Makefile.am b/kde2/plugins/Makefile.am index 96e0da1..c072832 100644 --- a/kde2/plugins/Makefile.am +++ b/kde2/plugins/Makefile.am @@ -1,4 +1,6 @@ +libdir=$(kde_libraries) + INCLUDES = $(all_includes) -I$(top_srcdir)/lib LDFLAGS = $(all_libraries) diff --git a/kde2/plugins/plppropsFactory.cc b/kde2/plugins/plppropsFactory.cc index 45b47b1..f483ef9 100644 --- a/kde2/plugins/plppropsFactory.cc +++ b/kde2/plugins/plppropsFactory.cc @@ -5,13 +5,11 @@ #ifdef ENABLE_NLS namespace LIBPLP { extern "C" { -#include <intl.h> - void init_libplp_i18n() { -#ifdef HAVE_BINDTEXTDOMAIN_CODESET - bind_textdomain_codeset(PACKAGE, "latin1"); -#endif - textdomain(PACKAGE); - } +#include <plpintl.h> + void init_libplp_i18n() { + setlocale(LC_ALL, ""); + textdomain(PACKAGE); + } }; }; #endif |