Fix missing i18n's, fixes BUG #0000079

This commit is contained in:
james 2006-10-25 19:18:33 +00:00
parent 669ef1349c
commit c4527e1f34
3 changed files with 4 additions and 4 deletions

View File

@ -117,10 +117,10 @@ function questions_print_answer_editor($section, $id, $year, $array_name)
switch($qs[$qid]['type']) { switch($qs[$qid]['type']) {
case 'yesno': case 'yesno':
if($ans[$qid]=="yes") $ch="checked=\"checked\""; else $ch=""; if($ans[$qid]=="yes") $ch="checked=\"checked\""; else $ch="";
print("<input onclick=\"fieldChanged()\" $ch type=\"radio\" name=\"$iname\" value=\"yes\" />Yes"); print("<input onclick=\"fieldChanged()\" $ch type=\"radio\" name=\"$iname\" value=\"yes\" />".i18n("Yes"));
print("&nbsp; &nbsp; "); print("&nbsp; &nbsp; ");
if($ans[$qid]=="no") $ch="checked=\"checked\""; else $ch=""; if($ans[$qid]=="no") $ch="checked=\"checked\""; else $ch="";
print("<input onclick=\"fieldChanged()\" $ch type=\"radio\" name=\"$iname\" value=\"no\" />No"); print("<input onclick=\"fieldChanged()\" $ch type=\"radio\" name=\"$iname\" value=\"no\" />".i18n("No"));
break; break;
case 'int': case 'int':
print("<input onclick=\"fieldChanged()\" type=\"text\" ". print("<input onclick=\"fieldChanged()\" type=\"text\" ".

View File

@ -268,7 +268,7 @@
<form method="post" action="register_judges.php"> <form method="post" action="register_judges.php">
<input type="hidden" name="action" value="login" /> <input type="hidden" name="action" value="login" />
<?=i18n("Email")?>: <input type="text" name="email" size="30" /> <?=i18n("Email")?>: <input type="text" name="email" size="30" />
<input type="submit" value="Begin" /> <input type="submit" value="<?=i18n("Begin");?>" />
</form> </form>
<? <?

View File

@ -143,7 +143,7 @@ else
} }
echo "</table>"; echo "</table>";
echo "<br />"; echo "<br />";
echo "<h3>Other Areas of Expertise not listed above</h3>"; echo "<h3>".i18n("Other Areas of Expertise not listed above")."</h3>";
$q=mysql_query("SELECT expertise_other FROM judges WHERE id='".$_SESSION['judges_id']."'"); $q=mysql_query("SELECT expertise_other FROM judges WHERE id='".$_SESSION['judges_id']."'");
$judgeinfo=mysql_fetch_object($q); $judgeinfo=mysql_fetch_object($q);
echo "<textarea name=\"expertise_other\" rows=\"4\" cols=\"60\">".htmlspecialchars($judgeinfo->expertise_other)."</textarea>"; echo "<textarea name=\"expertise_other\" rows=\"4\" cols=\"60\">".htmlspecialchars($judgeinfo->expertise_other)."</textarea>";