Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-10

Lazarus Digest, Vol 9, Issue 49

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Benito van der Zander

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.

Benito

Reply by email

Mattias Gaertner
to Benito van der Zander
Show quoted text 13 lines
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

Reply by email