summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-29 15:06:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:40 +0100
commit70c7afadf867a2609b395804c117c7a66090529f (patch)
tree7146b15ebea45d87bbf24fa9272e51deafc7e3b8 /solenv/bin
parentfc86fdf6b44ae6814e99dd3b5e878191d63c16a0 (diff)
We need to distinguish NumericFields from MetricFields
In the future I'm hoping we can get some gtk3-side support for patterns for GtkSpinButtons or such such. In the meamtime overload that info into the name Change-Id: I20464e3ddafb710dd7330fc038bb9330b852410a
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/uilangfilter.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/uilangfilter.xslt b/solenv/bin/uilangfilter.xslt
index c003210bc26a..8f4b1c5190ea 100644
--- a/solenv/bin/uilangfilter.xslt
+++ b/solenv/bin/uilangfilter.xslt
@@ -19,7 +19,7 @@
<xsl:template match="*/*[not(self::col)][@translatable]">
<xsl:text> </xsl:text>
- <t r="string" g="{../@id}" l="{@name}">
+ <t r="string" g="{substring-before(../@id,':')}" l="{@name}">
<xsl:copy-of select="text()" />
</t><xsl:text>&#10;</xsl:text>
</xsl:template>
@@ -27,7 +27,7 @@
<xsl:template match="col">
<xsl:text> </xsl:text>
<xsl:variable name="groupid" select="../../../@id"/>
- <t r="stringlist" g="{$groupid}" l="{count(preceding::col[../../../@id=$groupid])}">
+ <t r="stringlist" g="{substring-before($groupid. ':')}" l="{count(preceding::col[../../../@id=$groupid])}">
<xsl:copy-of select="text()" />
</t><xsl:text>&#10;</xsl:text>
</xsl:template>