-Updated header.l10n.ent based on the zh_TW and en_US versions.

-Changed to used layout files from en_US as zh_TW and jp versions are doing that as well. Old local layouts are deleted.

Submitted by: Guangyuan (Charlie) Yang <cyang@freebsdfoundation.org>
Reviewed by: delphij
Differential Revision:	https://reviews.freebsd.org/D11794
This commit is contained in:
Ruey-Cherng Yu 2017-08-11 16:03:20 +00:00
parent 545e223e02
commit cba839034b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50662
11 changed files with 105 additions and 241 deletions

View file

@ -76,7 +76,7 @@ SUBDIR+= doc
# # Non-XML
# SUBDIR+= cgi
# SUBDIR+= gifs
SUBDIR+= layout
# SUBDIR+= layout
#SUBDIR+= logo
WEBDIR?= data/zh_CN

View file

@ -1,15 +0,0 @@
# The FreeBSD Simplified Chinese Project
# Original Revision: 1.1
#
# $FreeBSD$
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
SUBDIR= css
.include "${DOC_PREFIX}/share/mk/web.site.mk"

View file

@ -1,7 +0,0 @@
# The FreeBSD Simplified Chinese Project
# Original Revision: 1.1
#
# $FreeBSD$
WEBBASE?= /data/zh_CN/layout
DOC_PREFIX?= ${.CURDIR}/../../../..

View file

@ -1,16 +0,0 @@
#
# The FreeBSD Simplified Chinese Project
# Original Revision: 1.2
#
# $FreeBSD$
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
DATA= fixed.css fixed_large.css global.css layout.css navigation.css text.css
.include "${DOC_PREFIX}/share/mk/web.site.mk"

View file

@ -1,23 +0,0 @@
/*
FreeBSD.org - "Red" Style
Inspired by AListApart, PositionIsEverything, Mozilla, Red Hat, and many more.
Copyright (c) 2004, 2005 The FreeBSD Project
Copyright (c) 2004, 2005 Emily Boyd <emily at emilyboyd.com>
This file, and any imported stylesheets are licensed under the BSD license.
The FreeBSD Simplified Chinese Project
Original Revision: 1.5
$FreeBSD$
*/
@import url("global.css");
@import url("layout.css");
@import url("text.css");
@import url("navigation.css");
@import url("../../../layout/css/table.css");
@import url("../../../layout/css/iefixes.css");

View file

@ -1,14 +0,0 @@
/*
* FreeBSD Global Style - Large Text Version
*
* The FreeBSD Simplified Chinese Project
* Original Revision: 1.3
*
* $FreeBSD$
*/
@import url("fixed.css");
body {
font-size: 93%;
}

View file

@ -1,18 +0,0 @@
/*
* FreeBSD.org - Global Styles
*
* The FreeBSD Simplified Chinese Project
* Original Revision: 1.11
*
* $FreeBSD$
*/
@import url("../../../layout/css/global.css");
h5 {
font-size: 1.09em;
}
h6 {
font-size: 1.09em;
}

View file

@ -1,62 +0,0 @@
/*
* FreeBSD.org - Layout Styles
*
* The FreeBSD Simplified Chinese Project
* Original Revision: 1.10
*
* $FreeBSD$
*/
@import url("../../../layout/css/layout.css");
/* Container Definitions */
/* Search */
#search form input {
font-size: 1.09em;
}
#search form #submit {
font-size: 1.09em;
}
#search form #words {
font-size: 1.0em;
}
/* Mirror Select */
#mirror form label {
font-size: 1.09em;
}
#mirror form select {
font-size: 1.09em;
}
#mirror form #mirrorsel {
font-size: 1.09em;
}
#mirror input {
font-size: 1.09em;
}
/* Content */
.frontnewcontent {
font-size: 1.1em;
}
/* Get FreeBSD Box */
.frontgetcontent {
font-size: 1.4em;
}
/* Footer */
#footer {
font-size: 1.09em;
}

View file

