[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: main.c



  User: werner  
  Date: 05/03/19 17:18:07

  Modified:    .        main.c support.h
  Log:
  fixed UTF-8 coding problem, added german translation
  
  
  
  
  Revision  Changes    Path
  1.8       +2 -1      eda/geda/devel/geda/src/main.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: main.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/geda/src/main.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- main.c	12 Feb 2005 22:06:03 -0000	1.7
  +++ main.c	19 Mar 2005 22:18:07 -0000	1.8
  @@ -1,4 +1,4 @@
  -/* $Id: main.c,v 1.7 2005/02/12 22:06:03 danmc Exp $ */
  +/* $Id: main.c,v 1.8 2005/03/19 22:18:07 werner Exp $ */
   
   /*******************************************************************************/
   /*                                                                             */
  @@ -93,6 +93,7 @@
   #if ENABLE_NLS
   	bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
   	textdomain (PACKAGE);
  +	bind_textdomain_codeset(PACKAGE, "UTF-8");
   #endif
   	gtk_set_locale ();
   	gtk_init (&argc, &argv);
  
  
  
  1.2       +1 -0      eda/geda/devel/geda/src/support.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: support.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/geda/src/support.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- support.h	18 Jan 2003 03:26:12 -0000	1.1
  +++ support.h	19 Mar 2005 22:18:07 -0000	1.2
  @@ -26,6 +26,7 @@
   #  define dgettext(Domain,Message) (Message)
   #  define dcgettext(Domain,Message,Type) (Message)
   #  define bindtextdomain(Domain,Directory) (Domain)
  +#  define bind_textdomain_codeset(Domain, Codeset) ((const char *) (Codeset))
   #  define _(String) (String)
   #  define N_(String) (String)
   #endif