Hi, I would like to get your opinion and feedback on certain needs for pre-translation improvements. When I translate trunk documents and apply that translation to the relevant branches, I usually notice that the <glossary> tags that exist in other branches (2.2.x in this case) do not exist in the 2.0.x documents. I do not know the reason but I keep the <glossary> tags in this type of content in my translations because the resulting links to the glossary work just as well. The only difference is in their appearance which can easily be overcome with a small patch. I attach here a patch so that the links generated by the <glossary> tags in 2.0.x documents will have the same appearance in other branches (2.2.x and trunk in this case). Would you like to apply this patch?
I cannot promise that I will find and correct all such instances in the currently translated 2.0.x documents, however I can make sure in future translations that whenever such labels exist in other branches, they also exist in the 2.0.x documents. Would you like me to do that? Best regards, Nilgün
Index: manual/style/css/manual.css =================================================================== --- manual/style/css/manual.css (revision 678282) +++ manual/style/css/manual.css (working copy) @@ -137,6 +137,14 @@ color: #8b4513; } +/* glossary [links] */ +/* ====================== */ +.glossarylink { + cursor: help; + border-bottom: 1px dashed #0073c7; + text-decoration: none; +} + /* code.directive [links] */ /* ====================== */ code.directive, Index: manual/style/xsl/common.xsl =================================================================== --- manual/style/xsl/common.xsl (revision 678282) +++ manual/style/xsl/common.xsl (working copy) @@ -956,15 +956,15 @@ <!-- link to a glossary anchor --> <!-- ==================================================================== --> <xsl:template match="glossary"> -<span> - <xsl:attribute name="title"> - <xsl:value-of select="[EMAIL PROTECTED]'glossarylink']" /> - </xsl:attribute> - <xsl:text>→</xsl:text> -</span> -<a href="{$path}/[EMAIL PROTECTED]"> - <xsl:apply-templates /> -</a> +<!-- Mandatory @ref to translations should be mandatory for original too. --> + <if test="(@ref)"> + <a href="{$path}/[EMAIL PROTECTED]" class="glossarylink"> + <xsl:attribute name="title"> + <xsl:value-of select="[EMAIL PROTECTED]'glossarylink']" /> + </xsl:attribute> + <xsl:apply-templates /> + </a> + </if> </xsl:template> <!-- /glossary -->
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]