OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Custom Localization Support Broken?


Hi,

On Thu, 05 Jul 2012 16:13:04 +0200
Jirka Kosek <jirka@kosek.cz> wrote:

> On 5.7.2012 14:59, Thomas Schraitle wrote:
> 
> > https://sourceforge.net/tracker/?func=detail&aid=3540451&group_id=21935&atid=373750
> > 
> > I took the liberty to commit the language file in
> > gentext/locale/en.xml already. Of course, it needs to be done for
> > all the other languages as well. I can provide German. :)
> > 
> > If you don't object, I can also update the keycap template.
> 
> Thanks, please go ahead.

Ok, I've fixed it in xsl/fo/inline.xsl xsl/html/inline.xsl (revision
9469). From my understanding, the XHTML* stylesheets will be
automatically generated and JavaHelp and HTMLHelp are based on HTML. So
I haven't changed these.

There is also manpage/inline.xsl which I haven't touched too. It seems
there isn't a keycap template so I wasn't sure what was the best
approach. Before I mess up things, I'll leave it to Michael, maybe he
can have a look and add a small patch. :)

The current implementation is this: If @function is set and keycap is
empty, then the template will use the content from the keycap context,
otherwise it will use just the given text.

  <keycap>X</keycap>  => X
  <keycap function="alt"/> => Alt
  <keycap function="control">Control</keycap> => Control

Hope that's ok. :) I've tested it in my environment, but it would be
nice if someone can have a look...


-- 
Gruß/Regards,
    Thomas Schraitle


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]