|
|
d4e540d |
.TH pocommentclean 1 "Translate Toolkit 1.3.0" "" "Translate Toolkit 1.3.0"
|
|
|
d4e540d |
.SH NAME
|
|
|
d4e540d |
pocommentclean \- Remove all translator comments from PO files.
|
|
|
d4e540d |
.SH SYNOPSIS
|
|
|
d4e540d |
\fBpocommentclean\fR [\fB\-\-backup\fR] \fIpo-dir\fR
|
|
|
d4e540d |
|
|
|
d4e540d |
where \fIpo-dir\fR is a directory of existing PO files that you want to
|
|
|
d4e540d |
clean.
|
|
|
d4e540d |
.SH DESCRIPTION
|
|
|
d4e540d |
pocommentclean will remove all translator comments from a directory of PO
|
|
|
d4e540d |
files.
|
|
|
d4e540d |
.SH OPTIONS
|
|
|
d4e540d |
.TP
|
|
|
d4e540d |
\fB\-\-backup\fR
|
|
|
d4e540d |
Create a backup file for each PO file converted, with the \fI.po.bak\fR
|
|
|
d4e540d |
extension.
|
|
|
d4e540d |
.SH OPERATION
|
|
|
d4e540d |
Using sed \fBpocommentclean\fR will delete all lines starting with # but which
|
|
|
d4e540d |
are not standard Gettext PO format lines. So it won't delete developer
|
|
|
d4e540d |
comments (#.), obsolete messages (#~), flags (#,) or locations (#:).
|
|
|
d4e540d |
.SH BUGS
|
|
|
d4e540d |
\fBpocommentclean\fR cannot clean individual PO files, it only cleans
|
|
|
d4e540d |
directories.
|