goba            Sat Sep 11 08:22:45 2004 EDT

  Modified files:              
    /livedocs   build-ops.in error.php 
  Log:
  fix language lists - modified patch by Jacques Marneweck
  
http://cvs.php.net/diff.php/livedocs/build-ops.in?r1=1.9&r2=1.10&ty=u
Index: livedocs/build-ops.in
diff -u livedocs/build-ops.in:1.9 livedocs/build-ops.in:1.10
--- livedocs/build-ops.in:1.9   Sat Aug 14 17:34:05 2004
+++ livedocs/build-ops.in       Sat Sep 11 08:22:44 2004
@@ -14,7 +14,7 @@
 OUTPUTDIRFORPHP='@OUTPUTDIRFORPHP@'
 GENDIRFORPHP='@GENDIRFORPHP@'
 # "en" should be the first!
-# LANGUAGES="en ar cs de es fi fr he hk hu it ja kr lt nl pl pt_BR ro ru sk sl sv tr 
tw zh"
+# LANGUAGES="en ar cs de es fi fr he hk hu it ja kr nl pl pt_BR ro ru sk sv tw zh"
 LANGUAGES="@LANGUAGES@"
 [EMAIL PROTECTED]@
 
http://cvs.php.net/diff.php/livedocs/error.php?r1=1.14&r2=1.15&ty=u
Index: livedocs/error.php
diff -u livedocs/error.php:1.14 livedocs/error.php:1.15
--- livedocs/error.php:1.14     Fri Jul 30 11:26:40 2004
+++ livedocs/error.php  Sat Sep 11 08:22:45 2004
@@ -18,7 +18,7 @@
 // | Handles the 404 error and try to redirect to the good place.         |
 // +----------------------------------------------------------------------+
 //
-// $Id: error.php,v 1.14 2004/07/30 15:26:40 iliaa Exp $
+// $Id: error.php,v 1.15 2004/09/11 12:22:45 goba Exp $
 
 /* handle IIS style 404 handler */
 if (strncmp($_SERVER['SERVER_SOFTWARE'], "Microsoft", 9) == 0 &&
@@ -95,13 +95,31 @@
        }
 } else {
 
-       /* TODO: Add all languages here */
-       $langs = array('en' => 'English',
+       $langs = array(
+                       'ar' => 'Arabic',
+                       'cs' => 'Czech',
+                       'en' => 'English',
+                       'es' => 'Greek',
+                       'da' => 'Danish',
                        'de' => 'German',
+                       'fi' => 'Finnish',
                        'fr' => 'French',
+                       'he' => 'Hebrew',
+                       'hk' => 'Chinese (Hong Kong Cantonese)',
+                       'hu' => 'Hungarian',
+                       'it' => 'Italian',
                        'ja' => 'Japanese',
+                       'kr' => 'Korean',
                        'nl' => 'Dutch',
-                       'pt_BR' => 'Portuguese (Brazilian)');
+                       'pl' => 'Polish',
+                       'pt_BR' => 'Portuguese (Brazilian)',
+                       'ro' => 'Romanian',
+                       'ru' => 'Russian',
+                       'sk' => 'Slovak',
+                       'sv' => 'Swedish',
+                       'tw' => 'Chinese (Traditional)',
+                       'zh' => 'Chinese (Simplified)'
+               );
 
        $languages = explode(' ', LANGUAGES);
 

Reply via email to