Translate parentheses to "_" in the module page names. Otherwise there are errors when displaying the
menu
This commit is contained in:
parent
625cb147bd
commit
6e28f3c4de
1 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ depends MENU_</xsl:text>
|
||||||
test="not(version) and ./module[not(inst-version) or
|
test="not(version) and ./module[not(inst-version) or
|
||||||
string(version) != string(inst-version)]">
|
string(version) != string(inst-version)]">
|
||||||
<xsl:text>		config	MENU_</xsl:text>
|
<xsl:text>		config	MENU_</xsl:text>
|
||||||
<xsl:value-of select="translate(name,' ','_')"/>
|
<xsl:value-of select="translate(name,' ()','___')"/>
|
||||||
<xsl:text>
|
<xsl:text>
|
||||||
		bool	"</xsl:text>
|
		bool	"</xsl:text>
|
||||||
<xsl:value-of select="name"/>
|
<xsl:value-of select="name"/>
|
||||||
|
@ -188,7 +188,7 @@ depends MENU_</xsl:text>
|
||||||
<xsl:value-of select="name"/>
|
<xsl:value-of select="name"/>
|
||||||
<xsl:text>"
|
<xsl:text>"
|
||||||
		depends MENU_</xsl:text>
|
		depends MENU_</xsl:text>
|
||||||
<xsl:value-of select="translate(name,' ','_')"/>
|
<xsl:value-of select="translate(name,' ()','___')"/>
|
||||||
<xsl:text>
|
<xsl:text>
|
||||||
|
|
||||||
</xsl:text>
|
</xsl:text>
|
||||||
|
|
Reference in a new issue