minor code changes
parent
055be361f5
commit
c84b4cefcc
|
@ -141,9 +141,7 @@ sub checkconfig () {
|
||||||
! defined $config{po_link_to}) {
|
! defined $config{po_link_to}) {
|
||||||
$config{po_link_to}='default';
|
$config{po_link_to}='default';
|
||||||
}
|
}
|
||||||
elsif (! grep {
|
elsif ($config{po_link_to} !~ /^(default|current|negotiated)$/) {
|
||||||
$config{po_link_to} eq $_
|
|
||||||
} ('default', 'current', 'negotiated')) {
|
|
||||||
warn(sprintf(gettext('%s is not a valid value for po_link_to, falling back to po_link_to=default'),
|
warn(sprintf(gettext('%s is not a valid value for po_link_to, falling back to po_link_to=default'),
|
||||||
$config{po_link_to}));
|
$config{po_link_to}));
|
||||||
$config{po_link_to}='default';
|
$config{po_link_to}='default';
|
||||||
|
|
Loading…
Reference in New Issue