On 23/08/2007, Adriano Ferreira <a.r.ferreira gmail.com> wrote:
> The patch that introduced the switch " -L
language_code " took care of
> ignoring the option if the corresponding module was not
installed.
>
> But (after installed)
>
> $ perldoc -L it perlintro
>
> works because there is a translated perlintro.pod,
while
>
> $ perldoc -L it perldoc
>
> does not. I don't think the following message
>
> No documentation found for
"POD2::IT::perldoc".
>
> is what users expect. To tell the truth, if they typed
that, they
> expected the Italian translation of perldoc.pod (which
is not ready
> yet), but I think falling back to the standard
(English) page is more
> useful.
>
> The attached patch implements just this.
Thanks, applied as #31762, plus a typo fixed in #31763.
|