NobuNobu
nobun****@users*****
2007年 4月 30日 (月) 16:51:49 JST
Index: xoops2jp/html/language/japanese/comment.php diff -u xoops2jp/html/language/japanese/comment.php:1.2 xoops2jp/html/language/japanese/comment.php:1.2.24.1 --- xoops2jp/html/language/japanese/comment.php:1.2 Fri Mar 18 22:00:58 2005 +++ xoops2jp/html/language/japanese/comment.php Mon Apr 30 16:51:49 2007 @@ -1,5 +1,8 @@ <?php -// $Id: comment.php,v 1.2 2005/03/18 13:00:58 onokazu Exp $ +// $Id: comment.php,v 1.2.24.1 2007/04/30 07:51:49 nobunobu Exp $ + +if (!defined('_CM_TITLE')) { + define('_CM_TITLE','表題'); define('_CM_MESSAGE','コメント'); define('_CM_DOSMILEY','顔アイコンを有効にする'); @@ -37,4 +40,7 @@ define('_CM_COMAPPROVEADMIN','コメントは全て承認が必要'); define('_CM_COMANONPOST','匿名によるコメント投稿を許可しますか?'); define('_CM_COMNOCOM','コメント機能を無効にする'); + +} + ?> \ No newline at end of file Index: xoops2jp/html/language/japanese/notification.php diff -u xoops2jp/html/language/japanese/notification.php:1.5 xoops2jp/html/language/japanese/notification.php:1.5.12.1 --- xoops2jp/html/language/japanese/notification.php:1.5 Mon Sep 5 05:46:09 2005 +++ xoops2jp/html/language/japanese/notification.php Mon Apr 30 16:51:49 2007 @@ -1,5 +1,5 @@ <?php -// $Id: notification.php,v 1.5 2005/09/04 20:46:09 onokazu Exp $ +// $Id: notification.php,v 1.5.12.1 2007/04/30 07:51:49 nobunobu Exp $ // RMV-NOTIFY Index: xoops2jp/html/language/japanese/xoopsmailerlocal.php diff -u xoops2jp/html/language/japanese/xoopsmailerlocal.php:1.3 xoops2jp/html/language/japanese/xoopsmailerlocal.php:1.3.6.1 --- xoops2jp/html/language/japanese/xoopsmailerlocal.php:1.3 Thu Jul 27 09:17:18 2006 +++ xoops2jp/html/language/japanese/xoopsmailerlocal.php Mon Apr 30 16:51:49 2007 @@ -1,5 +1,5 @@ <?php -// $Id: xoopsmailerlocal.php,v 1.3 2006/07/27 00:17:18 onokazu Exp $ +// $Id: xoopsmailerlocal.php,v 1.3.6.1 2007/04/30 07:51:49 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -28,6 +28,9 @@ // URL: http://jp.xoops.org // // Project: The XOOPS Project // // ------------------------------------------------------------------------- // + +if (!defined('XOOPS_ROOT_PATH')) exit(); + class XoopsMailerLocal extends XoopsMailer { function XoopsMailerLocal(){ @@ -35,7 +38,9 @@ $this->reset(); $this->charSet = 'iso-2022-jp'; $this->encoding = '7bit'; - $this->multimailer->CharSet = $this->charSet; + $this->multimailer->CharSet = $this->charSet; + $this->multimailer->SetLanguage('ja'); + $this->multimailer->Encoding = "7bit"; } function encodeFromName($text){ @@ -63,7 +68,7 @@ --------------------------------------*/ function STRtoJIS($str, $from_charset){ if (function_exists('mb_convert_encoding')) { //Use mb_string extension if exists. - $str_JIS = mb_convert_encoding($str, "ISO-2022-JP", $from_charset); + $str_JIS = mb_convert_encoding(mb_convert_kana($str,"KV", $from_charset), "JIS", $from_charset); } else if ($from_charset=='EUC-JP') { $str_JIS = ''; $mode = 0; @@ -106,7 +111,7 @@ function XoopsMultiMailerLocal() { $this->XoopsMultiMailer(); - + $this->needs_encode = true; if (function_exists('mb_convert_encoding')) { $mb_overload = ini_get('mbstring.func_overload'); @@ -183,4 +188,4 @@ } } } -?> \ No newline at end of file +?>