[Lazarus] Lazarus Digest, Vol 9, Issue 49

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 17 20:59:02 CEST 2008


On Fri, 17 Oct 2008 20:37:34 +0200
Benito van der Zander <benito at benibela.de> wrote:

> Hi,
> > There are several ways:
> > a) write a script or program and use external tool
> > b) write an IDE plugin
> Thats sound complicated, isn't there an easier way?
> Now I have "--unit=$EdFile()" in the paramter list, what I'm looking
> for is a macro like "$foreach($projectfile)".
> > If you can give some more hints what do you want to do, you will get
> > more hints.
> I have written a program which adds every string in a unit to the 
> resourcestring-section for easier translation,  but of course so
> it has to be called for every unit.
> And I'm too lazy for parsing the lpr/lpi file.

Why not simply parse all .rst files?
Or enable i18n and read the .po files?

Mattias



More information about the Lazarus mailing list