aboutsummaryrefslogtreecommitdiff
path: root/hu_HU.ISO8859-2
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-11-11 19:26:20 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-11-11 19:26:20 +0000
commitae0395da63a10578bd2fcbba061e58b2b4534e03 (patch)
tree9ce582654d6e6532241e5972c0a5e7f98bef79ba /hu_HU.ISO8859-2
parent640294fa86fa5b13ab4f84a0a8b04ff128d2bcf2 (diff)
downloaddoc-ae0395da63a10578bd2fcbba061e58b2b4534e03.tar.gz
doc-ae0395da63a10578bd2fcbba061e58b2b4534e03.zip
Simplify localization layer for XSLT stylesheets. lang/share/xsl/*.xsl are
now picked up via share/xsl/*.xsl and they are empty when there is no localized content in it. This prevents inconsistency between share/xsl/*.xsl and the localized ones.
Notes
Notes: svn path=/head/; revision=43171
Diffstat (limited to 'hu_HU.ISO8859-2')
-rw-r--r--hu_HU.ISO8859-2/share/xsl/freebsd-common.xsl1
-rw-r--r--hu_HU.ISO8859-2/share/xsl/freebsd-epub.xsl6
-rw-r--r--hu_HU.ISO8859-2/share/xsl/freebsd-fo.xsl6
-rw-r--r--hu_HU.ISO8859-2/share/xsl/freebsd-xhtml-chunk.xsl18
-rw-r--r--hu_HU.ISO8859-2/share/xsl/freebsd-xhtml-common.xsl17
-rw-r--r--hu_HU.ISO8859-2/share/xsl/freebsd-xhtml.xsl17
6 files changed, 8 insertions, 57 deletions
diff --git a/hu_HU.ISO8859-2/share/xsl/freebsd-common.xsl b/hu_HU.ISO8859-2/share/xsl/freebsd-common.xsl
index 25f2b6a3a9..53fd05a3c0 100644
--- a/hu_HU.ISO8859-2/share/xsl/freebsd-common.xsl
+++ b/hu_HU.ISO8859-2/share/xsl/freebsd-common.xsl
@@ -6,5 +6,4 @@
version='1.0'
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
-
</xsl:stylesheet>
diff --git a/hu_HU.ISO8859-2/share/xsl/freebsd-epub.xsl b/hu_HU.ISO8859-2/share/xsl/freebsd-epub.xsl
index 7309b5fc24..53fd05a3c0 100644
--- a/hu_HU.ISO8859-2/share/xsl/freebsd-epub.xsl
+++ b/hu_HU.ISO8859-2/share/xsl/freebsd-epub.xsl
@@ -6,10 +6,4 @@
version='1.0'
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
-
- <!-- Pull in the language-independent stylesheet -->
- <xsl:import href="http://www.FreeBSD.org/XML/doc/share/xsl/freebsd-epub.xsl"/>
-
- <!-- Language-specific general customizations -->
- <xsl:import href="freebsd-common.xsl"/>
</xsl:stylesheet>
diff --git a/hu_HU.ISO8859-2/share/xsl/freebsd-fo.xsl b/hu_HU.ISO8859-2/share/xsl/freebsd-fo.xsl
index cbc743b04b..53fd05a3c0 100644
--- a/hu_HU.ISO8859-2/share/xsl/freebsd-fo.xsl
+++ b/hu_HU.ISO8859-2/share/xsl/freebsd-fo.xsl
@@ -6,10 +6,4 @@
version='1.0'
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
-
- <!-- Pull in the language-independent stylesheet -->
- <xsl:import href="http://www.FreeBSD.org/XML/doc/share/xsl/freebsd-fo.xsl"/>
-
- <!-- Language-specific general customizations -->
- <xsl:import href="freebsd-common.xsl"/>
</xsl:stylesheet>
diff --git a/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml-chunk.xsl b/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml-chunk.xsl
deleted file mode 100644
index 3dfe2db188..0000000000
--- a/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml-chunk.xsl
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version='1.0'?>
-
-<!-- $FreeBSD$ -->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'
- xmlns="http://www.w3.org/TR/xhtml1/transitional"
- exclude-result-prefixes="#default">
-
- <!-- Pull in the language-independent stylesheet -->
- <xsl:import href="http://www.FreeBSD.org/XML/doc/share/xsl/freebsd-xhtml-chunk.xsl"/>
-
- <!-- Language-specific general customizations -->
- <xsl:import href="freebsd-common.xsl"/>
-
- <!-- Language-specific common XHTML customizations -->
- <xsl:import href="freebsd-xhtml-common.xsl"/>
-</xsl:stylesheet>
diff --git a/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml-common.xsl b/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml-common.xsl
deleted file mode 100644
index e43c36bdc3..0000000000
--- a/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml-common.xsl
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version='1.0' encoding='iso-8859-2'?>
-
-<!-- $FreeBSD$ -->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'
- xmlns="http://www.w3.org/TR/xhtml1/transitional"
- exclude-result-prefixes="#default">
-
- <xsl:template name="user.footer.navigation">
- <p align="center"><small>Ha kérdése van a FreeBSD-vel kapcsolatban, a
- következő címre írhat (angolul):
- &lt;<a href="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>&gt;.<br/>
- Ha ezzel a dokumentummal kapcsolatban van kérdése, kérjük erre a címre írjon:
- &lt;<a href="mailto:gabor@FreeBSD.org">gabor@FreeBSD.org</a>&gt;.</small></p>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml.xsl b/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml.xsl
index 3e3d7cb6b2..e43c36bdc3 100644
--- a/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml.xsl
+++ b/hu_HU.ISO8859-2/share/xsl/freebsd-xhtml.xsl
@@ -1,4 +1,4 @@
-<?xml version='1.0'?>
+<?xml version='1.0' encoding='iso-8859-2'?>
<!-- $FreeBSD$ -->
@@ -7,12 +7,11 @@
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
- <!-- Pull in the language-independent stylesheet -->
- <xsl:import href="http://www.FreeBSD.org/XML/doc/share/xsl/freebsd-xhtml.xsl"/>
-
- <!-- Language-specific general customizations -->
- <xsl:import href="freebsd-common.xsl"/>
-
- <!-- Language-specific common XHTML customizations -->
- <xsl:import href="freebsd-xhtml-common.xsl"/>
+ <xsl:template name="user.footer.navigation">
+ <p align="center"><small>Ha kérdése van a FreeBSD-vel kapcsolatban, a
+ következő címre írhat (angolul):
+ &lt;<a href="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>&gt;.<br/>
+ Ha ezzel a dokumentummal kapcsolatban van kérdése, kérjük erre a címre írjon:
+ &lt;<a href="mailto:gabor@FreeBSD.org">gabor@FreeBSD.org</a>&gt;.</small></p>
+ </xsl:template>
</xsl:stylesheet>