summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--src/bcop.xslt4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 2bf1dff..7868ed6 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-VERSION=0.1.2
+VERSION=0.1.3
diff --git a/src/bcop.xslt b/src/bcop.xslt
index 14962ac..9ea6e5c 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -1420,7 +1420,7 @@ CompOption *</xsl:text>
<xsl:text>typedef enum
{
</xsl:text>
- <xsl:for-each select="desc/name">
+ <xsl:for-each select="desc/*[(name() = 'name' and not(@xml:lang)) or name() = '_name']">
<xsl:text> </xsl:text>
<xsl:call-template name="PrintCamel">
<xsl:with-param name="text">
@@ -1448,7 +1448,7 @@ CompOption *</xsl:text>
<xsl:template name="printOptionMasks">
<xsl:for-each select="/compiz/plugin[@name=$pName]//option[@type = 'list' and ./desc/value and ./type/text() = 'int']">
- <xsl:for-each select="desc/name">
+ <xsl:for-each select="desc/*[(name() = 'name' and not(@xml:lang)) or name() = '_name']">
<xsl:text>#define </xsl:text>
<xsl:call-template name="PrintCamel">
<xsl:with-param name="text">