@ -1,39 +0,0 @@
/*
* FreeBSD.org - Navigation (and List) Styles
*
* The FreeBSD Simplified Chinese Project
* Original Revision: 1.4
* $FreeBSD$
*/
@import url("../../../layout/css/navigation.css");
/* Site Navigation */
#topnav {
font-size: 1.09em;
}
/* Language selection */
#languagenav {
font-size: 1.09em;
}
/* The search navigation is the list of links above the search box. */
#searchnav {
font-size: 1.09em;
}
/* Category Navigation */
#sidenav, #sidenav ul, #sidenav ul ul {
font-size: 1.0em;
}
/* Right Navigation */
.rightnav, .rightnav ul, .rightnav ul ul {
font-size: 1.0em;
}

View file

@ -1,28 +0,0 @@
/*
* FreeBSD.org - Text Styles
*
* The FreeBSD Simplified Chinese Project
* Original Revision: 1.4
*
* $FreeBSD$
*/
@import url("../../../layout/css/text.css");
/* Text Styles */
.txtdivider {
font-size: 1.09em;
}
.txtnewsevent {
font-size: 1.09em;
}
.txtshortcuts {
font-size: 1.09em;
}
.txtdate {
font-size: 1.09em;
}

View file

@ -2,32 +2,118 @@
<!-- $FreeBSD$ -->
<!-- The FreeBSD Simplified Chinese Documentation Project -->
<!-- From FreeBSD: www/share/xml/header.ent,v 1.6 2007/02/15 21:49:46 gabor -->
<!-- Original revision: r49777 -->
<!ENTITY copyright '<span xmlns="http://www.w3.org/1999/xhtml"><a href="&enbase;/search/index-site.html">站点地图</a> |
<a href="&base;/copyright/">版权信息</a> | &copy; 1995-2007 The FreeBSD Project.
<!ENTITY copyright '<span xmlns="http://www.w3.org/1999/xhtml"><a href="&base;/search/index-site.html">站点地图</a> |
<a href="&base;/copyright/">法律信息</a> | &copy; 1995&ndash;2017 FreeBSD 项目。
保留所有权利。</span>'>
<!ENTITY author '<a href="&base;/index.html">首页</a> &nbsp; | &nbsp; <a href="&base;/mailto.html">联系</a> &nbsp; | &nbsp; <a href="&base;/copyright/index.html">版权</a> &nbsp; | &nbsp; &copyright;'>
<!ENTITY email 'freebsd-questions'>
<!ENTITY author '<a href="&base;/index.html">主页</a> &nbsp; | &nbsp; <a href="&base;/mailto.html">联系</a> &nbsp; | &nbsp; <a href="&base;/copyright/index.html">版权</a> &nbsp; | &nbsp; &copyright;'>
<!ENTITY home '<a href="&base;/index.html"><img src="&enbase;/gifs/home.gif"
alt="FreeBSD 主页" border="0" align="right" width="101" height="33"></a>'>
<!ENTITY header2.word.search '搜索'>
<!ENTITY header2.word.donate '捐赠'>
<!ENTITY header2.word.contact '联'>
<!ENTITY header2.word.contact '联'>
<!ENTITY stylesheet '&base;/layout/css/fixed.css'>
<!ENTITY stylesheetlarge '&base;/layout/css/fixed_large.css'>
<!ENTITY header2.donatebutton '
<div xmlns="http://www.w3.org/1999/xhtml" class="frontdonateroundbox">
<div class="frontdonatetop"><div><b style="display: none;">.</b></div></div>
<div class="frontdonatecontent">
<a
href="https://www.FreeBSDFoundation.org/donate/">捐赠 FreeBSD</a>
</div>
<div class="frontdonatebot"><div><b style="display: none;">.</b></div></div>
</div>
'>
<!ENTITY stylesheet '&enbase;/layout/css/fixed.css'>
<!ENTITY stylesheetlarge '&enbase;/layout/css/fixed_large.css'>
<!ENTITY nav ''>
<!ENTITY header2.topnav '
<div xmlns="http://www.w3.org/1999/xhtml" id="topnav">
<ul id="topnavlist">
<li><a href="&base;/" title="首页">首页</a></li>
<li><a href="&base;/about.html" title="关于">关于</a></li>
<li><a href="&base;/where.html" title="获得 FreeBSD">获得 FreeBSD</a></li>
<li><a href="&base;/docs.html" title="文档">文档</a></li>
<li><a href="&base;/community.html" title="社区">社区</a></li>
<li><a href="&enbase;/projects/index.html" title="开发">开发</a></li>
<li><a href="&base;/support.html" title="支持">支持</a></li>
<div xmlns="http://www.w3.org/1999/xhtml" id="menu">
<ul class="first">
<li><a href="&base;/">首页</a></li>
</ul>
</div> <!-- TOPNAV -->
'>
<ul>
<li><a href="&base;/about.html">关于</a>
<ul>
<li><a href="&enbase;/projects/newbies.html">简介</a></li>
<li><a href="&enbase;/features.html">特性</a></li>
<li><a href="&enbase;/advocacy/">宣传</a></li>
<li><a href="&enbase;/marketing/">营销</a></li>
<li><a href="&enbase;/privacy.html">隐私政策</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href="&base;/where.html">获取 FreeBSD</a>
<ul>
<li><a href="&base;/releases/">发行版本</a></li>
<li><a href="&enbase;/releng/">发布工程</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href="&base;/docs.html">文档</a>
<ul>
<li><a href="&enbase;/doc/en_US.ISO8859-1/books/faq/">常见问题合集</a></li>
<li><a href="&enbase;/doc/zh_CN/books/handbook/">使用手册</a></li>
<li><a href="&enbase;/doc/zh_CN/books/porters-handbook">Porter&#39; 手册</a></li>
<li><a href="&enbase;/doc/zh_TW/books/developers-handbook">Developer&#39; 手册</a></li>
<li><a href="&cgibase;/man.cgi">Manual Pages</a></li>
<li><a href="&enbase;/doc/zh_TW/books/fdp-primer">文档计划入门书</a></li>
<li><a href="&enbase;/docs/books.html">所有书籍和文档</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href="&base;/community.html">社区</a>
<ul>
<li><a href="&enbase;/community/mailinglists.html">邮件列表</a></li>
<li><a href="https://forums.FreeBSD.org">论坛</a></li>
<li><a href="&enbase;/usergroups.html">用户群体</a></li>
<li><a href="&enbase;/events/events.html">活动</a></li>
<li><a href="http://serverfault.com/questions/tagged/freebsd">Q&amp;A (external)</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href="&enbase;/projects/index.html">开发</a>
<ul>
<li><a href="https://wiki.FreeBSD.org/IdeasPage">Project Ideas</a></li>
<li><a href="https://svnweb.FreeBSD.org">SVN Repository</a></li>
<li><a href="https://github.com/freebsd">GIT Repository</a></li>
<li><a href="http://p4web.FreeBSD.org">Perforce Repository</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href="&base;/support.html">支持</a>
<ul>
<li><a href="&enbase;/commercial/commercial.html">供应商</a></li>
<li><a href="&enbase;/security/">安全公告</a></li>
<li><a href="https://bugs.FreeBSD.org/search/">问题报告</a></li>
<li><a href="https://www.FreeBSD.org/support.html">提交问题报告</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href="https://www.freebsdfoundation.org/">基金会</a>
<ul>
<li><a href="https://www.freebsdfoundation.org/donate/">资金捐赠</a></li>
<li><a href="&enbase;/donations/index.html#systems">硬件捐赠</a></li>
</ul>
</li>
</ul>
</div> <!-- MENU -->
'>
<!-- macro for webbuild paper -->
<!ENTITY webbuild '
<p xmlns="http://www.w3.org/1999/xhtml">介绍如何手动通过 SVN repository 更新,
以及编译 FreeBSD 网页。</p>'>