build: Fix translation context missing from keyboard entries
Extract the message context from 01-launchers.xml.in so it's available for translation. https://bugzilla.gnome.org/show_bug.cgi?id=787588
This commit is contained in:
parent
12cab686cb
commit
535d68425c
1 changed files with 6 additions and 2 deletions
|
@ -1,10 +1,14 @@
|
|||
<?xml version="1.0"?>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
|
||||
xmlns:gt="https://www.gnu.org/s/gettext/ns/its/extensions/1.0"
|
||||
version="2.0">
|
||||
<its:translateRule selector="/KeyListEntries" translate="no"/>
|
||||
<its:translateRule selector="/KeyListEntries/@name" translate="yes"/>
|
||||
<its:translateRule selector="//KeyListEntry" translate="no"/>
|
||||
<its:translateRule selector="//KeyListEntry" translate="yes"/>
|
||||
<its:translateRule selector="//KeyListEntry/@description" translate="yes"/>
|
||||
|
||||
<gt:contextRule selector="//KeyListEntry[@msgctxt]" contextPointer="@msgctxt"/>
|
||||
|
||||
<!-- Extracted strings are consumed by the library and are never
|
||||
merged back; we don't want to escape special characters. -->
|
||||
<gt:escapeRule selector="/KeyListEntries" escape="no"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue