Unified label and name in i18n, since they'll always be the same.

This commit is contained in:
Paul Driver 2009-07-13 22:40:44 +00:00
parent fa23a75c39
commit 6c5d728730
2 changed files with 3 additions and 6 deletions

View file

@ -115,7 +115,7 @@ sub getButton {
my $payForm
= WebGUI::Form::formHeader($session)
. $self->getDoFormTags('sendToPayPal')
. WebGUI::Form::submit( $session, { value => $self->get('label') } )
. WebGUI::Form::submit( $session, { value => $self->get('name') } )
. WebGUI::Form::formFooter($session);
return $payForm;

View file

@ -37,13 +37,10 @@ our $I18N = {
lastUpdated => 1247524131,
context => q{Message to display when something goes wrong talking to PayPal},
},
'label' => {
message => q{NewPal},
lastUpdated => 1247256659,
},
'name' => {
message => q{NewPal},
message => q{PayPal},
lastUpdated => 1247256412,
context => q{The name of the payment driver},
},
'password' => {
message => q{Password},