From: Tomas K. <to...@us...> - 2003-01-16 21:18:14
|
Update of /cvsroot/squirrelmail/squirrelmail/plugins/fortune In directory sc8-pr-cvs1:/tmp/cvs-serv13302a Modified Files: setup.php Log Message: Translated strings in plugin to gettext. Index: setup.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/fortune/setup.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- setup.php 31 Dec 2002 12:49:36 -0000 1.4 +++ setup.php 16 Jan 2003 21:18:12 -0000 1.5 @@ -35,9 +35,9 @@ echo "<center><table cellpadding=0 cellspacing=0 border=0 bgcolor=$color[10]><tr><td><table width=100% cellpadding=2 cellspacing=1 border=0 bgcolor=\"$color[5]\"><tr><td align=center>"; echo '<TABLE><TR><TD>'; if (!$exist) { - echo "$fortune_location not found."; + echo "$fortune_location" . _(" not found."); } else { - echo "<CENTER><FONT=3><EM>Today's Fortune</EM><BR></FONT></CENTER><pre>"; + echo "<CENTER><FONT=3><EM>" . _("Today's Fortune") . "</EM><BR></FONT></CENTER><pre>"; system($fortune_location); } @@ -53,11 +53,11 @@ function fortune_options() { global $fortune_visible; - echo "<tr><td align=right nowrap>Fortunes:</td>\n"; + echo "<tr><td align=right nowrap>" . _("Fortunes:") . "</td>\n"; echo '<td><input name="fortune_fortune_visible" type=CHECKBOX'; if ($fortune_visible) echo ' CHECKED'; - echo "> Show fortunes at top of mailbox</td></tr>\n"; + echo "> " . _("Show fortunes at top of mailbox") . "</td></tr>\n"; } function fortune_save() { |