.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "LOCALE::PO4A::POD.3PM 1" .TH LOCALE::PO4A::POD.3PM 1 2024-06-26 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NOME .IX Header "NOME" Locale::Po4a::Pod \- converte dados POD de/para arquivos PO .SH SINOPSE .IX Header "SINOPSE" .Vb 2 \& use Locale::Po4a::Pod; \& my $parser = Locale::Po4a::Pod\->new(); \& \& # Lê um POD da STDIN e escreve para a STDOUT. \& $parser\->parse_from_filehandle; \& \& # Lê um POD do arquivo.pod e escreve para arquivo.txt. \& $parser\->parse_from_file (\*(Aqarquivo.pod\*(Aq, \*(Aqarquivo.txt\*(Aq); .Ve .SH DESCRIÇÃO .IX Header "DESCRIÇÃO" Locale::Po4a::Pod é um módulo para ajudar a tradução de documentação no formato POD (a linguagem preferido para documentar Perl) para outros idiomas. .SH "ESTADO DESTE MÓDULO" .IX Header "ESTADO DESTE MÓDULO" Eu penso que este módulos está bem consolidado, e há apenas um erro conhecido com \fI/usr/lib/perl5/Tk/MainWindow.pod\fR (e alguns outras páginas, veja abaixo), o qual contém: .PP .Vb 1 \& C<" #n"> .Ve .PP Por falta de sorte, na versão do po4a, isso foi divido no espaço pelo dimensionamento. Como resultado, na versão original, a página man contém: .PP .Vb 1 \& " #n" .Ve .PP e o meu contém: .PP .Vb 1 \& "" #n"" .Ve .PP o qual faz sentido, já que C é reescrito como "foobar". .PP Lista completa de páginas com esse problema na minha caixa (de 564 páginas; observe que depende da coluna escolhida para quebra de texto): .PP .Vb 8 \& /usr/lib/perl5/Tk/MainWindow.pod \& /usr/share/perl/5.8.0/overload.pod \& /usr/share/perl/5.8.0/pod/perlapi.pod \& /usr/share/perl/5.8.0/pod/perldelta.pod \& /usr/share/perl/5.8.0/pod/perlfaq5.pod \& /usr/share/perl/5.8.0/pod/perlpod.pod \& /usr/share/perl/5.8.0/pod/perlre.pod \& /usr/share/perl/5.8.0/pod/perlretut.pod .Ve .SH INTERNO .IX Header "INTERNO" Como uma classe derivada de Pod::Parser, Locale::Po4a::Pod tem suporte aos mesmos métodos e interfaces. Veja Pod::Parser para todos os detalhes. De forma resumida, cria-se um novo analisador com \f(CW\*(C`Locale::Po4a::Pod\->new()\*(C'\fR e, então, chama-se \fBparse_from_filehandle()\fR ou \fBparse_from_file()\fR. .SH "VEJA TAMBÉM" .IX Header "VEJA TAMBÉM" Pod::Parser, \fBLocale::Po4a::Man\fR\|(3pm), \fBLocale::Po4a::TransTractor\fR\|(3pm), \fBpo4a\fR\|(7) .SH AUTORES .IX Header "AUTORES" .Vb 2 \& Denis Barbier \& Martin Quinson (mquinson#debian.org) .Ve .SH "COPYRIGHT E LICENÇA" .IX Header "COPYRIGHT E LICENÇA" Copyright © 2002 SPI, Inc. .PP Esse programa é um software livre; você pode redistribuí\-lo e/ou modificá\-lo sob os termos da GPL v2.0 ou posterior (veja o arquivo COPYING).