- Add comments for translators so that they do not translate JavaScript

parameters, which seem to be literal texts.  Translating these
  attributes results in rendering issues.
This commit is contained in:
Gabor Kovesdan 2009-06-02 21:11:59 +00:00
parent 29eb1125d2
commit e608282b67
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=34373
2 changed files with 23 additions and 2 deletions

View file

@ -4,7 +4,7 @@
<!ENTITY title "The FreeBSD Project">
]>
<!-- $FreeBSD: www/en/index.xsl,v 1.167 2009/01/04 22:26:15 simon Exp $ -->
<!-- $FreeBSD: www/en/index.xsl,v 1.168 2009/06/02 19:16:33 rene Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
@ -34,6 +34,13 @@
CVS, CVSup, News, Commercial Vendors, homepage, CTM, Unix"/>
<link rel="shortcut icon" href="&base;/favicon.ico" type="image/x-icon"/>
<link rel="icon" href="&base;/favicon.ico" type="image/x-icon"/>
<!--
FOR TRANSLATORS:
Do not translate the "Normal Text" and "Large Text" attributes in the
following two lines. They are not literal texts but JavaScript
parameters. Changing them will result in rendering errors.
-->
<link rel="stylesheet" media="screen" href="&base;/layout/css/fixed.css?20060509" type="text/css" title="Normal Text" />
<link rel="alternate stylesheet" media="screen" href="&base;/layout/css/fixed_large.css" type="text/css" title="Large Text" />
<script type="text/javascript" src="&base;/layout/js/styleswitcher.js"></script>

View file

@ -1,4 +1,4 @@
<!-- $FreeBSD: www/share/sgml/header.ent,v 1.9 2008/01/16 02:57:37 murray Exp $ -->
<!-- $FreeBSD: www/share/sgml/header.ent,v 1.10 2009/01/01 17:40:09 simon Exp $ -->
<!-- FreeBSD HTML Header Entities -->
<!-- PUBLIC "-//FreeBSD//ENTITIES HTML FreeBSD Header Entities//EN" -->
@ -46,12 +46,26 @@
<!ENTITY header1.link '
<link rel="shortcut icon" href="&enbase;/favicon.ico" type="image/x-icon" />
<link rel="icon" href="&enbase;/favicon.ico" type="image/x-icon" />
<!--
FOR TRANSLATORS:
Do not translate the "Normal Text" and "Large Text" attributes in the
following two lines. They are not literal texts but JavaScript
parameters. Changing them will result in rendering errors.
-->
<link rel="stylesheet" media="screen" href="&stylesheet;" type="text/css" title="Normal Text" />
<link rel="alternate stylesheet" media="screen" href="&stylesheetlarge;" type="text/css" title="Large Text" />'>
]]>
<!ENTITY header1.link '
<link rel="shortcut icon" href="&enbase;/favicon.ico" type="image/x-icon">
<link rel="icon" href="&enbase;/favicon.ico" type="image/x-icon">
<!--
FOR TRANSLATORS:
Do not translate the "Normal Text" and "Large Text" attributes in the
following two lines. They are not literal texts but JavaScript
parameters. Changing them will result in rendering errors.
-->
<link rel="stylesheet" media="screen" href="&stylesheet;" type="text/css" title="Normal Text">
<link rel="alternate stylesheet" media="screen" href="&stylesheetlarge;" type="text/css" title="Large Text">'>