Przeglądaj źródła

Revert last change

pdontthink 17 lat temu
rodzic
commit
f0820dbc9b

+ 1 - 1
po/squirrelmail.pot

@@ -4604,7 +4604,7 @@ msgstr ""
 
 
 #. i18n: The parameters are: subject, sender, and date.
 #. i18n: The parameters are: subject, sender, and date.
 #, php-format
 #, php-format
-msgid "%1 from %2 on %3"
+msgid "%s from %s on %s"
 msgstr ""
 msgstr ""
 
 
 msgid "Expand Header"
 msgid "Expand Header"

+ 1 - 3
templates/default_advanced/read_headers.tpl

@@ -71,9 +71,7 @@ extract($t);
             $from = preg_replace('/"$/', '', trim($from));
             $from = preg_replace('/"$/', '', trim($from));
         }
         }
         // i18n: The parameters are: subject, sender, and date.
         // i18n: The parameters are: subject, sender, and date.
-        $reduced_header = str_replace(array('%1', '%2', '%3'),
-                                      array("<b>$subject</b>", "<b>$from</b>", "<b>$date</b>"),
-                                      _("%1 from %2 on %3"));
+        $reduced_header = sprintf(_("%s from %s on %s"), "<b>$subject</b>", "<b>$from</b>", "<b>$date</b>");
         $expand_link = str_replace('&expand_header=0', '', $PHP_SELF) . '&expand_header=1';
         $expand_link = str_replace('&expand_header=0', '', $PHP_SELF) . '&expand_header=1';
 
 
         echo '<tr><td colspan="2" align="center" valign="top">'
         echo '<tr><td colspan="2" align="center" valign="top">'