Hi,
On Fri, 4 Feb 2005, Nicolas François wrote:
On Tue, Feb 01, 2005 at 12:48:39AM +0100, Jordi Vilalta wrote:
> some days ago I sent a request for enhancement to the alioth tracker
>
(
http://alioth.debian.org/tracker/index.php?func=detail&aid=301133&...),
> but today I had the time to do it myself. I attach the related patch. It's
> just a proposal, but I think this simplifies the po4a config files, and
> makes them a lot more scalable.
>
> Waiting to hear your opinions :)
I think we need it!
Then, if there's no objection, I'll commit it in a few days (so that
monday-to-friday workers have the whole weekend to complain ;).
I also had a quite similar issue:
I translated some man pages in the DDP, and had to change all the paths
when I made a patch for the debian package.
Having a sort of variable substitution ($EN_DIR, $FR_DIR) would have saved
me a couple of vim commands.
Do you think this could be done?
It shouldn't be so difficult. This could be done with something like:
[po4a_var] EN_DIR value_of_the_var
[po4a_var] FR_DIR value_of_the_var
and then using $EN_DIR and $FR_DIR
but I think that most translations should share the same path structure,
and the $lang substitution should be enough. Do you have in mind some
cases where this won't be enough?
(Note: I've got one comment on your patch:
Using "'%s' redeclared" would save one string in the po4a's
translation;)
I'll fix it now :)
Regards,
Jordi Vilalta