Commit graph

20 commits

Author SHA1 Message Date
Hiroki Sato
925e309a67 Improve transtable.{xml,xsl}, including:
- The structure of transtable.xml is revised.  <word> should be
   bracketed with <group>.

 - A sorting order of the FreeBSD mirror sites rendered using
   mirrors.xml has been determined by sort(1).

 - A template "transtable-lookup" has been added for localization on
   word-by-word basis.

 - Replace English month names in news.xml, press.xml, and
   advisories.xml with numbers that correspond to the names.
   The number->name translation is performed on the fly.

 - Since information in mirrors.xml is used in www/ tree, it depends on
   doc/ tree now.  When WITHOUT_DOC is defined it can be built without
   doc/ tree, but some information becomes unavailable.  For example,
   a list of the mirror sites generated in index.html becomes a dummy
   one, and calling "transtable-lookup" with a word returns the word
   itself.

Neither www/ nor doc/ build should be broken due to this commit, but
until the necessary changes are applied in the localized directories,
the transtable does not work; it simply generates non-localized contents
even if transtable.xsl is used.
2004-01-12 21:27:01 +00:00
Hiroki Sato
0603e9b37a Merge the following from the English version:
1.19  -> 1.20 	includes.xsl
	1.25  -> 1.26 	internal/internal.sgml
	1.2   -> 1.3  	platforms/alpha.sgml
	1.4   -> 1.5  	platforms/amd64.sgml
	1.15  -> 1.17 	platforms/sparc.sgml
2003-12-06 08:13:03 +00:00
Hiroki Sato
c1cc8a1352 Add refinements on mirrors.xml:
- add doc.common.mk, which defines variables, targets, and
   dependencies commonly used in www/ and doc/.

 - move www/<lang>/includes.xsl to the language independent
   directory and split into several files.

 - add transtable*.xsl and transtable.xml to support localized
   mirror names.

 - make doc/{en_US.ISO8859-1,ja_JP.eucJP}/books/handbook/ use
   mirrors.xml (mirrors and eresources).

 - make www/{en,ja}/index.xsl use mirrors.xml.

For details, please see doc/share/sgml/README.mirrors for the moment.

Reviewed by:	simon and Alex Dupre <sysadmin@alexdupre.com>
2003-11-24 18:26:35 +00:00
Hiroki Sato
011ce7b702 - Use mirrors.xml in ja_JP.eucJP. To translate country names, transtable.xsl
is used.

- Add transtable support to doc/share/sgml/mirrors.xsl.

- Some whitespace cleanups.
2003-11-17 06:28:19 +00:00
Hideyuki KURASHINA
0df27e7c94 Catch up with the English version:
1.39  -> 1.42   docproj/current.sgml
   1.2   -> 1.3    gallery/gallery-entry.xsl
   1.1   -> 1.2    gallery/gallery.xsl
   1.16  -> 1.17   includes.xsl
   1.79  -> 1.80   index.xsl
2003-11-02 07:54:23 +00:00
Hiroki Sato
dc3e9507db Merge the following from the English version:
1.22  -> 1.23 	applications.sgml
	1.60  -> 1.61 	includes.sgml
	1.15  -> 1.16 	includes.xsl
	1.27  -> 1.28 	mailto.sgml
	1.30  -> 1.31 	send-pr.sgml
	1.58  -> 1.60 	where.sgml
2003-10-11 15:47:45 +00:00
Hiroki Sato
dfa07a9d44 Merge the following from the English version:
1.14  -> 1.15 	includes.xsl
	1.60  -> 1.66 	index.xsl
	1.15  -> 1.16 	docproj/docproj.sgml
	1.20  -> 1.21 	docproj/sgml.sgml
2003-07-07 21:10:41 +00:00
Hiroki Sato
944476d60d Catch up with the English version and hook them up:
1.56  -> 1.57 	includes.sgml
	1.13  -> 1.14 	includes.xsl
	1.56  -> 1.60 	index.xsl
	1.86  -> 1.90 	releases/index.sgml
	(new) -> 1.1  	releases/5.1R/announce.sgml

