From badc2e9378c32bfc129eeb9347eddc00b5144a90 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 10 Mar 2011 16:17:21 +0000 Subject: [PATCH] forward port translation changes on participant special award pages --- register_participants_spawards.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/register_participants_spawards.php b/register_participants_spawards.php index 5268fd6..3be7ff5 100644 --- a/register_participants_spawards.php +++ b/register_participants_spawards.php @@ -138,8 +138,8 @@ else if($newstatus=="complete") $nominatedawards=getSpecialAwardsNominatedForProject($project->id); $eligibleawards = array_merge(array(array( 'id'=> -1, - 'name' => "I do not wish to self-nominate for any special awards", - 'criteria' => "Select this option if you do not wish to self-nominate you project for any special awards.
", + 'name' => i18n("I do not wish to self-nominate for any special awards"), + 'criteria' => i18n("Select this option if you do not wish to self-nominate you project for any special awards.")."
", 'self_nominate' => 'yes')), $eligibleawards); /* See if they have the -1 award selected */ @@ -156,23 +156,21 @@ else if($newstatus=="complete") */ $nominatedawards_list=array(); - foreach($nominatedawards AS $naward) - { + foreach($nominatedawards AS $naward) { $nominatedawards_list[]=$naward['id']; } echo ""; - foreach($eligibleawards AS $eaward) - { + foreach($eligibleawards AS $eaward) { if($eaward['self_nominate'] == 'no') continue; echo ""; echo ""; }
"; if(in_array($eaward['id'],$nominatedawards_list)) $ch="checked=\"checked\""; else $ch=""; echo ""; echo ""; - echo "".$eaward['name'].""; + echo "".i18n($eaward['name']).""; echo "
"; - echo $eaward['criteria']; + echo i18n($eaward['criteria']); if($eaward['id'] != -1) echo '

'; echo "