-
- <p>You also decide if you want the translation box displayed,
- and where it will be located.</p>
-
- <form action="../../src/options.php" method=post>
- <table border=0 cellpadding=0 cellspacing=2>
- <tr><td align=right nowrap>Select your translator:</td>
- <td><select name="translate_translate_server">
-<?PHP
- ShowOption('server', 'babelfish', 'Babelfish');
- ShowOption('server', 'go', 'Go.com');
- ShowOption('server', 'dictionary', 'Dictionary.com');
- ShowOption('server', 'intertran', 'Intertran');
- ShowOption('server', 'gpltrans', 'GPLTrans');
-?> </select>
- </td></tr>
- <tr><td align=right nowrap valign="top">When reading:</td>
- <td><input type=checkbox name="translate_translate_show_read"<?PHP
- if ($translate_show_read)
- echo " CHECKED";
- ?>> - Show translation box
- <select name="translate_translate_location">
-<?PHP
- ShowOption('location', 'left', 'to the left');
- ShowOption('location', 'center', 'in the center');
- ShowOption('location', 'right', 'to the right');
-?> </select><br>
- <input type=checkbox name="translate_translate_same_window"<?PHP
+ <p>
+<?php
+ echo _("You also decide if you want the translation box displayed, and where it will be located.") .
+ '<form action="'.sqm_baseuri().'src/options.php" method="post">'.
+ '<input type="hidden" name="optmode" value="submit" />' .
+ '<input type="hidden" name="optpage" value="translate" />' .
+ '<table border="0" cellpadding="0" cellspacing="2">'.
+ '<tr><td align="right" style="white-space: nowrap;">' .
+ _("Select your translator:") .
+ '</td>'.
+ '<td><select name="translate_translate_server">';
+ translate_showoption();
+ echo '</select>' .
+ '</td></tr>' .
+ '<tr>'.html_tag('td',_("When reading:"),'right','','style="white-space: nowrap;"').
+ '<td><input type="checkbox" name="translate_translate_show_read"';
+ if ($translate_show_read)
+ echo ' checked="checked"';
+ echo ' /> - ' . _("Show translation box") .
+ ' <select name="translate_translate_location">';
+ translate_showoption_internal('location', 'left', _("to the left"));
+ translate_showoption_internal('location', 'center', _("in the center"));
+ translate_showoption_internal('location', 'right', _("to the right"));
+ echo '</select><br />'.
+ '<input type="checkbox" name="translate_translate_same_window"';