Changeset 4446abb


Ignore:
Timestamp:
10/15/2004 08:06:36 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
1d796ff
Parents:
22f11a9
Message:

Internationalization support into the stylesheets, first phase.

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

Location:
stylesheets/xhtml
Files:
3 edited

Legend:

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

    r22f11a9 r4446abb  
    3030        </img>
    3131        <h3 class="admontitle">
    32           <xsl:value-of select="$admon.type"/>
    33           <xsl:if test="title">
    34             <xsl:text>: </xsl:text>
    35             <xsl:value-of select="title"/>
    36           </xsl:if>
     32          <xsl:apply-templates select="." mode="object.title.markup"/>
    3733        </h3>
    3834      </div>
  • stylesheets/xhtml/lfs-index.xsl

    r22f11a9 r4446abb  
    2020 
    2121  <xsl:template match="index" mode="title.markup">
    22     <xsl:value-of select="$index-title"/>
     22    <xsl:call-template name="gentext">
     23      <xsl:with-param name="key" select="$index-title"/>
     24    </xsl:call-template>
    2325  </xsl:template>
    24  
     26
    2527  <xsl:template name="index.titlepage">
    2628    <div class="titlepage">
    2729      <h1 class="index">
    28         <xsl:value-of select="$index-title"/>
     30        <xsl:call-template name="gentext">
     31          <xsl:with-param name="key" select="$index-title"/>
     32        </xsl:call-template>
    2933      </h1>
    3034    </div>
  • stylesheets/xhtml/lfs-navigational.xsl

    r22f11a9 r4446abb  
    7171                  <xsl:choose>
    7272                    <xsl:when test="local-name($next)='index'">
    73                       <xsl:text>Index</xsl:text>
     73                      <xsl:call-template name="gentext">
     74                        <xsl:with-param name="key">Index</xsl:with-param>
     75                      </xsl:call-template>
    7476                    </xsl:when>
    7577                    <xsl:otherwise>
     
    8587                <xsl:choose>
    8688                  <xsl:when test="local-name($next)='index'">
    87                     <xsl:text>Index</xsl:text>
     89                    <xsl:call-template name="gentext">
     90                      <xsl:with-param name="key">Index</xsl:with-param>
     91                    </xsl:call-template>
    8892                  </xsl:when>
    8993                  <xsl:otherwise>
     
    177181                  <xsl:choose>
    178182                    <xsl:when test="local-name($next)='index'">
    179                       <xsl:text>Index</xsl:text>
     183                      <xsl:call-template name="gentext">
     184                        <xsl:with-param name="key">Index</xsl:with-param>
     185                      </xsl:call-template>
    180186                    </xsl:when>
    181187                    <xsl:otherwise>
     
    191197                <xsl:choose>
    192198                  <xsl:when test="local-name($next)='index'">
    193                     <xsl:text>Index</xsl:text>
     199                    <xsl:call-template name="gentext">
     200                      <xsl:with-param name="key">Index</xsl:with-param>
     201                    </xsl:call-template>
    194202                  </xsl:when>
    195203                  <xsl:otherwise>
Note: See TracChangeset for help on using the changeset viewer.