.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . 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 "MSGUNTYPOT 1p" .TH MSGUNTYPOT 1p "2020-08-19" "Strumenti Po4a" "Strumenti Po4a" .\" 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" msguntypot \- aggiorna il file \s-1PO\s0 quando un errore tipografico viene corretto nel file \s-1POT\s0 .SH "SINTASSI" .IX Header "SINTASSI" \&\fBmsguntypot\fR \fB\-o\fR \fIvecchio_pot\fR \fB\-n\fR \fInuovo_pot\fR \fIfile_po\fR ... .SH "DESCRIZIONE" .IX Header "DESCRIZIONE" Quando si sitema un errore banale che sicuramente non influisce sulle traduzioni (per es. un errore di battitura) in un file \s-1POT,\s0 si dovrebbe de-fuzzy-are le corrispondenti msgstr nei file \s-1PO\s0 tradotti in modo da evitare lavoro extra ai traduttori. .PP Questo compito è difficoltoso e porta facilmente a commettere degli errori se eseguito manualmente, e questo strumento esiste proprio per aiutare ad eseguirlo correttamente. Basta solo fornire le due versioni del file \s-1POT:\s0 prima della modifica e dopo come impostato nella sintassi descritta sopra, e tutto diventa automatico. .SH "COME USARLO" .IX Header "COME USARLO" In breve, quando si scopre un errore di battitura in oneuno dei messaggi [in inglese], fare le operazioni seguenti: .IP "\- Rigenerare i file \s-1POT\s0 e \s-1PO.\s0" 4 .IX Item "- Rigenerare i file POT e PO." .Vb 3 \& make \-C po/ update\-po # per traduzioni di messaggi di programmi \& debconf\-updatepo # per traduzioni di debconf \& po4a po4a.conf # per traduzioni di documentazione basata su po4a .Ve .Sp o qualcos'altro, a seconda delle impostazioni di compilazione del progetto. Sapete come assicurarvi che i file \s-1POT\s0 e \s-1PO\s0 siano aggiornati, non è vero? .IP "\- Fare una copia del file \s-1POT.\s0" 4 .IX Item "- Fare una copia del file POT." .Vb 1 \& cp myfile.pot myfile.pot.orig .Ve .IP "\- Fare una copia di tutti i file \s-1PO.\s0" 4 .IX Item "- Fare una copia di tutti i file PO." .Vb 1 \& mkdir po_fridge; cp *.po po_fridge .Ve .IP "\- Sistemare l'errore." 4 .IX Item "- Sistemare l'errore." \&\f(CW$EDITOR\fR il_file_nel_quale_c'è_un_errore_di_battitura .IP "\- Rigenerare i file \s-1POT\s0 e \s-1PO.\s0" 4 .IX Item "- Rigenerare i file POT e PO." Vedere sopra. .PP A questo punto, la correzione dell'errore di battitura ha reso fuzzy tutte le traduzioni, e questo sfortunato cambiamento è l'unico tra i file \s-1PO\s0 della cartella principale e quella del frigo. Ecco come risolvere il problema. .IP "\- Scartare le traduzioni fuzzy, ripristinare quelle dal frigo." 4 .IX Item "- Scartare le traduzioni fuzzy, ripristinare quelle dal frigo." .Vb 1 \& cp po_fridge/*.po . .Ve .IP "\- Fondere manualmente i file \s-1PO\s0 con il nuovo file \s-1POT,\s0 ma tenendo conto delle fuzzy inutili." 4 .IX Item "- Fondere manualmente i file PO con il nuovo file POT, ma tenendo conto delle fuzzy inutili." .Vb 1 \& msguntypot \-o myfile.pot.orig \-n myfile.pot *.po .Ve .IP "\- Pulizie." 4 .IX Item "- Pulizie." .Vb 1 \& rm \-rf myfile.pot.orig po_fridge .Ve .PP Finito. L'errore di battitura è stato sradicato dai msgstr sia del \s-1POT\s0 che dei file \s-1PO,\s0 e i file \s-1PO\s0 non sono stati \*(L"fuzzificati\*(R" durante il processo. I traduttori ti adoreranno. .SH "VEDERE ANCHE" .IX Header "VEDERE ANCHE" Malgrado il suo nome, questo strumento non fa parte della suite gettext. Fa invece parte di po4a. Più precisamente, è uno script Perl che usa i moduli po4a. Per ulteriori informazioni su po4a, consultare: .PP \&\fBpo4a\fR\|(7) .SH "AUTORI" .IX Header "AUTORI" .Vb 1 \& Martin Quinson (mquinson#debian,org) .Ve .SH "TRADUZIONE" .IX Header "TRADUZIONE" .Vb 2 \& Danilo Piazzalunga \& Marco Ciampa .Ve .SH "COPYRIGHT E LICENZA" .IX Header "COPYRIGHT E LICENZA" Copyright © 2005 by \s-1SPI,\s0 inc. .PP Questo programma è software libero; è lecito ridistribuirlo o modificarlo secondo i termini della licenza \s-1GPL\s0 (vedere il file \s-1COPYING\s0).