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] Customization of the text output of <keycap function="..."/>


Yep, that code looks about right.

Simon Dew

Technical Author | Stanley Security Solutions
1 Park Gate Close, Bredbury, Stockport SK6 2SZ, U.K.

Simon.Dew@SBDInc.com | +44 (0) 161 406 3400
www.stanleysecuritysolutions.co.uk

Registered Office: Stanley House, Bramble Road, Swindon
Registered in England and Wales No. 181585 VAT No. 232 2446 95

On 24/07/2014 11:55, Phillip Kent wrote:

> Thanks. Perfect...
>
> So I add this to the 'common' file of my customization layer:
>
> <xsl:param name="local.l10n.xml" select="document('')"/>
> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
>    <l:l10n language="en">
>      <l:context name="keycap">
>        <l:template name="delete" text="Delete"/>
>        <l:template name="backspace" text="Backspace"/>
>      </l:context>
>    </l:l10n>
> </l:i18n>
>
>
> On Thu, Jul 24, 2014 at 11:31 AM, Dew, Simon <Simon.Dew@sbdinc.com> wrote:
>> Hi Phillip
>>
>> You can create a local localisation file with your own strings. You need
>> to set the local.l10n.xml parameter in your customisation layer. See
>> http://www.sagehill.net/docbookxsl/CustomGentext.html.
>>
>> Simon Dew
>>
>> Technical Author | Stanley Security Solutions
>> 1 Park Gate Close, Bredbury, Stockport SK6 2SZ, U.K.
>>
>> Simon.Dew@SBDInc.com | +44 (0) 161 406 3400
>> www.stanleysecuritysolutions.co.uk
>>
>> Registered Office: Stanley House, Bramble Road, Swindon
>> Registered in England and Wales No. 181585 VAT No. 232 2446 95
>>
>> On 24/07/2014 11:24, Phillip Kent wrote:
>>
>>> I want to customize the text output of <keycap function="backspace"/>
>>> and <keycap function="delete">
>>> [the first I think is ugly and the second doesn't correspond to all of
>>> the keyboards I have looked at which have a primary 'Delete' key not
>>> 'Del']
>>>
>>> I can see this is a language/localization issue. Is there a simple(r)
>>> way of customizing without have to customize a language setting?
>>>
>>> Thanks Phillip
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>>>
>
>
>


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