Re: Finding unused hdf data

Nikolai Kondrashov <[email protected]> Mon, 13 Apr 2009 23:07:20 +0400
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
David Jeske wrote:
> How do you determine that an HDF attribute market with [lang] is still in use
> in a CS template somewhere?
I don't. It is a small issue for me. Since I don't store general
translatable strings solely for use in the templates, but instead simply
mark such strings by "_" function calls directly in the templates. Gettext
does the rest for me.

> Culley's original challenge is to clean up cruft when there are many HDF [lang]
> strings around which are no longer referenced.
Well, I could imagine another trick with the parse tree which could solve
this, but I'm not entirely sure if it is possible.

Sincerely,
Nick