[Gambas-devel] Translating missing

Laurent Carlier lordheavy at ...141...
Wed Nov 10 21:29:13 CET 2004


Le Mardi 9 Novembre 2004 20:31, Ron Onstenk a écrit :
> On Tuesday 09 November 2004 13:44, Laurent Carlier wrote:
> > Le Mardi 9 Novembre 2004 12:46, Benoit Minisini a écrit :
> > > > And should there not be a list with those Error.Text to translate ?
> > >
> > > Yes. Later :-)
> >
> > Does it shall be a good way to add constants for error beside translating
> > them as it will be easy to manage errors like in glibc
> >
> > eg : Constant Error.NotObject for a "Not an Object" error will be print
> > as "N'est pas un objet" in french
>
> I belive it ie already there as Error.Code ??
>

Sure, Error.Code exist. But can you say me what is the meaning of the value of 
10 as example ? 

Perhaps it can be guess with Error.Text but how to do when it will be 
translated ?

My suggestion is with constants like the color class in qt component 
(color.black ... p.e.).

Regards,

-- 

Laurent Carlier




More information about the Devel mailing list