[haiku-development] Re: How to add file names to a catalog at build time?

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Mon, 13 May 2013 14:32:17 -0400

On Mon, May 13, 2013 at 8:59 AM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> "John Scipione" <jscipione@xxxxxxxxx> wrote:
>> I am trying to internationalize the keymap names and keyboard layout
>> names that appear in the Keymap preflet. In order to do that I need to
>> add the keymap and layout file names to Keymap's catalog.
[snip]
>
> Yes it is possible (see attached patch). Unfortunately, since jam cannot know 
> when the input for the generated header changes, it has to be marked Always 
> (i.e. it will always be considered out-of-date).

Wow that is a lot more than I was expecting, thanks! From this patch I
should be able to easily extend the idea to also internationalize the
layout files. The only problem is that I've already done some work so
I'll need to apply this into master and then merge the changes back
into my private branch.

John Scipione

Other related posts: