change i18n labels in the listSubscriptionCodes screen to try and clear things up

This commit is contained in:
Colin Kuskie 2008-07-19 03:36:00 +00:00
parent a417feb69d
commit 59f561eabe
3 changed files with 10 additions and 8 deletions

View file

@ -737,7 +737,7 @@ sub www_listSubscriptionCodeBatches {
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
foreach my $batch ( @{$batches} ) {
$output .= '<tr><td>';
$output .= $session->icon->delete(
$output .= $session->icon->delete(
'func=deleteSubscriptionCodeBatch;bid='.$batch->{batchId},
$self->getUrl,
$i18n->get('delete batch confirm'));
@ -780,7 +780,7 @@ sub www_listSubscriptionCodes {
my $batchId = $session->form->process('bid');
my $selection = $session->form->process('selection');
my $batches =
$session->db->buildHashRef('select batchId, description from Subscription_codeBatch where subscriptionId=?',
$session->db->buildHashRef('select batchId, name from Subscription_codeBatch where subscriptionId=?',
[
$self->getId,
]);
@ -816,7 +816,7 @@ sub www_listSubscriptionCodes {
$f->readOnly(
label =>
WebGUI::Form::radio( $session, { name => 'selection', value => 'b', checked => ($selection eq 'b') } )
. $i18n->get('selection batch id'),
. $i18n->get('selection batch name'),
value =>
WebGUI::Form::selectBox( $session, { name => 'bid', value => $batchId, options => $batches } ),
);
@ -860,7 +860,7 @@ sub www_listSubscriptionCodes {
$output .= '<br />';
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
$output .= '<tr>';
$output .= '<th>'.$i18n->get('batch id').'</th><th>'.$i18n->get('code').'</th><th>'.$i18n->get('creation date').
$output .= '<th>&nbsp;</th><th>'.$i18n->get('batch id').'</th><th>'.$i18n->get('code').'</th><th>'.$i18n->get('creation date').
'</th><th>'.$i18n->get('dateUsed').'</th><th>'.$i18n->get('status').'</th>'; $output .= '</tr>';
foreach (@{$codes}) {
$output .= '<tr>';

View file

@ -281,8 +281,8 @@ our $I18N = {
},
'delete codes' => {
message => q|Delete selected codes|,
lastUpdated => 1101228391,
message => q|Delete all codes selected above.|,
lastUpdated => 1216437724,
context => q|Shows up in listSubscriptionCodes.|
},
@ -345,8 +345,9 @@ characters long.</p>|,
lastUpdated => 0,
context => q|The enter a code message for the code redemption function.|
},
'selection batch id' => {
message => q|batch ID|,
'selection batch name' => {
message => q|batch name|,
lastUpdated => 0,
context => q|Shows up in the selection part of listSubscriptionCodes.|
},