hirokawa                Sun Mar 11 02:19:05 2001 EDT

  Modified files:              
    /phpdoc     common.dsl.in configure.in 
  Log:
  corrected chapter header in japanese manual.
  
Index: phpdoc/common.dsl.in
diff -u phpdoc/common.dsl.in:1.9 phpdoc/common.dsl.in:1.10
--- phpdoc/common.dsl.in:1.9    Tue Jan 23 15:49:44 2001
+++ phpdoc/common.dsl.in        Sun Mar 11 02:19:05 2001
@@ -1,6 +1,6 @@
 ;; -*- Scheme -*-
 ;;
-;; $Id: common.dsl.in,v 1.9 2001/01/23 23:49:44 jimw Exp $
+;; $Id: common.dsl.in,v 1.10 2001/03/11 10:19:05 hirokawa Exp $
 ;;
 ;; This file contains stylesheet customization common to the HTML
 ;; and print versions.
@@ -27,8 +27,6 @@
 (define %prefers-ordinal-label-name-format% @NUMBER_FIRST@)
 (define ($generate-book-lot-list$) (list))
 
-(define %gentext-ja-edited-by% "Edited by")
-
 (define (php-code code)
   (make processing-instruction
     data: (string-append "php " code "?")))
@@ -71,5 +69,30 @@
        ;; we return the new defined procedure
       impl)))
 
+;; definition for japanese
+
+(define gentext-ja-edited-by "Edited by")
+
+(define ja-chapter-name        "\U-7B2C;")
+(define ja-sect1-name  "\U-7B2C;")
+(define ja-sect2-name  "\U-7B2C;")
+(define ja-section-name        "\U-7B2C;")
+(define ja-figure-name "Figure ")
+
+(define (ja-label-title-sep)
+  (list
+   (list (normalize "chapter")         " \U-7AE0; ")
+   (list (normalize "sect1")           ". ")
+   (list (normalize "sect2")           ". ")
+   (list (normalize "section")         ". ")
+   ))
+
+(define (gentext-ja-label-title-sep gind)
+  (let* ((giname (if (string? gind) gind (gi gind)))
+        (name   (normalize giname))
+        (sep    (assoc name (ja-label-title-sep))))
+    (if sep
+       (car (cdr sep))
+       "")))
 
 
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.60 phpdoc/configure.in:1.61
--- phpdoc/configure.in:1.60    Mon Feb 19 03:49:05 2001
+++ phpdoc/configure.in Sun Mar 11 02:19:05 2001
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.60 2001/02/19 11:49:05 jkj Exp $
+dnl $Id: configure.in,v 1.61 2001/03/11 10:19:05 hirokawa Exp $
 
 AC_INIT(global.ent)
 
@@ -184,7 +184,7 @@
 dnl localize order of number and element name
 dnl in some headers autogenerated by jade
 case "$LANG" in
-  hu|ja|ko) NUMBER_FIRST="#t" ;;
+  hu|ko) NUMBER_FIRST="#t" ;;
   *) NUMBER_FIRST="#f" ;;
 esac
 AC_SUBST(NUMBER_FIRST)


Reply via email to