From 7b149d56ddc91e1c1c342c894de272cc302b88fb Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Mon, 21 May 2001 21:46:35 +0000 Subject: - Moved include/intl.h to lib/plpintl.h to fix compile of foreign progs. - KPsion now deletes a machine really if delete is clicked in setup dialog. - Some NLS-Related fixes --- kde2/plugins/Makefile.am | 2 ++ kde2/plugins/plppropsFactory.cc | 12 +++++------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kde2/plugins') 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 - void init_libplp_i18n() { -#ifdef HAVE_BINDTEXTDOMAIN_CODESET - bind_textdomain_codeset(PACKAGE, "latin1"); -#endif - textdomain(PACKAGE); - } +#include + void init_libplp_i18n() { + setlocale(LC_ALL, ""); + textdomain(PACKAGE); + } }; }; #endif -- cgit v1.2.3