graph-displayer.cc
branchgui
changeset 130 3533c2d9a865
parent 102 25a4698cbe0c
child 133 b289ba51506f
     1.1 --- a/graph-displayer.cc	Thu Feb 02 15:44:45 2006 +0000
     1.2 +++ b/graph-displayer.cc	Thu Mar 23 19:57:14 2006 +0000
     1.3 @@ -1,9 +1,16 @@
     1.4 +#ifdef HAVE_CONFIG_H
     1.5 +#include <config.h>
     1.6 +#endif
     1.7 +
     1.8  #include "all_include.h"
     1.9  #include "mapstorage.h"
    1.10  #include "main_win.h"
    1.11  #include <libgnomecanvasmm.h>
    1.12  #include <libgnomecanvasmm/polygon.h>
    1.13  
    1.14 +#include <locale.h>
    1.15 +#include "gettext.h"
    1.16 +
    1.17  #define MAIN_PART
    1.18  
    1.19  std::vector <std::string> edge_property_strings;
    1.20 @@ -14,6 +21,9 @@
    1.21  
    1.22  int main(int argc, char *argv[])
    1.23  {
    1.24 +  bindtextdomain(PACKAGE, LOCALEDIR);
    1.25 +  bind_textdomain_codeset(PACKAGE, "UTF-8");
    1.26 +  textdomain(PACKAGE);
    1.27  
    1.28    //initializing
    1.29