[Phpmyadmin-devel] japanese lang to 2 encoding files

luc luc at ceres.dti.ne.jp
Tue Feb 19 05:59:06 CET 2002


Hi list.

I ask you to divide japanese language to
two charset encoding files.

lang/japanese-euc.inc.php3
lang/japanese-sjis.inc.php3

I attach these binary files and the patch
including last stripslashes problem in common.lib.php3.
-------------- next part --------------
diff -rc phpMyAdmin-cvs/libraries/common.lib.php3 phpMyAdmin/libraries/common.lib.php3
*** phpMyAdmin-cvs/libraries/common.lib.php3	Sun Feb 10 19:57:23 2002
--- phpMyAdmin/libraries/common.lib.php3	Tue Feb 19 22:36:11 2002
***************
*** 845,851 ****
      <table border="<?php echo $GLOBALS['cfgBorder']; ?>" cellpadding="5">
      <tr>
          <td bgcolor="<?php echo $GLOBALS['cfgThBgcolor']; ?>">
!             <b><?php echo stripslashes($message); ?></b><br />
          </td>
      </tr>
          <?php
--- 845,851 ----
      <table border="<?php echo $GLOBALS['cfgBorder']; ?>" cellpadding="5">
      <tr>
          <td bgcolor="<?php echo $GLOBALS['cfgThBgcolor']; ?>">
!             <b><?php echo get_magic_quotes_gpc() ? stripslashes($message) : $message; ?></b><br />
          </td>
      </tr>
          <?php
diff -rc phpMyAdmin-cvs/libraries/select_lang.lib.php3 phpMyAdmin/libraries/select_lang.lib.php3
*** phpMyAdmin-cvs/libraries/select_lang.lib.php3	Mon Feb 18 22:43:45 2002
--- phpMyAdmin/libraries/select_lang.lib.php3	Tue Feb 19 22:09:59 2002
***************
*** 58,64 ****
      'he'         => array('he|hebrew', 'hebrew', 'he'),
      'hu'         => array('hu|hungarian', 'hungarian', 'hu'),
      'it'         => array('it|italian', 'italian', 'it'),
!     'ja'         => array('ja|japanese', 'japanese', 'ja'),
      'ko'         => array('ko|korean', 'korean', 'ko'),
      'nl'         => array('nl([-_][[:alpha:]]{2})?|dutch', 'dutch', 'nl'),
      'no'         => array('no|norwegian', 'norwegian', 'no'),
--- 58,65 ----
      'he'         => array('he|hebrew', 'hebrew', 'he'),
      'hu'         => array('hu|hungarian', 'hungarian', 'hu'),
      'it'         => array('it|italian', 'italian', 'it'),
!     'ja'         => array('ja|japanese-euc', 'japanese-euc', 'ja'),
!     'ja-sjis'    => array('ja|japanese-sjis', 'japanese-sjis', 'ja'),
      'ko'         => array('ko|korean', 'korean', 'ko'),
      'nl'         => array('nl([-_][[:alpha:]]{2})?|dutch', 'dutch', 'nl'),
      'no'         => array('no|norwegian', 'norwegian', 'no'),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: japanese.inc.tgz
Type: application/x-unknown-content-type-winzip
Size: 8821 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20020219/547bf667/attachment.bin>


More information about the Developers mailing list