tabs->spaces in PayPal i18n file (was inconsistant) and a couple of doc changes per colin's suggestions.

This commit is contained in:
Paul Driver 2009-07-13 22:34:38 +00:00
parent 2adb08c79c
commit fa23a75c39
4 changed files with 106 additions and 91 deletions

View file

@ -192,7 +192,9 @@ sub processPayment {
}
my $status = $params->{PAYMENTSTATUS};
my $message = "Payment Status: $status";
my $i18n = WebGUI::International->new( $self->session, $I18N );
my $message = sprintf $i18n->get('payment status'), $status;
return ( 1, $params->{TRANSACTIONID}, $status, $message );
}
@ -278,7 +280,7 @@ sub www_sendToPayPal {
unless ( $params->{ACK} =~ /^Success/ ) {
my $log = sprintf "Paypal error: Request/response below: %s\n%s\n", Dumper($form), Dumper($params);
$session->log->error($log);
$error = 'Internal Paypal Error';
$error = $i18n->get('internal paypal error');
}
}
else {