forked from science-ation/science-ation
Add missing i18n calls to winners page
This commit is contained in:
parent
e2b78cc707
commit
c11967a9df
18
winners.php
18
winners.php
@ -78,7 +78,7 @@ if($_GET['year'] && $_GET['type'])
|
||||
echo "<br />";
|
||||
while($r=mysql_fetch_object($q))
|
||||
{
|
||||
echo "<h3>$r->name</h3> \n";
|
||||
echo "<h3>".i18n($r->name)."</h3> \n";
|
||||
|
||||
$pq=mysql_query("SELECT
|
||||
award_prizes.prize,
|
||||
@ -108,16 +108,16 @@ if($_GET['year'] && $_GET['type'])
|
||||
echo " ";
|
||||
echo " ";
|
||||
echo "<b>";
|
||||
echo "$pr->prize";
|
||||
echo i18n($pr->prize);
|
||||
if(($pr->cash || $pr->scholarship) && $config['winners_show_prize_amounts'] == 'yes')
|
||||
{
|
||||
echo " (";
|
||||
if($pr->cash && $pr->scholarship)
|
||||
echo "\$$pr->cash cash / \$$pr->scholarship scholarship";
|
||||
echo i18n("\$%1 cash / \$%2 scholarship",array($pr->cash,$pr->scholarship),array("Cash dollar value","Scholarship dollar value"));
|
||||
else if($pr->cash)
|
||||
echo "\$$pr->cash cash";
|
||||
echo i18n("\$%1 cash",array($pr->cash),array("Cash dollar value"));
|
||||
else if($pr->scholarship)
|
||||
echo "\$$pr->scholarship scholarship";
|
||||
echo i18n("\$%1 scholarship",array($pr->scholarship),array("Scholarship dollar value"));
|
||||
echo ")";
|
||||
|
||||
}
|
||||
@ -172,20 +172,20 @@ if($_GET['year'] && $_GET['type'])
|
||||
echo "  ";
|
||||
echo "  ";
|
||||
if($studnum > 1)
|
||||
echo "Students: $students";
|
||||
echo i18n("Students").": $students";
|
||||
else
|
||||
echo "Student: $students";
|
||||
echo i18n("Student").": $students";
|
||||
|
||||
echo "<br />";
|
||||
echo "  ";
|
||||
echo "  ";
|
||||
echo "School: $school";
|
||||
echo i18n("School").": $school";
|
||||
echo "<br />";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "  ";
|
||||
echo "Prize not awarded";
|
||||
echo i18n("Prize not awarded");
|
||||
echo "<br />";
|
||||
}
|
||||
echo "<br />";
|
||||
|
Loading…
Reference in New Issue
Block a user