From 7b9f6e3af4e3db4e8d3f982620370b5ebb558c96 Mon Sep 17 00:00:00 2001 From: gustavf Date: Wed, 23 Feb 2000 10:04:58 +0000 Subject: [PATCH] Added gettext to strings. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@239 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 62440523..6fb89d9d 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -52,7 +52,7 @@ } else if (substr($read[$i], 0, 8) == "Subject:") { $subject = htmlspecialchars(substr($read[$i], 8)); if (strlen(trim($subject)) == 0) - $subject = "(no subject)"; + $subject = _("(no subject)"); } } } @@ -222,7 +222,7 @@ else if (strtolower(substr($read[$i], 0, 8)) == "subject:") { $header["SUBJECT"] = trim(substr($read[$i], 8, strlen($read[$i]) - 9)); if (strlen(Chop($header["SUBJECT"])) == 0) - $header["SUBJECT"] = "(no subject)"; + $header["SUBJECT"] = _("(no subject)"); $i++; } /** CC **/ @@ -251,10 +251,10 @@ /** ERROR CORRECTION **/ else if (substr($read[$i], 0, 1) == ")") { if ($header["SUBJECT"] == "") - $header["SUBJECT"] = "(no subject)"; + $header["SUBJECT"] = _("(no subject)"); if ($header["FROM"] == "") - $header["FROM"] = "(unknown sender)"; + $header["FROM"] = _("(unknown sender)"); if ($header["DATE"] == "") $header["DATE"] = time(); -- 2.25.1