fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [7475] property: translation


From: Sigurd Nes
Subject: [Fmsystem-commits] [7475] property: translation
Date: Wed, 06 Jul 2011 12:47:07 +0000

Revision: 7475
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7475
Author:   sigurdne
Date:     2011-07-06 12:47:07 +0000 (Wed, 06 Jul 2011)
Log Message:
-----------
property: translation

Modified Paths:
--------------
    trunk/property/templates/base/attributes_form.xsl

Modified: trunk/property/templates/base/attributes_form.xsl
===================================================================
--- trunk/property/templates/base/attributes_form.xsl   2011-07-06 12:37:24 UTC 
(rev 7474)
+++ trunk/property/templates/base/attributes_form.xsl   2011-07-06 12:47:07 UTC 
(rev 7475)
@@ -14,7 +14,7 @@
                </xsl:for-each>
        </xsl:template>
 
-       <xsl:template match="attributes">
+       <xsl:template match="attributes" xmlns:php="http://php.net/xsl";>
                        <xsl:variable name="statustext"><xsl:value-of 
select="statustext"/></xsl:variable>
                        <tr>
                                <td align="left" width="19%" valign="top" 
title="{$statustext}">
@@ -35,10 +35,10 @@
                                                        <xsl:text>[ </xsl:text>
                                                        <xsl:choose>
                                                                <xsl:when 
test="value!=''">
-                                                                       
<xsl:value-of select="//lang_edit"/>
+                                                                       
<xsl:value-of select="php:function('lang', 'edit')" />
                                                                </xsl:when>
                                                                <xsl:otherwise>
-                                                                       
<xsl:value-of select="//lang_add"/>
+                                                                       
<xsl:value-of select="php:function('lang', 'add')" />
                                                                </xsl:otherwise>
                                                        </xsl:choose>
                                                        <xsl:text> ]</xsl:text>
@@ -70,7 +70,9 @@
                                                                                
                </xsl:attribute>
                                                                                
        </xsl:when>
                                                                                
</xsl:choose>
-                                                                               
<option value=""><xsl:value-of select="//lang_none"/></option>
+                                                                               
<option value="">
+                                                                               
        <xsl:value-of select="php:function('lang', 'select')" />
+                                                                               
</option>
                                                                                
<xsl:for-each select="choice">
                                                                                
        <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
                                                                                
        <xsl:choose>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]