Changeset 3e0c81bb for stylesheets/xhtml


Ignore:
Timestamp:
10/15/2004 09:28:52 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
37eabe3
Parents:
1bec700
Message:

Full internationalization support into the stylesheets.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4292 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/xhtml/lfs-index.xsl

    r1bec700 r3e0c81bb  
    4747            <xsl:choose>
    4848              <xsl:when test="$divtitle = 'A'">
    49                 <xsl:text>Packages</xsl:text>
     49                <xsl:call-template name="gentext">
     50                  <xsl:with-param name="key">Packages</xsl:with-param>
     51                </xsl:call-template>
    5052             </xsl:when>
    5153             <xsl:when test="$divtitle = 'B'">
    52                 <xsl:text>Programs</xsl:text>
     54                <xsl:call-template name="gentext">
     55                  <xsl:with-param name="key">Programs</xsl:with-param>
     56                </xsl:call-template>
    5357             </xsl:when>
    5458             <xsl:when test="$divtitle = 'C'">
    55                 <xsl:text>Libraries</xsl:text>
     59                <xsl:call-template name="gentext">
     60                  <xsl:with-param name="key">Libraries</xsl:with-param>
     61                </xsl:call-template>
    5662             </xsl:when>
    5763             <xsl:when test="$divtitle = 'D'">
    58                 <xsl:text>Scripts</xsl:text>
     64                <xsl:call-template name="gentext">
     65                  <xsl:with-param name="key">Scripts</xsl:with-param>
     66                </xsl:call-template>
    5967             </xsl:when>
    6068              <xsl:when test="$divtitle = 'E'">
    61                   <xsl:text>Others</xsl:text>
     69                <xsl:call-template name="gentext">
     70                  <xsl:with-param name="key">Others</xsl:with-param>
     71                </xsl:call-template>
    6272              </xsl:when>
    6373             <xsl:otherwise>
     
    167177            </xsl:call-template>
    168178          </xsl:attribute>
    169           <xsl:text>description</xsl:text>
     179          <xsl:call-template name="gentext">
     180            <xsl:with-param name="key">description</xsl:with-param>
     181          </xsl:call-template>
    170182        </a>
    171183      </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.