added gettext support.
[squirrelmail.git] / src / login.php
index 55259bf..d79d978 100644 (file)
@@ -18,7 +18,9 @@
    echo "<BODY TEXT=000000 BGCOLOR=FFFFFF LINK=0000CC VLINK=0000CC ALINK=0000CC>\n";
    echo "<FORM ACTION=webmail.php METHOD=\"POST\" NAME=f>\n";
    echo "<CENTER><IMG SRC=\"$org_logo\"</CENTER>\n";
-   echo "<CENTER><FONT FACE=\"Arial,Helvetica\" SIZE=-2>SquirrelMail version $version<BR>By the SquirrelMail Development Team<BR></FONT><CENTER>\n";
+   echo "<CENTER><FONT FACE=\"Arial,Helvetica\" SIZE=-2>";
+   echo _("SquirrelMail version $version<BR>By the SquirrelMail Development Team");
+   echo "<BR></FONT><CENTER>\n";
    echo "<TABLE COLS=1 WIDTH=350>\n";
    echo "   <TR>\n";
    echo "      <TD BGCOLOR=DCDCDC>\n";
    echo "         <TABLE COLS=2 WIDTH=100%>\n";
    echo "            <TR>\n";
    echo "               <TD WIDTH=30% ALIGN=right>\n";
-   echo "                  <FONT FACE=\"Arial,Helvetica\">Name:</FONT>\n";
+   echo "                  <FONT FACE=\"Arial,Helvetica\">";
+   echo _("Name:");
+   echo "                 </FONT>\n";
    echo "               </TD><TD WIDTH=* ALIGN=left>\n";
    echo "                  <CENTER><INPUT TYPE=TEXT NAME=username></CENTER>\n";
    echo "               </TD>\n";
    echo "            </TR><TR>\n";
    echo "               <TD WIDTH=30% ALIGN=right>\n";
-   echo "                  <FONT FACE=\"Arial,Helvetica\">Password:</FONT>\n";
+   echo "                  <FONT FACE=\"Arial,Helvetica\">";
+   echo _("Password:");
+   echo "                 </FONT>\n";
    echo "               </TD><TD WIDTH=* ALIGN=left>\n";
    echo "                  <CENTER><INPUT TYPE=PASSWORD NAME=key></CENTER>\n";
    echo "               </TD>\n"; 
@@ -43,7 +49,9 @@
    echo "      </TD>\n";
    echo "   </TR><TR>\n";
    echo "      <TD>\n";
-   echo "         <CENTER><INPUT TYPE=SUBMIT VALUE=Login></CENTER>\n";
+   echo "         <CENTER><INPUT TYPE=SUBMIT VALUE=\"";
+   echo _("Login");
+   echo "></CENTER>\n";
    echo "      </TD>\n";
    echo "   </TR>\n";
    echo "</TABLE>\n";