fix a typo in a label, and i18n another label in the HttpProxy parser
This commit is contained in:
parent
9f679b1c03
commit
bea5572788
2 changed files with 9 additions and 2 deletions
|
|
@ -79,7 +79,8 @@ sub filter {
|
||||||
my $self=shift;
|
my $self=shift;
|
||||||
$self->parse($self->{Content}); # Make paths absolute and let them return to us
|
$self->parse($self->{Content}); # Make paths absolute and let them return to us
|
||||||
$self->eof;
|
$self->eof;
|
||||||
return "<p>Error: HttpProxy can't recursively proxy its own content.</p>" if ($self->{recurseCheck});
|
my $i18n = WebGUI::International->new($self->session, 'Asset_HttpProxy');
|
||||||
|
return $i18n->get('no recursion') if ($self->{recurseCheck});
|
||||||
return $self->{Filtered};
|
return $self->{Filtered};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -186,7 +186,13 @@ our $I18N = {
|
||||||
},
|
},
|
||||||
|
|
||||||
'may not leave error message' => {
|
'may not leave error message' => {
|
||||||
message => q|<h1>You are not allowed to leave %s</h1>"|,
|
message => q|<h1>You are not allowed to leave %s</h1>|,
|
||||||
|
lastUpdated => 1163746361,
|
||||||
|
context => q|This entry is used to tell the user that the HttpProxy cannot leave this URL. Please leave the %s part of the string as is, since this entry is used in sprintf|,
|
||||||
|
},
|
||||||
|
|
||||||
|
'no recursion' => {
|
||||||
|
message => q|<p>Error: HttpProxy can't recursively proxy its own content.</p>|,
|
||||||
lastUpdated => 1162959817,
|
lastUpdated => 1162959817,
|
||||||
context => q|This entry is used to tell the user that the HttpProxy cannot leave this URL. Please leeave the %s part of the string as is, since this entry is used in sprintf|,
|
context => q|This entry is used to tell the user that the HttpProxy cannot leave this URL. Please leeave the %s part of the string as is, since this entry is used in sprintf|,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue