Re: [Christian Rose <menthos menthos com>] Re: GNOME-DB branch



Rodrigo Moya wrote:
> > > Hi all!
> > >
> > > As I don't know the current state of the GNOME extra apps release
> > > (sorry, maybe I've missed something in the last days?), I'm not sure if
> > > this is the correct place to say this, but just in case:
> > >
> > > I've created a branch in GNOME-DB/libgda CVS, which will be the release
> > > to be included in the GNOME Extra apps list, if so. This CVS branch is
> > > called release-0-2-3-branch, and all translations should be checked in
> > > there.
> > >
> > > So please, translators, do so.
> > >
> > > cheers

There are two problems with C++-style comments containing apostrophes
(') in libgda, that makes xgettext complain with warnings ("unfinished
character constant"). The attached patches fixes that.
Of course, maybe the best long-term solution is to stop using C++
comments (//) inside C source code, and use C comments (/* */).


Christian
--- gda-primebase-connection.c.old	Mon Feb 12 21:37:55 2001
+++ gda-primebase-connection.c	Mon Feb 12 21:38:44 2001
@@ -52,7 +52,7 @@
   { "REAL10",     A_FLOAT10,   GDA_TypeDouble      }, // 10-byte
   { "REAL12",     A_FLOAT12,   GDA_TypeDouble      }, // 12-byte
 
-  // What's on $maybe?
+  /* What's on $maybe? */
   { "BOOLEAN",    A_BOOLEAN,   GDA_TypeBoolean     },
   
   { "DATE",       A_DATE,      GDA_TypeDbDate      }, //          (15)
--- gda-tds-connection.c.old	Mon Feb 12 21:43:16 2001
+++ gda-tds-connection.c	Mon Feb 12 21:45:43 2001
@@ -781,10 +781,9 @@
     return FALSE;
   }
   
-  // Now we've got an initialized CS_CONTEXT and an allocated CS_COMMAND
-  // and maybe setup the locale, so we can setup error handling
-  
-  if (gda_tds_install_error_handlers(cnc) != 0) {
+  /* Now we've got an initialized CS_CONTEXT and an allocated CS_COMMAND
+     and maybe setup the locale, so we can setup error handling */
+    if (gda_tds_install_error_handlers(cnc) != 0) {
     return FALSE;
   }
   


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