[dev] Re: [cvs] commit: imp/lib/MIME/Viewer plain.php troll/lib/MIME/Viewer plain.php

Marko marko at oblo.com
Sat Dec 7 09:35:13 2002


-            $text = '<p><i>' . sprintf(_("This message was written in a
character set other than your own. If it is not displayed correctly, %s to open
it in a new window."), $contents->linkViewJS($mime, VIEW_ATTACH, _("click
here"))) . "</i></p>\n" . $text;
+            $text = '<p><i>' . sprintf(_("This message was written in a
character set other than your own. If it is not displayed correctly, try %s."),
$contents->linkViewJS($mime, VIEW_ATTACH, _("opening it in a new window"))) .
"</i></p>\n" . $text;


i think the first is easier to have it translated into other languages. with the
second version you'd have to know the context where "opening it in a new window"
is used to get the language structure right.

m.


More information about the dev mailing list