}
function processSubject($subject) {
+ global $squirrelmail_language;
/* Shouldn't ever happen -- caught too many times in the IMAP functions */
if ($subject == '')
return _("(no subject)");
return $subject;
}
+ if ($squirrelmail_language == 'ja_JP' && function_exists('mb_strimwidth')) {
+ return mb_strimwidth($subject, 0, $trim_val, '...');
+ }
+
return substr($subject, 0, $trim_val) . '...';
}