aboutsummaryrefslogtreecommitdiff
path: root/el_GR.ISO8859-7/share
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-11-07 16:26:09 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-11-07 16:26:09 +0000
commitc24e829215fbc4def171517fa24de11fcf60088f (patch)
treeb3252d5c2d6270e6100481910aa97157c43d620d /el_GR.ISO8859-7/share
parentade2f328b2a8da68501133b5f6cba28f56e52727 (diff)
downloaddoc-c24e829215fbc4def171517fa24de11fcf60088f.tar.gz
doc-c24e829215fbc4def171517fa24de11fcf60088f.zip
Add a <meta> tag into %html-header-tags% to explicitly declare
the charset of HTML files generated from an DocBook/SGML file. Note to translators: While some of the translations already use this tweak in their localized freebsd.dsl, it is no longer needed so removed and the necessary changes have been added instead. After this commit, please make sure to define &doc.html.charset; in <langcode>/share/sgml/l10n.ent. If not defined, iso-8859-1 is used by default and it can break the translation. Discussed on: -doc
Notes
Notes: svn path=/head/; revision=22836
Diffstat (limited to 'el_GR.ISO8859-7/share')
-rw-r--r--el_GR.ISO8859-7/share/sgml/catalog3
-rw-r--r--el_GR.ISO8859-7/share/sgml/freebsd.dsl10
-rw-r--r--el_GR.ISO8859-7/share/sgml/l10n.ent4
3 files changed, 7 insertions, 10 deletions
diff --git a/el_GR.ISO8859-7/share/sgml/catalog b/el_GR.ISO8859-7/share/sgml/catalog
index fd6e7e7862..ae2a5e7e44 100644
--- a/el_GR.ISO8859-7/share/sgml/catalog
+++ b/el_GR.ISO8859-7/share/sgml/catalog
@@ -18,3 +18,6 @@ PUBLIC "-//FreeBSD//ENTITIES DocBook Team Entities//EL"
PUBLIC "-//FreeBSD//ENTITIES DocBook Trademark Entities//EL"
"trademarks.ent"
+
+PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN"
+ "l10n.ent"
diff --git a/el_GR.ISO8859-7/share/sgml/freebsd.dsl b/el_GR.ISO8859-7/share/sgml/freebsd.dsl
index 8111343bd1..c3d10d4f6c 100644
--- a/el_GR.ISO8859-7/share/sgml/freebsd.dsl
+++ b/el_GR.ISO8859-7/share/sgml/freebsd.dsl
@@ -11,20 +11,10 @@
<style-sheet>
<style-specification use="docbook">
<style-specification-body>
- <![ %lang.el.dsssl; [
- (define %gentext-language% "el")
- ]]>
-
<!-- HTML only .................................................... -->
<![ %output.html; [
- <!-- Add a header with the correct character-set/encoding -->
- (define %html-header-tags%
- '(("META" ("HTTP-EQUIV" "Content-Type")
- ("CONTENT" "text/html; charset=ISO-8859-7"))))
-
-
<!-- Generate links to HTML man pages -->
(define %refentry-xref-link% #t)
diff --git a/el_GR.ISO8859-7/share/sgml/l10n.ent b/el_GR.ISO8859-7/share/sgml/l10n.ent
new file mode 100644
index 0000000000..e215468401
--- /dev/null
+++ b/el_GR.ISO8859-7/share/sgml/l10n.ent
@@ -0,0 +1,4 @@
+<!-- $FreeBSD$ -->
+
+<!-- charset for HTML output -->
+<!ENTITY doc.html.charset "iso-8859-7">