diff options
Diffstat (limited to 'kde2/kpsion/main.cpp')
-rw-r--r-- | kde2/kpsion/main.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/kde2/kpsion/main.cpp b/kde2/kpsion/main.cpp index 6c2aaf9..5a7ac20 100644 --- a/kde2/kpsion/main.cpp +++ b/kde2/kpsion/main.cpp @@ -35,13 +35,11 @@ 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); + } }; }; |