docs/100334: [PATCH] zh_CN: Correct th last part of FPI(should be ISO 639 language code)
chinsan
chinsan.tw at gmail.com
Sat Jul 15 10:50:23 UTC 2006
>Number: 100334
>Category: docs
>Synopsis: [PATCH] zh_CN: Correct th last part of FPI(should be ISO 639 language code)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 15 10:50:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan2.twbbs.org 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun 2 16:44:35 CST 2006 root at chinsan2.twbbs.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:
- Correct th last part of FPI(should be ISO 639 language code)
As a result of http://lists.freebsd.org/pipermail/freebsd-doc/2006-July/010736.html
hrs@: "The last part of FPI have to be a language code, not a country code, specified in ISO 639"
Accroding to /usr/share/misc/iso639, zh_CN.GB2312 should take "ZH" as the last part of FPI.
>How-To-Repeat:
>Fix:
--- zh_CN.GB2312.FPI.diff begins here ---
diff -ruN zh_CN.GB2312/share/sgml.orig/catalog zh_CN.GB2312/share/sgml/catalog
--- zh_CN.GB2312/share/sgml.orig/catalog Sat Jul 15 18:45:03 2006
+++ zh_CN.GB2312/share/sgml/catalog Sat Jul 15 18:46:07 2006
@@ -14,10 +14,10 @@
PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN"
"l10n.ent"
-- Addition to en_US, opened in l10n.ent. --
-PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//CN"
+PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//ZH"
"authors.ent"
-- Chinese-specific, opened in l10n.ent. --
-PUBLIC "-//FreeBSD//ENTITIES DocBook Author In Author Tag Entities//CN"
+PUBLIC "-//FreeBSD//ENTITIES DocBook Author In Author Tag Entities//ZH"
"authors-in-author-tag.ent"
-- Override en_US --
PUBLIC "-//FreeBSD//ENTITIES DocBook Team Entities//EN"
diff -ruN zh_CN.GB2312/share/sgml.orig/l10n.ent zh_CN.GB2312/share/sgml/l10n.ent
--- zh_CN.GB2312/share/sgml.orig/l10n.ent Sat Jul 15 18:45:03 2006
+++ zh_CN.GB2312/share/sgml/l10n.ent Sat Jul 15 18:46:50 2006
@@ -16,11 +16,11 @@
<!ENTITY % output.for.print "IGNORE">
-<!ENTITY % authors.cn PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//CN">
+<!ENTITY % authors.cn PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//ZH">
%authors.cn;
<!ENTITY % authors.in.author.tag.cn
- PUBLIC "-//FreeBSD//ENTITIES DocBook Author In Author Tag Entities//CN">
+ PUBLIC "-//FreeBSD//ENTITIES DocBook Author In Author Tag Entities//ZH">
%authors.in.author.tag.cn;
<!ENTITY cnproj.freebsd.org "FreeBSD ÖÐÎļƻ®">
--- zh_CN.GB2312.FPI.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list