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

gEDA-cvs: CVS update: globals.h



  User: pbernaud
  Date: 06/01/11 09:44:08

  Modified:    .        globals.h
  Log:
  Marked strings in C structures as translatable with new macro N_()
  
  
  
  
  Revision  Changes    Path
  1.12      +9 -0      eda/geda/devel/gschem/include/globals.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: globals.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/include/globals.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- globals.h	5 Aug 2005 02:49:48 -0000	1.11
  +++ globals.h	11 Jan 2006 14:44:08 -0000	1.12
  @@ -74,6 +74,15 @@
   extern SCM move_component_hook;
   
   #include "gettext.h"
  +#ifdef ENABLE_NLS
  +# ifdef gettext_noop
  +#  define N_(String) gettext_noop (String)
  +# else
  +#  define N_(String) (String)
  +# endif
  +#else
  +# define N_(String) (String)
  +#endif
   
   /*EK* used by prototype.h */
   #include "../include/x_states.h"