aboutsummaryrefslogtreecommitdiffstats
path: root/kde2/plugins/plppropsFactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kde2/plugins/plppropsFactory.cc')
-rw-r--r--kde2/plugins/plppropsFactory.cc12
1 files changed, 5 insertions, 7 deletions
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