Changeset 18317

Show
Ignore:
Timestamp:
06.01.2009 14:38:54 (10 years ago)
Author:
kjdon
Message:

moved some more text to property file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/default/transform/style.xsl

    r18316 r18317  
    3131          hide_link = document.getElementById("hide"); 
    3232          removeAllChildren(hide_link); 
    33           hide_link.appendChild(document.createTextNode("Hide Error")); 
     33          hide_link.appendChild(document.createTextNode("</xsl:text><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'hide_error')"/><xsl:text disable-output-escaping="yes">")); 
    3434        } else { 
    3535          obj.style.display = "none"; 
    3636          hide_link = document.getElementById("hide"); 
    3737          removeAllChildren(hide_link); 
    38           hide_link.appendChild(document.createTextNode("Show Error")); 
     38          hide_link.appendChild(document.createTextNode("</xsl:text><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'show_error')"/><xsl:text disable-output-escaping="yes">")); 
    3939        }  
    4040      } 
    4141    </xsl:text> 
    4242      </script> 
    43       <p align='right'><a id="hide" href="javascript:toggleHideError(error);">Show Error</a></p> 
     43      <p align='right'><a id="hide" href="javascript:toggleHideError(error);"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'show_error')"/></a></p> 
    4444      <div id="error" style="display: none;"> 
    4545    <xsl:apply-templates select="descendant::error"/>