Update Simplified Chinese Strings (#1610)
[gpodder.git] / tools / mac-osx / adjust-modifiers.xsl
blob6d17fd98a45e988e932590d0d020d21a29854ce5
1 <?xml version="1.0" ?>
2 <!-- this stylesheet adjusts menu item accelerators:
3 - Command-, for preferences
4 - Command-? for user manual
6 accelerators names are found in gtk/source/gtk+/gdk/gdkkeysyms-compat.h
7 -->
8 <xsl:stylesheet
9 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10 version="1.0">
12 <xsl:template match="@*|node()">
13 <xsl:copy>
14 <xsl:apply-templates select="@*|node()"/>
15 </xsl:copy>
16 </xsl:template>
18 <xsl:template match="attribute[@name = 'accel' and preceding-sibling::attribute[@name = 'action' and . = 'app.preferences']]">
19 <attribute name="accel">&lt;Primary&gt;,</attribute>
20 </xsl:template>
22 <xsl:template match="attribute[@name='action' and . ='app.help']">
23 <xsl:copy>
24 <xsl:apply-templates select="@*|node()"/>
25 </xsl:copy>
26 <attribute name="accel">&lt;Primary&gt;?</attribute>
27 </xsl:template>
29 </xsl:stylesheet>