Submitted by:	rushani
2003-06-10 20:45:06 +00:00
Hideyuki KURASHINA
191843c9a0 Add Japanese 4.8-RELEASE release docs and activate them:
1.55 	-> 1.56	includes.sgml
  1.12 	-> 1.13	includes.xsl
  1.35 	-> 1.37	releases/Makefile
  1.85 	-> 1.86	releases/index.sgml
  1.2  	-> 1.4	releases/4.8R/Makefile
  (new) -> 1.1	releases/4.8R/announce.sgml

Committed at:	Seiwa park, Bunkyoh, Tokyo (HANAMI 2003)
2003-04-06 04:54:26 +00:00
Hiroki Sato
0cee549880 Add Japanese 5.0-RELEASE release docs and activate them:
1.54  -> 1.55 	includes.sgml
	1.11  -> 1.12 	includes.xsl
	1.43  -> 1.46 	index.xsl
	1.83  -> 1.85 	releases/index.sgml
	1.14  -> 1.16 	releases/snapshots.sgml
	(new) -> 1.6  	releases/5.0R/Makefile
	(new) -> 1.1  	releases/5.0R/Makefile.inc
	(new) -> 1.3  	releases/5.0R/announce.sgml
	(new) -> 1.1   	releases/5.0R/docbook.css
	(new) -> 1.3  	releases/5.0R/hardware.sgml
	(new) -> 1.3  	releases/5.0R/installation.sgml
	(new) -> 1.2  	releases/5.0R/relnotes.sgml
2003-01-22 04:11:07 +00:00
Hiroki Sato
81edaae658 Merge the following from the English version:
1.53  -> 1.54 	includes.sgml
	1.10  -> 1.11 	includes.xsl
	1.37  -> 1.43 	index.xsl

Submitted by:	Hideyuki KURASHINA <rushani@jp.FreeBSD.org>
References:	[doc-jp-work 553]
2003-01-05 18:27:51 +00:00
Hiroki Sato
507e7dedfd Merge the following from the English version:
1.9   -> 1.10 	includes.xsl
	1.29  -> 1.37 	index.xsl
	1.42  -> 1.43 	internal/about.sgml
	1.24  -> 1.25 	internal/developer.sgml
	1.22  -> 1.23 	internal/internal.sgml
	1.29  -> 1.36 	internal/machines.sgml
	1.15  -> 1.16 	internal/mirror.sgml
	1.14  -> 1.17 	internal/statistic.sgml
	1.4   -> 1.5  	prstats/index.sgml
2002-11-03 19:29:24 +00:00
Hiroki Sato
2b575eca0b MFen and activate Japanese 4.6.2R-related docs:
1.51  -> 1.52 	includes.sgml
	1.7   -> 1.9  	includes.xsl
	1.25  -> 1.29 	index.xsl
	1.32  -> 1.35 	releases/Makefile
	1.76  -> 1.78 	releases/index.sgml
	(new)         	releases/4.6.2R/relnotes-alpha.html
	(new)         	releases/4.6.2R/relnotes-i386.html
2002-08-19 22:01:45 +00:00
Hiroki Sato
ab36805f1e Catch up with the English version:
1.6   -> 1.7  	includes.xsl
	1.23  -> 1.25 	index.xsl
2002-06-25 20:12:36 +00:00
Jun Kuriyama
f551c7ccb4 MFen. 2002-01-31 13:49:41 +00:00
Jun Kuriyama
edf4ff4992 Merge the changes in the English version. 2002-01-14 13:38:56 +00:00
Hiroki Sato
20f4053a7f - Merge the following from the English version
and fix a typo in news.xml:

	1.31  -> 1.32 	news/news.sgml
	1.46  -> 1.49 	news/news.xml

Pointed out by:	KANOU Hiroki <kanou@mil.allnet.ne.jp>
References:	[doc-jp 8592]

- Add a variable $enbase to point the original documents' base.
2002-01-01 19:17:15 +00:00
Hiroki Sato
525ae37f5f Catch up with the English version:
1.45  -> 1.46 	includes.sgml
	1.2   -> 1.4  	includes.xsl
	1.62  -> 1.64 	releases/index.sgml
2001-11-16 17:14:12 +00:00
Jun Kuriyama
e28c5b9f5e Transit to new index.html. 2001-08-08 03:55:55 +00:00
Jun Kuriyama
d7c5844b64 Follow Nik's new XML framework. 2001-08-07 03:58:32 +00:00