fixed locale test
git-svn-id: http://yolanda.mister-muffin.de/svn@174 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
b8b82f5fe8
commit
007c212250
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@
|
||||||
|
|
||||||
<xsl:variable name="locale">
|
<xsl:variable name="locale">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="//@locale='en-us'">
|
<xsl:when test="document(concat('../locale/', //@locale, '.xml'))">
|
||||||
en-us
|
<xsl:value-of select="//@locale" />
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
en-us
|
en-us
|
||||||
|
|
Loading…
Reference in a new issue