Am Montag, 6. November 2006 09:40 schrieb Mattias Gaertner:
> On Sun, 5 Nov 2006 14:10:45 +0100
>
> Sebastian Kraft <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > since I changed my program to use resourcestrings in order to create
> > various translations all dialog buttons and exception messages are
> > blank.
> >
> > What is wrong here?
>
> Maybe you set all FCL+LCL resource strings to empty strings?
> How do you set the resourcestrings?
>
in the unit file of main form:
resourcestring
  rsQuit = 'Quit';
  rsFile = 'File';
  rsOpenFile = 'Open File...';  
  [..]

I assign these strings to the corresponding captions with the OnCreate event.


and in .proj file:
TranslateResourceStrings(path);


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

Reply via email to