goba Wed Aug 4 12:30:59 2004 EDT
Modified files: /phpdoc configure.in /phpdoc/dsssl phpweb.dsl.in Log: work around the workaround to make the next Hebrew build contain proper links http://cvs.php.net/diff.php/phpdoc/configure.in?r1=1.202&r2=1.203&ty=u Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.202 phpdoc/configure.in:1.203 --- phpdoc/configure.in:1.202 Thu Jul 29 06:14:07 2004 +++ phpdoc/configure.in Wed Aug 4 12:30:59 2004 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.202 2004/07/29 10:14:07 nlopess Exp $ +dnl $Id: configure.in,v 1.203 2004/08/04 16:30:59 goba Exp $ dnl autoconf initialisation AC_INIT() @@ -536,7 +536,8 @@ AC_ARG_WITH(lang, [ --with-lang=LANG choose a language to work with],[ if test "$withval" = "yes"; then - LANG=en + LANG="en" + LANGWEB="en" MANUAL="php_manual_$LANG" AC_MSG_RESULT([en (default)]) else @@ -552,10 +553,12 @@ case $withval in kr) LANG="ko" + LANGWEB="ko" LANGDIR="kr" ;; he) LANG="en" + LANGWEB="he" LANG_HACK_FOR_HE="yes" HACK_RTL_LANGS_PAGES="$PHP $srcdir/scripts/rtlpatch/rtlpatch.php ./html" HACK_RTL_LANGS_PHPWEB="$PHP $srcdir/scripts/rtlpatch/rtlpatch.php ./php" @@ -563,18 +566,22 @@ ;; hk) LANG="zh_hk" + LANGWEB="zh_hk" LANGDIR="hk" ;; tw) LANG="zh_tw" + LANGWEB="zh_tw" LANGDIR="tw" ;; zh) LANG="zh_cn" + LANGWEB="zh_cn" LANGDIR="zh" ;; *) LANG=$withval + LANGWEB=$withval LANGDIR=$withval esac AC_SUBST(HACK_RTL_LANGS_PAGES) @@ -583,12 +590,14 @@ AC_MSG_RESULT( $withval ) fi ],[ - LANG=en - LANGDIR=en + LANG="en" + LANGWEB="en" + LANGDIR="en" MANUAL="php_manual_$LANG" AC_MSG_RESULT([en (default)]) ]) AC_SUBST(LANG) +AC_SUBST(LANGWEB) AC_SUBST(LANGDIR) AC_SUBST(PHP_BUILD_DATE) AC_SUBST(MANUAL) http://cvs.php.net/diff.php/phpdoc/dsssl/phpweb.dsl.in?r1=1.6&r2=1.7&ty=u Index: phpdoc/dsssl/phpweb.dsl.in diff -u phpdoc/dsssl/phpweb.dsl.in:1.6 phpdoc/dsssl/phpweb.dsl.in:1.7 --- phpdoc/dsssl/phpweb.dsl.in:1.6 Mon Jul 21 12:43:04 2003 +++ phpdoc/dsssl/phpweb.dsl.in Wed Aug 4 12:30:59 2004 @@ -7,7 +7,7 @@ <!-- - $Id: phpweb.dsl.in,v 1.6 2003/07/21 16:43:04 goba Exp $ + $Id: phpweb.dsl.in,v 1.7 2004/08/04 16:30:59 goba Exp $ HTML-specific stylesheet customization for use by the online manual. @@ -159,7 +159,7 @@ ) (string-append "manual_setup(array(" newline - " 'head' => array('@ENCODING@', '@LANG@')," newline + " 'head' => array('@ENCODING@', '@LANGWEB@')," newline " 'home' => " (phpweb-header-nav-array home #t) " 'this' => array('" (phpweb-quote (html-base-filename nd)) "', '" (phpweb-quote (phpweb-node-title nd)) "')," newline