On Sun, 2007-10-21 at 14:07 +0200, Mattias Gaertner wrote:
> On Sun, 21 Oct 2007 13:48:18 +0200
> Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> 
> > On Sun, 21 Oct 2007 01:30:21 +0100
> > Luis Rodrigues <[EMAIL PROTECTED]> wrote:
> > 
> > > On Tue, 2007-10-16 at 01:03 +0200, Mattias Gaertner wrote:
> > > > On Mon, 15 Oct 2007 16:28:23 +0100
> > > > Luis Rodrigues <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > We're using FOnReadStringProperty from reader.inc to translate
> > > > > the string properties, how about TStrings how can this be done?
> > > > > 
> > > > > Ideas please.
> > > > 
> > > > First define requirements:
> > > > - Some TStrings should not be translated
> > > > - Some TStrings should be translated line by line 
> > > >   (TCombobox, TListBox)
> > > > - Some TStrings should be translated as text (TMemo)
> > > > 
> > > > To FPC team:
> > > > Is it possible to use TTranslateStrings = type TStrings?
> > > > I ask because, the compiler allows it, but stops later with a not
> > > > helping message:
> > > > lcl/interfaces/gtk2/interfaces.pas(1,1) Fatal: Compilation aborted
> > > 
> > > Are there any fpc devs on this list? Should I ask this somewhere
> > > else?
> > 
> > I asked on the fpc devel list.
> 
> Answer: Yes, but it is buggy.
> Maybe you can make some tests and report the bugs.
> Then we can use this eventually and for now projects can use
> resourcestrings.

What type of tests? Just try to use TTranslateStrings = type TStrings
with different versions of the compiler to see if it works?
> 
>  
> > But this will not solve all cases, so either we add some utility
> > functions or a registration mechanism or use the new property infos.
> 
> 
> Mattias
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to