cvs: phpdoc / Makefile.in configure.in lang-de.ent lang-en.ent lang-es.ent lang-fr.ent lang-hu.ent lang-it.ent lang-ja.ent lang-nl.ent lang-pt_BR.ent
lang-tw.ent manual.xml.in /de chapters.ent language-defs.ent /en chapters.ent language-defs.ent /es chapters.ent language-defs.ent /fr
chapters.ent language-defs.ent /hu chapters.ent language-defs.ent /it chapters.ent language-defs.ent /ja chapters.ent language-defs.ent /nl
chapters.ent language-defs.ent /pt_BR chapters.ent language-defs.ent
| From: | Hartmut Holzgraefe | Date: | Fri, 15 Dec 2000 08:58:56 +0000 |
| Subject: | cvs: phpdoc / Makefile.in configure.in lang-de.ent lang-en.ent lang-es.ent lang-fr.ent lang-hu.ent lang-it.ent lang-ja.ent lang-nl.ent lang-pt_BR.ent lang-tw.ent manual.xml.in /de chapters.ent language-defs.ent /en chapters.ent language-defs.ent /es chapters.ent language-defs.ent /fr chapters.ent language-defs.ent /hu chapters.ent language-defs.ent /it chapters.ent language-defs.ent /ja chapters.ent language-defs.ent /nl chapters.ent language-defs.ent /pt_BR chapters.ent language-defs.ent |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333292@lists.php.net to get a copy of this message | ||
hholzgra Fri Dec 15 00:58:56 2000 EDT
Added files:
/phpdoc/de language-defs.ent
/phpdoc/en language-defs.ent
/phpdoc/es language-defs.ent
/phpdoc/fr language-defs.ent
/phpdoc/hu language-defs.ent
/phpdoc/it language-defs.ent
/phpdoc/ja language-defs.ent
/phpdoc/nl language-defs.ent
/phpdoc/pt_BR language-defs.ent
Removed files:
/phpdoc lang-de.ent lang-en.ent lang-es.ent lang-fr.ent lang-hu.ent
lang-it.ent lang-ja.ent lang-nl.ent lang-pt_BR.ent
lang-tw.ent
/phpdoc/de chapters.ent
/phpdoc/en chapters.ent
/phpdoc/es chapters.ent
/phpdoc/fr chapters.ent
/phpdoc/hu chapters.ent
/phpdoc/it chapters.ent
/phpdoc/ja chapters.ent
/phpdoc/nl chapters.ent
/phpdoc/pt_BR chapters.ent
Modified files:
/phpdoc Makefile.in configure.in manual.xml.in
Log:
chapters.ent will now be created by configure
if xml files are missing in a translation subdir
it will automaticly use the english original
so there is no need to have copies of untranslated
files in language subdirectories anymore
all language dependant files have been moved to
the appropriate language subdirs
NOTICE: you have to re-run autoconf and configure!
PR:
Submitted by:
Reviewed by:
Obtained from:
Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.46 phpdoc/Makefile.in:1.47 --- phpdoc/Makefile.in:1.46 Thu Dec 14 13:49:11 2000 +++ phpdoc/Makefile.in Fri Dec 15 00:58:52 2000 @@ -26,7 +26,7 @@ # +----------------------------------------------------------------------+ # -# $Id: Makefile.in,v 1.46 2000/12/14 21:49:11 martin Exp $ +# $Id: Makefile.in,v 1.47 2000/12/15 08:58:52 hholzgra Exp $ # VPATH=@srcdir@ @@ -54,98 +54,6 @@ all: html -PREFACE=$(LANG)/preface.xml \ - $(LANG)/bookinfo.xml - -APPENDICES=$(LANG)/appendices/migration.xml \ - $(LANG)/appendices/escaping.xml \ - $(LANG)/appendices/regexp.xml \ - $(LANG)/appendices/http-stuff.xml \ - $(LANG)/appendices/history.xml \ - $(LANG)/appendices/debugger.xml \ - $(LANG)/appendices/phpdevel.xml - -CHAPTERS=$(LANG)/chapters.ent \ - $(LANG)/chapters/copyright.xml \ - $(LANG)/chapters/intro.xml \ - $(LANG)/chapters/config.xml \ - $(LANG)/chapters/install.xml \ - $(LANG)/chapters/security.xml \ - $(LANG)/features/connection-handling.xml \ - $(LANG)/features/file-upload.xml \ - $(LANG)/features/cookies.xml \ - $(LANG)/features/http-auth.xml \ - $(LANG)/features/error-handling.xml \ - $(LANG)/features/images.xml \ - $(LANG)/features/remote-files.xml \ - $(LANG)/language/basic-syntax.xml \ - $(LANG)/language/operators.xml \ - $(LANG)/language/constants.xml \ - $(LANG)/language/types.xml \ - $(LANG)/language/control-structures.xml \ - $(LANG)/language/functions.xml \ - $(LANG)/language/oop.xml \ - $(LANG)/language/variables.xml \ - $(LANG)/language/expressions.xml - -FUNCREF= \ - $(LANG)/functions/array.xml \ - $(LANG)/functions/bc.xml \ - $(LANG)/functions/com.xml \ - $(LANG)/functions/classobj.xml \ - $(LANG)/functions/curl.xml \ - $(LANG)/functions/cybercash.xml \ - $(LANG)/functions/domxml.xml \ - $(LANG)/functions/datetime.xml \ - $(LANG)/functions/dbase.xml \ - $(LANG)/functions/dbm.xml \ - $(LANG)/functions/dl.xml \ - $(LANG)/functions/dir.xml \ - $(LANG)/functions/exec.xml \ - $(LANG)/functions/filepro.xml \ - $(LANG)/functions/filesystem.xml \ - $(LANG)/functions/ftp.xml \ - $(LANG)/functions/http.xml \ - $(LANG)/functions/hw.xml \ - $(LANG)/functions/ibase.xml \ - $(LANG)/functions/ifx.xml \ - $(LANG)/functions/image.xml \ - $(LANG)/functions/imap.xml \ - $(LANG)/functions/ldap.xml \ - $(LANG)/functions/mail.xml \ - $(LANG)/functions/math.xml \ - $(LANG)/functions/mcal.xml \ - $(LANG)/functions/misc.xml \ - $(LANG)/functions/mcrypt.xml \ - $(LANG)/functions/msql.xml \ - $(LANG)/functions/mysql.xml \ - $(LANG)/functions/nis.xml \ - $(LANG)/functions/sybase.xml \ - $(LANG)/functions/network.xml \ - $(LANG)/functions/oci8.xml \ - $(LANG)/functions/oracle.xml \ - $(LANG)/functions/ovrimos.xml \ - $(LANG)/functions/pcre.xml \ - $(LANG)/functions/pfpro.xml \ - $(LANG)/functions/pgsql.xml \ - $(LANG)/functions/posix.xml \ - $(LANG)/functions/info.xml \ - $(LANG)/functions/regex.xml \ - $(LANG)/functions/satellite.xml \ - $(LANG)/functions/sem.xml \ - $(LANG)/functions/sesam.xml \ - $(LANG)/functions/session.xml \ - $(LANG)/functions/snmp.xml \ - $(LANG)/functions/sockets.xml \ - $(LANG)/functions/strings.xml \ - $(LANG)/functions/uodbc.xml \ - $(LANG)/functions/url.xml \ - $(LANG)/functions/var.xml \ - $(LANG)/functions/wddx.xml \ - $(LANG)/functions/yaz.xml \ - $(LANG)/functions/zlib.xml - -FILES=$(PREFACE) $(APPENDICES) $(CHAPTERS) $(FUNCREF) global.ent DIST_FILES=manual.zip manual.tar.gz manual.rtf.gz bigmanual.html.gz \ manual.prc manual.txt.gz MIRROR_TARGETS=php/manual.php $(DIST_FILES) html/manual.html @@ -165,7 +73,7 @@ manual.xml: manual.xml.in .manual.xml CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -.manual.xml: $(FILES) +.manual.xml: $(DEPEND_FILES) global.ent touch .manual.xml html: html/manual.html @@ -211,13 +119,13 @@ quickref: quickref.txt quickref.txt: $(srcdir)/manual.xml $(QUICKREF_DEPS) - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(QUICKREF_STYLESHEET) -V nochunks -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml | sed -e 's/ */ /g' | sort -f > quickref.txt + $(JADE) $(CATALOG) -d $(QUICKREF_STYLESHEET) -V nochunks -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml | sed -e 's/ */ /g' | sort -f > quickref.txt makedoc: makedoc.cc g++ -o makedoc makedoc.cc bigmanual.html: $(srcdir)/manual.xml $(HTML_DEPS) - $(JADE) $(CATALOG) -i lang-$(LANG) -V nochunks -d $(HTML_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml > $@ + $(JADE) $(CATALOG) -V nochunks -d $(HTML_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml > $@ bigmanual.html.gz: bigmanual.html gzip -c $< > $@ @@ -230,15 +138,15 @@ html/manual.html: $(srcdir)/manual.xml $(HTML_DEPS) @test -d html || mkdir html - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml + $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml php/index.php: $(srcdir)/manual.xml $(PHPWEB_DEPS) @test -d php || mkdir php - -$(JADE) $(CATALOG) -i lang-$(LANG) -d $(PHP_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml + -$(JADE) $(CATALOG) -d $(PHP_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml php/manual.php: $(srcdir)/manual.xml $(PHPWEB_DEPS) @test -d php || mkdir php - -$(JADE) $(CATALOG) -i lang-$(LANG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml + -$(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml manual.txt: bigmanual.html lynx -nolist -dump file:`pwd`/bigmanual.html > manual.txt @@ -253,7 +161,7 @@ -rm -f $@ && (cd html; tar -cf - *.html) | gzip > manual.tar.gz howto.html: $(srcdir)/howto.xml $(HOWTO_DEPS) global.ent - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(HOWTO_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/howto.xml + $(JADE) $(CATALOG) -d $(HOWTO_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/howto.xml tex latex: $(srcdir)/manual.tex @@ -262,10 +170,10 @@ # General rules: .xml.tex: - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(PRINT_STYLESHEET) -t tex $(srcdir)/phpdocxml.dcl $< + $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t tex $(srcdir)/phpdocxml.dcl $< .xml.rtf: - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(PRINT_STYLESHEET) -t rtf $(srcdir)/phpdocxml.dcl $< + $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t rtf $(srcdir)/phpdocxml.dcl $< # runs three times - # 1. generates the dvi with a completely bogus table of contents Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.41 phpdoc/configure.in:1.42 --- phpdoc/configure.in:1.41 Thu Aug 31 13:26:46 2000 +++ phpdoc/configure.in Fri Dec 15 00:58:52 2000 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.41 2000/08/31 20:26:46 martin Exp $ +dnl $Id: configure.in,v 1.42 2000/12/15 08:58:52 hholzgra Exp $ AC_INIT(global.ent) @@ -216,6 +216,7 @@ then AC_MSG_WARN(please change this to 'OMITTAG YES' in /usr/share/sgml/docbk30/docbook.dcl ) fi + dnl look for tex bug in print stylesheet if test -e /usr/share/sgml/docbkdsl/print/dbprint.dsl then @@ -237,4 +238,23 @@ fi + +dnl check for files and translations, create chapter entities +echo creating chapters.ent +DEPEND_FILES="" +rm -f chapters.ent +echo "<!-- DON'T TOUCH - AUTOGENERATED BY ./configure -->" > chapters.ent +for file in `find en -name "*.xml" | sed -e"s/^en\///g" | sort` +do + name=`echo $file | sed -e"s/\//./g" -e"s/.xml$//g"` + if test -f $LANG/$file + then + file=$LANG/$file + else + file=en/$file + fi + DEPEND_FILES="$DEPEND_FILES $file" + echo "<!ENTITY $name SYSTEM \"$file\">" >> chapters.ent +done +chmod a-w chapters.ent Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.40 phpdoc/manual.xml.in:1.41 --- phpdoc/manual.xml.in:1.40 Thu Dec 14 13:49:11 2000 +++ phpdoc/manual.xml.in Fri Dec 15 00:58:52 2000 @@ -2,60 +2,16 @@ <!DOCTYPE book PUBLIC "-//Norman Walsh//DTD DocBk XML V1.7//EN" "dbxml/docbookx.dtd" [ -<!ENTITY % lang-en "IGNORE"> -<!ENTITY % lang-fr "IGNORE"> -<!ENTITY % lang-de "IGNORE"> -<!ENTITY % lang-hu "IGNORE"> -<!ENTITY % lang-it "IGNORE"> -<!ENTITY % lang-nl "IGNORE"> -<!ENTITY % lang-ja "IGNORE"> -<!ENTITY % lang-pt-BR "IGNORE"> -<!ENTITY % lang-es "IGNORE"> - -<![%lang-en;[ -<!ENTITY % language-defs SYSTEM "lang-en.ent"> -]]> - -<![%lang-de;[ -<!ENTITY % language-defs SYSTEM "lang-de.ent"> -]]> - -<![%lang-hu;[ -<!ENTITY % language-defs SYSTEM "lang-hu.ent"> -]]> - -<![%lang-it;[ -<!ENTITY % language-defs SYSTEM "lang-it.ent"> -]]> - -<![%lang-nl;[ -<!ENTITY % language-defs SYSTEM "lang-nl.ent"> -]]> - -<![%lang-ja;[ -<!ENTITY % language-defs SYSTEM "lang-ja.ent"> -]]> - -<![%lang-fr;[ -<!ENTITY % language-defs SYSTEM "lang-fr.ent"> -]]> - -<![%lang-pt-BR;[ -<!ENTITY % language-defs SYSTEM "lang-pt_BR.ent"> -]]> - -<![%lang-es;[ -<!ENTITY % language-defs SYSTEM "lang-es.ent"> -]]> +<!ENTITY % language-defs SYSTEM "@LANG@/language-defs.ent"> %language-defs; <!-- Defaults for entities that should be defined in language-defs --> <!ENTITY % global.entities SYSTEM "global.ent"> -<!ENTITY % global.chapters SYSTEM "chapters.ent"> <!-- These are language independent --> <!ENTITY % build.version SYSTEM "version.ent"> +<!ENTITY % global.chapters SYSTEM "chapters.ent"> %global.entities; %global.chapters; @@ -71,10 +27,10 @@ <part id="getting-started"> <title>&GettingStarted;</title> - &chapter.introduction; - &chapter.install; - &chapter.config; - &chapter.security; + &chapters.intro; + &chapters.install; + &chapters.config; + &chapters.security; </part> <part id="langref"> @@ -105,93 +61,93 @@ <part id="funcref"> <title>&FunctionReference;</title> - &reference.apache; + &functions.apache; - &reference.array; - &reference.aspell; - &reference.bc; - &reference.calendar; - &reference.ccvs; - &reference.com; - &reference.classobj; - &reference.cpdf; - &reference.curl; - &reference.cybercash; - &reference.dba; - &reference.datetime; - &reference.dbase; - &reference.dbm; - &reference.dir; - <!-- &reference.dl; --> - &reference.domxml; - &reference.errorfunc; - &reference.filepro; - &reference.filesystem; - &reference.fdf; - &reference.ftp; - &reference.funchand; - &reference.gettext; - &reference.gmp; - &reference.http; - &reference.hw; - &reference.icap; - &reference.image; - &reference.imap; - &reference.ifx; - &reference.ibase; - &reference.ingres_ii; - &reference.ldap; - &reference.mail; - &reference.math; - &reference.mcal; - &reference.mcrypt; - &reference.mhash; - &reference.mssql; - &reference.misc; - &reference.msql; - &reference.mysql; - &reference.network; - &reference.uodbc; - &reference.oci8; - &reference.oracle; - &reference.ovrimos; - &reference.outcontrol; - &reference.pdf; - &reference.pfpro; - &reference.info; - &reference.posix; - &reference.pgsql; - &reference.exec; - &reference.pspell; - &reference.readline; - &reference.recode; - &reference.pcre; - &reference.regex; - &reference.satellite; - &reference.sem; - &reference.sesam; - &reference.session; - &reference.shmop; - &reference.swf; - &reference.snmp; - &reference.sockets; - &reference.strings; - &reference.sybase; - &reference.url; - &reference.var; - &reference.wddx; - &reference.xml; - &reference.xslt; - &reference.yaz; - &reference.nis; - &reference.zlib; + &functions.array; + &functions.aspell; + &functions.bc; + &functions.calendar; + &functions.ccvs; + &functions.com; + &functions.classobj; + &functions.cpdf; + &functions.curl; + &functions.cybercash; + &functions.dba; + &functions.datetime; + &functions.dbase; + &functions.dbm; + &functions.dir; + <!-- &functions.dl; --> + &functions.domxml; + &functions.errorfunc; + &functions.filepro; + &functions.filesystem; + &functions.fdf; + &functions.ftp; + &functions.funchand; + &functions.gettext; + &functions.gmp; + &functions.http; + &functions.hw; + &functions.icap; + &functions.image; + &functions.imap; + &functions.ifx; + &functions.ibase; + &functions.ingres_ii; + &functions.ldap; + &functions.mail; + &functions.math; + &functions.mcal; + &functions.mcrypt; + &functions.mhash; + &functions.mssql; + &functions.misc; + &functions.msql; + &functions.mysql; + &functions.network; + &functions.uodbc; + &functions.oci8; + &functions.oracle; + &functions.ovrimos; + &functions.outcontrol; + &functions.pdf; + &functions.pfpro; + &functions.info; + &functions.posix; + &functions.pgsql; + &functions.exec; + &functions.pspell; + &functions.readline; + &functions.recode; + &functions.pcre; + &functions.regex; + &functions.satellite; + &functions.sem; + &functions.sesam; + &functions.session; + &functions.shmop; + &functions.swf; + &functions.snmp; + &functions.sockets; + &functions.strings; + &functions.sybase; + &functions.url; + &functions.var; + &functions.wddx; + &functions.xml; + &functions.xslt; + &functions.yaz; + &functions.nis; + &functions.zlib; </part> <part id="appendixes"> <title>&Appendixes;</title> - &appendix.migration; - &appendix.development; - &appendix.debugger; + &appendices.migration; + &appendices.phpdevel; + &appendices.debugger; </part> </book> Index: phpdoc/de/language-defs.ent +++ phpdoc/de/language-defs.ent <!ENTITY PHPManual "PHP Handbuch"> <!ENTITY Date "Datum:"> <!ENTITY GettingStarted "Einführung"> <!ENTITY LanguageReference "Sprachreferenz"> <!ENTITY Features "Features"> <!ENTITY FunctionReference "Funktionsreferenz"> <!ENTITY Appendixes "Anhang"> <!ENTITY available "verfügbar in"> Index: phpdoc/en/language-defs.ent +++ phpdoc/en/language-defs.ent <!ENTITY PHPManual "PHP Manual"> <!ENTITY Date "Date:"> <!ENTITY GettingStarted "Getting Started"> <!ENTITY LanguageReference "Language Reference"> <!ENTITY Features "Features"> <!ENTITY FunctionReference "Function Reference"> <!ENTITY Appendixes "Appendixes"> <!ENTITY available "available in"> Index: phpdoc/es/language-defs.ent +++ phpdoc/es/language-defs.ent <!ENTITY PHPManual "Manual de PHP"> <!ENTITY Date "Fecha:"> <!ENTITY GettingStarted "Conceptos Básicos"> <!ENTITY LanguageReference "Referencia del Lenguaje"> <!ENTITY Features "Características"> <!ENTITY FunctionReference "Referencia de las Funciones"> <!ENTITY Appendixes "Apéndices"> <!ENTITY available "disponible en"> Index: phpdoc/fr/language-defs.ent +++ phpdoc/fr/language-defs.ent <!ENTITY PHPManual "Manuel PHP"> <!ENTITY Date "Date:"> <!ENTITY GettingStarted "Comment Commencer"> <!ENTITY LanguageReference "Référence"> <!ENTITY Features "Caractéristiques"> <!ENTITY FunctionReference "Index des fonctions"> <!ENTITY Appendixes "Appendices"> <!ENTITY available "endroit"> Index: phpdoc/hu/language-defs.ent +++ phpdoc/hu/language-defs.ent <!ENTITY PHPManual "PHP Kézikönyv"> <!ENTITY Date "Dátum:"> <!ENTITY GettingStarted "Elsõ lépések"> <!ENTITY LanguageReference "A nyelv alapjai"> <!ENTITY Features "Szolgáltatások"> <!ENTITY FunctionReference "Függvény referencia"> <!ENTITY Appendixes "Függelékek"> <!ENTITY available "elérhetõ"> <!ENTITY url.hu.weblabor "http://weblabor.hu/"> <!ENTITY email.hu.php 'wl-phplista@gimli.externet.hu'> <!ENTITY email.hu.php.subscribe 'wl-phplista-request@gimli.externet.hu'> Index: phpdoc/it/language-defs.ent +++ phpdoc/it/language-defs.ent <!ENTITY PHPManual "Manuale PHP"> <!ENTITY Date "Data:"> <!ENTITY GettingStarted "Guida Rapida"> <!ENTITY LanguageReference "Struttura del Linguaggio"> <!ENTITY Features "Caratteristiche"> <!ENTITY FunctionReference "Guida Funzioni"> <!ENTITY Appendixes "Appendici"> <!ENTITY available "available in"> Index: phpdoc/ja/language-defs.ent +++ phpdoc/ja/language-defs.ent <!ENTITY PHPManual "PHP ããã¥ã¢ã«"> <!ENTITY Date "æ¥ä»:"> <!ENTITY GettingStarted "ã¯ããã«"> <!ENTITY LanguageReference "è¨èªãªãã¡ã¬ã³ã¹"> <!ENTITY Features "æ©è½"> <!ENTITY FunctionReference "颿°ãªãã¡ã¬ã³ã¹"> <!ENTITY Appendixes "ä»é²"> <!ENTITY available "available in"> Index: phpdoc/nl/language-defs.ent +++ phpdoc/nl/language-defs.ent <!ENTITY PHPManual "PHP Handleiding"> <!ENTITY Date "Datum:"> <!ENTITY GettingStarted "Om te beginnen"> <!ENTITY LanguageReference "Syntax"> <!ENTITY Features "Functionaliteit"> <!ENTITY FunctionReference "Functie naslag"> <!ENTITY Appendixes "Appendixes"> <!ENTITY available "beschikbaar in"> Index: phpdoc/pt_BR/language-defs.ent +++ phpdoc/pt_BR/language-defs.ent <!ENTITY PHPManual "Manual do PHP"> <!ENTITY Date "Data:"> <!ENTITY GettingStarted "Começando"> <!ENTITY LanguageReference "Referência da Linguagem"> <!ENTITY Features "Caracteristicas"> <!ENTITY FunctionReference "Referência das Funções"> <!ENTITY Appendixes "Apêndices"> <!ENTITY available "disponível em">
Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.46 phpdoc/Makefile.in:1.47 --- phpdoc/Makefile.in:1.46 Thu Dec 14 13:49:11 2000 +++ phpdoc/Makefile.in Fri Dec 15 00:58:52 2000 @@ -26,7 +26,7 @@ # +----------------------------------------------------------------------+ # -# $Id: Makefile.in,v 1.46 2000/12/14 21:49:11 martin Exp $ +# $Id: Makefile.in,v 1.47 2000/12/15 08:58:52 hholzgra Exp $ # VPATH=@srcdir@ @@ -54,98 +54,6 @@ all: html -PREFACE=$(LANG)/preface.xml \ - $(LANG)/bookinfo.xml - -APPENDICES=$(LANG)/appendices/migration.xml \ - $(LANG)/appendices/escaping.xml \ - $(LANG)/appendices/regexp.xml \ - $(LANG)/appendices/http-stuff.xml \ - $(LANG)/appendices/history.xml \ - $(LANG)/appendices/debugger.xml \ - $(LANG)/appendices/phpdevel.xml - -CHAPTERS=$(LANG)/chapters.ent \ - $(LANG)/chapters/copyright.xml \ - $(LANG)/chapters/intro.xml \ - $(LANG)/chapters/config.xml \ - $(LANG)/chapters/install.xml \ - $(LANG)/chapters/security.xml \ - $(LANG)/features/connection-handling.xml \ - $(LANG)/features/file-upload.xml \ - $(LANG)/features/cookies.xml \ - $(LANG)/features/http-auth.xml \ - $(LANG)/features/error-handling.xml \ - $(LANG)/features/images.xml \ - $(LANG)/features/remote-files.xml \ - $(LANG)/language/basic-syntax.xml \ - $(LANG)/language/operators.xml \ - $(LANG)/language/constants.xml \ - $(LANG)/language/types.xml \ - $(LANG)/language/control-structures.xml \ - $(LANG)/language/functions.xml \ - $(LANG)/language/oop.xml \ - $(LANG)/language/variables.xml \ - $(LANG)/language/expressions.xml - -FUNCREF= \ - $(LANG)/functions/array.xml \ - $(LANG)/functions/bc.xml \ - $(LANG)/functions/com.xml \ - $(LANG)/functions/classobj.xml \ - $(LANG)/functions/curl.xml \ - $(LANG)/functions/cybercash.xml \ - $(LANG)/functions/domxml.xml \ - $(LANG)/functions/datetime.xml \ - $(LANG)/functions/dbase.xml \ - $(LANG)/functions/dbm.xml \ - $(LANG)/functions/dl.xml \ - $(LANG)/functions/dir.xml \ - $(LANG)/functions/exec.xml \ - $(LANG)/functions/filepro.xml \ - $(LANG)/functions/filesystem.xml \ - $(LANG)/functions/ftp.xml \ - $(LANG)/functions/http.xml \ - $(LANG)/functions/hw.xml \ - $(LANG)/functions/ibase.xml \ - $(LANG)/functions/ifx.xml \ - $(LANG)/functions/image.xml \ - $(LANG)/functions/imap.xml \ - $(LANG)/functions/ldap.xml \ - $(LANG)/functions/mail.xml \ - $(LANG)/functions/math.xml \ - $(LANG)/functions/mcal.xml \ - $(LANG)/functions/misc.xml \ - $(LANG)/functions/mcrypt.xml \ - $(LANG)/functions/msql.xml \ - $(LANG)/functions/mysql.xml \ - $(LANG)/functions/nis.xml \ - $(LANG)/functions/sybase.xml \ - $(LANG)/functions/network.xml \ - $(LANG)/functions/oci8.xml \ - $(LANG)/functions/oracle.xml \ - $(LANG)/functions/ovrimos.xml \ - $(LANG)/functions/pcre.xml \ - $(LANG)/functions/pfpro.xml \ - $(LANG)/functions/pgsql.xml \ - $(LANG)/functions/posix.xml \ - $(LANG)/functions/info.xml \ - $(LANG)/functions/regex.xml \ - $(LANG)/functions/satellite.xml \ - $(LANG)/functions/sem.xml \ - $(LANG)/functions/sesam.xml \ - $(LANG)/functions/session.xml \ - $(LANG)/functions/snmp.xml \ - $(LANG)/functions/sockets.xml \ - $(LANG)/functions/strings.xml \ - $(LANG)/functions/uodbc.xml \ - $(LANG)/functions/url.xml \ - $(LANG)/functions/var.xml \ - $(LANG)/functions/wddx.xml \ - $(LANG)/functions/yaz.xml \ - $(LANG)/functions/zlib.xml - -FILES=$(PREFACE) $(APPENDICES) $(CHAPTERS) $(FUNCREF) global.ent DIST_FILES=manual.zip manual.tar.gz manual.rtf.gz bigmanual.html.gz \ manual.prc manual.txt.gz MIRROR_TARGETS=php/manual.php $(DIST_FILES) html/manual.html @@ -165,7 +73,7 @@ manual.xml: manual.xml.in .manual.xml CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -.manual.xml: $(FILES) +.manual.xml: $(DEPEND_FILES) global.ent touch .manual.xml html: html/manual.html @@ -211,13 +119,13 @@ quickref: quickref.txt quickref.txt: $(srcdir)/manual.xml $(QUICKREF_DEPS) - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(QUICKREF_STYLESHEET) -V nochunks -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml | sed -e 's/ */ /g' | sort -f > quickref.txt + $(JADE) $(CATALOG) -d $(QUICKREF_STYLESHEET) -V nochunks -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml | sed -e 's/ */ /g' | sort -f > quickref.txt makedoc: makedoc.cc g++ -o makedoc makedoc.cc bigmanual.html: $(srcdir)/manual.xml $(HTML_DEPS) - $(JADE) $(CATALOG) -i lang-$(LANG) -V nochunks -d $(HTML_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml > $@ + $(JADE) $(CATALOG) -V nochunks -d $(HTML_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml > $@ bigmanual.html.gz: bigmanual.html gzip -c $< > $@ @@ -230,15 +138,15 @@ html/manual.html: $(srcdir)/manual.xml $(HTML_DEPS) @test -d html || mkdir html - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml + $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml php/index.php: $(srcdir)/manual.xml $(PHPWEB_DEPS) @test -d php || mkdir php - -$(JADE) $(CATALOG) -i lang-$(LANG) -d $(PHP_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml + -$(JADE) $(CATALOG) -d $(PHP_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml php/manual.php: $(srcdir)/manual.xml $(PHPWEB_DEPS) @test -d php || mkdir php - -$(JADE) $(CATALOG) -i lang-$(LANG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml + -$(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/manual.xml manual.txt: bigmanual.html lynx -nolist -dump file:`pwd`/bigmanual.html > manual.txt @@ -253,7 +161,7 @@ -rm -f $@ && (cd html; tar -cf - *.html) | gzip > manual.tar.gz howto.html: $(srcdir)/howto.xml $(HOWTO_DEPS) global.ent - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(HOWTO_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/howto.xml + $(JADE) $(CATALOG) -d $(HOWTO_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/howto.xml tex latex: $(srcdir)/manual.tex @@ -262,10 +170,10 @@ # General rules: .xml.tex: - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(PRINT_STYLESHEET) -t tex $(srcdir)/phpdocxml.dcl $< + $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t tex $(srcdir)/phpdocxml.dcl $< .xml.rtf: - $(JADE) $(CATALOG) -i lang-$(LANG) -d $(PRINT_STYLESHEET) -t rtf $(srcdir)/phpdocxml.dcl $< + $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t rtf $(srcdir)/phpdocxml.dcl $< # runs three times - # 1. generates the dvi with a completely bogus table of contents Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.41 phpdoc/configure.in:1.42 --- phpdoc/configure.in:1.41 Thu Aug 31 13:26:46 2000 +++ phpdoc/configure.in Fri Dec 15 00:58:52 2000 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.41 2000/08/31 20:26:46 martin Exp $ +dnl $Id: configure.in,v 1.42 2000/12/15 08:58:52 hholzgra Exp $ AC_INIT(global.ent) @@ -216,6 +216,7 @@ then AC_MSG_WARN(please change this to 'OMITTAG YES' in /usr/share/sgml/docbk30/docbook.dcl ) fi + dnl look for tex bug in print stylesheet if test -e /usr/share/sgml/docbkdsl/print/dbprint.dsl then @@ -237,4 +238,23 @@ fi + +dnl check for files and translations, create chapter entities +echo creating chapters.ent +DEPEND_FILES="" +rm -f chapters.ent +echo "<!-- DON'T TOUCH - AUTOGENERATED BY ./configure -->" > chapters.ent +for file in `find en -name "*.xml" | sed -e"s/^en\///g" | sort` +do + name=`echo $file | sed -e"s/\//./g" -e"s/.xml$//g"` + if test -f $LANG/$file + then + file=$LANG/$file + else + file=en/$file + fi + DEPEND_FILES="$DEPEND_FILES $file" + echo "<!ENTITY $name SYSTEM \"$file\">" >> chapters.ent +done +chmod a-w chapters.ent Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.40 phpdoc/manual.xml.in:1.41 --- phpdoc/manual.xml.in:1.40 Thu Dec 14 13:49:11 2000 +++ phpdoc/manual.xml.in Fri Dec 15 00:58:52 2000 @@ -2,60 +2,16 @@ <!DOCTYPE book PUBLIC "-//Norman Walsh//DTD DocBk XML V1.7//EN" "dbxml/docbookx.dtd" [ -<!ENTITY % lang-en "IGNORE"> -<!ENTITY % lang-fr "IGNORE"> -<!ENTITY % lang-de "IGNORE"> -<!ENTITY % lang-hu "IGNORE"> -<!ENTITY % lang-it "IGNORE"> -<!ENTITY % lang-nl "IGNORE"> -<!ENTITY % lang-ja "IGNORE"> -<!ENTITY % lang-pt-BR "IGNORE"> -<!ENTITY % lang-es "IGNORE"> - -<![%lang-en;[ -<!ENTITY % language-defs SYSTEM "lang-en.ent"> -]]> - -<![%lang-de;[ -<!ENTITY % language-defs SYSTEM "lang-de.ent"> -]]> - -<![%lang-hu;[ -<!ENTITY % language-defs SYSTEM "lang-hu.ent"> -]]> - -<![%lang-it;[ -<!ENTITY % language-defs SYSTEM "lang-it.ent"> -]]> - -<![%lang-nl;[ -<!ENTITY % language-defs SYSTEM "lang-nl.ent"> -]]> - -<![%lang-ja;[ -<!ENTITY % language-defs SYSTEM "lang-ja.ent"> -]]> - -<![%lang-fr;[ -<!ENTITY % language-defs SYSTEM "lang-fr.ent"> -]]> - -<![%lang-pt-BR;[ -<!ENTITY % language-defs SYSTEM "lang-pt_BR.ent"> -]]> - -<![%lang-es;[ -<!ENTITY % language-defs SYSTEM "lang-es.ent"> -]]> +<!ENTITY % language-defs SYSTEM "@LANG@/language-defs.ent"> %language-defs; <!-- Defaults for entities that should be defined in language-defs --> <!ENTITY % global.entities SYSTEM "global.ent"> -<!ENTITY % global.chapters SYSTEM "chapters.ent"> <!-- These are language independent --> <!ENTITY % build.version SYSTEM "version.ent"> +<!ENTITY % global.chapters SYSTEM "chapters.ent"> %global.entities; %global.chapters; @@ -71,10 +27,10 @@ <part id="getting-started"> <title>&GettingStarted;</title> - &chapter.introduction; - &chapter.install; - &chapter.config; - &chapter.security; + &chapters.intro; + &chapters.install; + &chapters.config; + &chapters.security; </part> <part id="langref"> @@ -105,93 +61,93 @@ <part id="funcref"> <title>&FunctionReference;</title> - &reference.apache; + &functions.apache; - &reference.array; - &reference.aspell; - &reference.bc; - &reference.calendar; - &reference.ccvs; - &reference.com; - &reference.classobj; - &reference.cpdf; - &reference.curl; - &reference.cybercash; - &reference.dba; - &reference.datetime; - &reference.dbase; - &reference.dbm; - &reference.dir; - <!-- &reference.dl; --> - &reference.domxml; - &reference.errorfunc; - &reference.filepro; - &reference.filesystem; - &reference.fdf; - &reference.ftp; - &reference.funchand; - &reference.gettext; - &reference.gmp; - &reference.http; - &reference.hw; - &reference.icap; - &reference.image; - &reference.imap; - &reference.ifx; - &reference.ibase; - &reference.ingres_ii; - &reference.ldap; - &reference.mail; - &reference.math; - &reference.mcal; - &reference.mcrypt; - &reference.mhash; - &reference.mssql; - &reference.misc; - &reference.msql; - &reference.mysql; - &reference.network; - &reference.uodbc; - &reference.oci8; - &reference.oracle; - &reference.ovrimos; - &reference.outcontrol; - &reference.pdf; - &reference.pfpro; - &reference.info; - &reference.posix; - &reference.pgsql; - &reference.exec; - &reference.pspell; - &reference.readline; - &reference.recode; - &reference.pcre; - &reference.regex; - &reference.satellite; - &reference.sem; - &reference.sesam; - &reference.session; - &reference.shmop; - &reference.swf; - &reference.snmp; - &reference.sockets; - &reference.strings; - &reference.sybase; - &reference.url; - &reference.var; - &reference.wddx; - &reference.xml; - &reference.xslt; - &reference.yaz; - &reference.nis; - &reference.zlib; + &functions.array; + &functions.aspell; + &functions.bc; + &functions.calendar; + &functions.ccvs; + &functions.com; + &functions.classobj; + &functions.cpdf; + &functions.curl; + &functions.cybercash; + &functions.dba; + &functions.datetime; + &functions.dbase; + &functions.dbm; + &functions.dir; + <!-- &functions.dl; --> + &functions.domxml; + &functions.errorfunc; + &functions.filepro; + &functions.filesystem; + &functions.fdf; + &functions.ftp; + &functions.funchand; + &functions.gettext; + &functions.gmp; + &functions.http; + &functions.hw; + &functions.icap; + &functions.image; + &functions.imap; + &functions.ifx; + &functions.ibase; + &functions.ingres_ii; + &functions.ldap; + &functions.mail; + &functions.math; + &functions.mcal; + &functions.mcrypt; + &functions.mhash; + &functions.mssql; + &functions.misc; + &functions.msql; + &functions.mysql; + &functions.network; + &functions.uodbc; + &functions.oci8; + &functions.oracle; + &functions.ovrimos; + &functions.outcontrol; + &functions.pdf; + &functions.pfpro; + &functions.info; + &functions.posix; + &functions.pgsql; + &functions.exec; + &functions.pspell; + &functions.readline; + &functions.recode; + &functions.pcre; + &functions.regex; + &functions.satellite; + &functions.sem; + &functions.sesam; + &functions.session; + &functions.shmop; + &functions.swf; + &functions.snmp; + &functions.sockets; + &functions.strings; + &functions.sybase; + &functions.url; + &functions.var; + &functions.wddx; + &functions.xml; + &functions.xslt; + &functions.yaz; + &functions.nis; + &functions.zlib; </part> <part id="appendixes"> <title>&Appendixes;</title> - &appendix.migration; - &appendix.development; - &appendix.debugger; + &appendices.migration; + &appendices.phpdevel; + &appendices.debugger; </part> </book> Index: phpdoc/de/language-defs.ent +++ phpdoc/de/language-defs.ent <!ENTITY PHPManual "PHP Handbuch"> <!ENTITY Date "Datum:"> <!ENTITY GettingStarted "Einführung"> <!ENTITY LanguageReference "Sprachreferenz"> <!ENTITY Features "Features"> <!ENTITY FunctionReference "Funktionsreferenz"> <!ENTITY Appendixes "Anhang"> <!ENTITY available "verfügbar in"> Index: phpdoc/en/language-defs.ent +++ phpdoc/en/language-defs.ent <!ENTITY PHPManual "PHP Manual"> <!ENTITY Date "Date:"> <!ENTITY GettingStarted "Getting Started"> <!ENTITY LanguageReference "Language Reference"> <!ENTITY Features "Features"> <!ENTITY FunctionReference "Function Reference"> <!ENTITY Appendixes "Appendixes"> <!ENTITY available "available in"> Index: phpdoc/es/language-defs.ent +++ phpdoc/es/language-defs.ent <!ENTITY PHPManual "Manual de PHP"> <!ENTITY Date "Fecha:"> <!ENTITY GettingStarted "Conceptos Básicos"> <!ENTITY LanguageReference "Referencia del Lenguaje"> <!ENTITY Features "Características"> <!ENTITY FunctionReference "Referencia de las Funciones"> <!ENTITY Appendixes "Apéndices"> <!ENTITY available "disponible en"> Index: phpdoc/fr/language-defs.ent +++ phpdoc/fr/language-defs.ent <!ENTITY PHPManual "Manuel PHP"> <!ENTITY Date "Date:"> <!ENTITY GettingStarted "Comment Commencer"> <!ENTITY LanguageReference "Référence"> <!ENTITY Features "Caractéristiques"> <!ENTITY FunctionReference "Index des fonctions"> <!ENTITY Appendixes "Appendices"> <!ENTITY available "endroit"> Index: phpdoc/hu/language-defs.ent +++ phpdoc/hu/language-defs.ent <!ENTITY PHPManual "PHP Kézikönyv"> <!ENTITY Date "Dátum:"> <!ENTITY GettingStarted "Elsõ lépések"> <!ENTITY LanguageReference "A nyelv alapjai"> <!ENTITY Features "Szolgáltatások"> <!ENTITY FunctionReference "Függvény referencia"> <!ENTITY Appendixes "Függelékek"> <!ENTITY available "elérhetõ"> <!ENTITY url.hu.weblabor "http://weblabor.hu/"> <!ENTITY email.hu.php 'wl-phplista@gimli.externet.hu'> <!ENTITY email.hu.php.subscribe 'wl-phplista-request@gimli.externet.hu'> Index: phpdoc/it/language-defs.ent +++ phpdoc/it/language-defs.ent <!ENTITY PHPManual "Manuale PHP"> <!ENTITY Date "Data:"> <!ENTITY GettingStarted "Guida Rapida"> <!ENTITY LanguageReference "Struttura del Linguaggio"> <!ENTITY Features "Caratteristiche"> <!ENTITY FunctionReference "Guida Funzioni"> <!ENTITY Appendixes "Appendici"> <!ENTITY available "available in"> Index: phpdoc/ja/language-defs.ent +++ phpdoc/ja/language-defs.ent <!ENTITY PHPManual "PHP ããã¥ã¢ã«"> <!ENTITY Date "æ¥ä»:"> <!ENTITY GettingStarted "ã¯ããã«"> <!ENTITY LanguageReference "è¨èªãªãã¡ã¬ã³ã¹"> <!ENTITY Features "æ©è½"> <!ENTITY FunctionReference "颿°ãªãã¡ã¬ã³ã¹"> <!ENTITY Appendixes "ä»é²"> <!ENTITY available "available in"> Index: phpdoc/nl/language-defs.ent +++ phpdoc/nl/language-defs.ent <!ENTITY PHPManual "PHP Handleiding"> <!ENTITY Date "Datum:"> <!ENTITY GettingStarted "Om te beginnen"> <!ENTITY LanguageReference "Syntax"> <!ENTITY Features "Functionaliteit"> <!ENTITY FunctionReference "Functie naslag"> <!ENTITY Appendixes "Appendixes"> <!ENTITY available "beschikbaar in"> Index: phpdoc/pt_BR/language-defs.ent +++ phpdoc/pt_BR/language-defs.ent <!ENTITY PHPManual "Manual do PHP"> <!ENTITY Date "Data:"> <!ENTITY GettingStarted "Começando"> <!ENTITY LanguageReference "Referência da Linguagem"> <!ENTITY Features "Caracteristicas"> <!ENTITY FunctionReference "Referência das Funções"> <!ENTITY Appendixes "Apêndices"> <!ENTITY available "disponível em">