From b0dab4a6de253147a2ba1e12d62bf494cf19a6bb Mon Sep 17 00:00:00 2001 From: jervfors Date: Tue, 15 Jan 2008 09:08:36 +0000 Subject: [PATCH] Removing HTML from a string. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12882 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default_advanced/read_headers.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/default_advanced/read_headers.tpl b/templates/default_advanced/read_headers.tpl index ddcc1a73..da573fb2 100644 --- a/templates/default_advanced/read_headers.tpl +++ b/templates/default_advanced/read_headers.tpl @@ -70,7 +70,8 @@ extract($t); $from = preg_replace('/^(")+|(")+$/', '', $from); $from = preg_replace('/"$/', '', trim($from)); } - $reduced_header = sprintf(_("%s From %s On %s"), $subject, $from, $date); + // i18n: The parameters are: subject, sender, and date. + $reduced_header = sprintf(_("%s from %s on %s"), "$subject", "$from", "$date"); $expand_link = str_replace('&expand_header=0', '', $PHP_SELF) . '&expand_header=1'; echo '' -- 2.25.1