postats1(1)

postats11

Program to aid editing gettext po files

Part of potool(1).

Usage

potool FILENAME1 [FILENAME2] [{-f f | nf | t | nt}] [{-n id | str | cmt | ucmt | pcmt | scmt | dcmt | tr | linf}] ... [-s] [-c] [-h]

poedit [-a] file.po

postats file.po

postats1 file.po

Overview

potool works in two (so far) modes. The first mode requires providing one filename, and works as a filter. In the second mode, the program replaces the translations in FILENAME1 with the translations from FILENAME2. (So FILENAME1 is the base po file, while FILENAME2 is our working copy.)

Options

-f filter

Determines which po file entries should be retained. Existing filters are:
t - translated entries
nt - untranslated entries
f - fuzzy entries
nf - entries that are not fuzzy

-n filter

Determines which po file entries parts should not be retained.
id - don't write 'id' parts
str - don't write 'str' parts
tr - don't write translations
ucmt - don't write user's comments
pcmt - don't write the comments regarding position in source files
scmt - don't write special comments ('#, fuzzy, c-format, ...')
dcmt - don't write reserved comments (usually starting with a dot)
cmt - don't write any comments
linf - change source line numbers to '1'

-s

Don't write the entries themselves, only count them.

-c

Overwrite all msgstrs with their msgids.

-h

Display short usage help.

Examples

poedit is a simple wrapper script for potool which helps editing po files. Use its -a flag to edit all messages, not only the untranslated ones.

postats and postats1 display statistics about how much is already translated.

Releases

3 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1–4.0

-c since Debian 3.1 (Sarge).

Author

This manual page was written by Marcin Owsiany <[email protected]>, using the description in Polish provided by Zbigniew Chyla.

From potool 0.5-2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.