version 1.72, 2004/04/21 17:57:02
|
version 1.73, 2004/04/21 19:03:02
|
Line 3157 sub render {
|
Line 3157 sub render {
|
$result .= '<p>'.&mt('Confirm that this information is correct, then click "Finish Helper" to complete setting the parameter.').'<ul>'; |
$result .= '<p>'.&mt('Confirm that this information is correct, then click "Finish Helper" to complete setting the parameter.').'<ul>'; |
|
|
# Print the type of manipulation: |
# Print the type of manipulation: |
$result .= '<li>'.&mt('Setting the').' <b>' . &mt($dateTypeHash{$vars->{ACTION_TYPE}}) . '</b>'; |
my $extra; |
if ($vars->{ACTION_TYPE} eq 'tries') { |
if ($vars->{ACTION_TYPE} eq 'tries') { |
$result .= ' '.&mt('to').' <b>' . $vars->{TRIES} . '</b>'; |
$extra = $vars->{TRIES}; |
} |
} |
if ($vars->{ACTION_TYPE} eq 'weight') { |
if ($vars->{ACTION_TYPE} eq 'weight') { |
$result .= ' '.&mt('to').' <b>' . $vars->{WEIGHT} . '</b>'; |
$extra = $vars->{WEIGHT}; |
|
} |
|
$result .= "<li>"; |
|
my $what = &mt($dateTypeHash{$vars->{ACTION_TYPE}}) |
|
if ($extra) { |
|
$result .= &mt('Setting the [_1] to [_2]',"<b>$what</b>",$extra); |
|
} else { |
|
$result .= &mt('Setting the [_1]',"<b>$what</b>"); |
} |
} |
$result .= "</li>\n"; |
$result .= "</li>\n"; |
if ($vars->{ACTION_TYPE} eq 'due_date' || |
if ($vars->{ACTION_TYPE} eq 'due_date' || |