# HG changeset patch # User ladanyi # Date 1145039476 0 # Node ID c54ce7a5f4e7b08ee3d296913c782310f78b12f5 # Parent 08652c1763f6566080c711781141127d8ea1ea51 some reorganization diff -r 08652c1763f6 -r c54ce7a5f4e7 gui/Makefile.am --- a/gui/Makefile.am Fri Apr 14 18:07:33 2006 +0000 +++ b/gui/Makefile.am Fri Apr 14 18:31:16 2006 +0000 @@ -40,6 +40,7 @@ gui_writer.cc \ xml.h \ guipixbufs.h \ + i18n.h \ gettext.h glemon_CXXFLAGS = $(GTK_CFLAGS) diff -r 08652c1763f6 -r c54ce7a5f4e7 gui/graph-displayer.cc --- a/gui/graph-displayer.cc Fri Apr 14 18:07:33 2006 +0000 +++ b/gui/graph-displayer.cc Fri Apr 14 18:31:16 2006 +0000 @@ -9,7 +9,6 @@ #include #include -#include "gettext.h" #define MAIN_PART @@ -21,6 +20,7 @@ int main(int argc, char *argv[]) { + setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); diff -r 08652c1763f6 -r c54ce7a5f4e7 gui/i18n.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gui/i18n.h Fri Apr 14 18:31:16 2006 +0000 @@ -0,0 +1,7 @@ +#ifndef I18N_H +#define I18N_H + +#include "gettext.h" +#define _(string) gettext (string) + +#endif diff -r 08652c1763f6 -r c54ce7a5f4e7 gui/main_win.cc --- a/gui/main_win.cc Fri Apr 14 18:07:33 2006 +0000 +++ b/gui/main_win.cc Fri Apr 14 18:31:16 2006 +0000 @@ -5,8 +5,7 @@ #include "main_win.h" #include "guipixbufs.h" -#include "gettext.h" -#define _(string) gettext (string) +#include "i18n.h" MainWin::MainWin() {