g10: Improve strings printed by tofu.c.
authorWerner Koch <wk@gnupg.org>
Mon, 18 Jan 2016 17:54:46 +0000 (18:54 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 18 Jan 2016 17:54:46 +0000 (18:54 +0100)
commit79778a8dd5f61a6b7abeeb44b75d82932db788b7
treec8e44104472e9428d5e93d1b2e9025571ac7332c
parent576fedc5f6a1d76d6e1ed0cd3b54a1090230399e
g10: Improve strings printed by tofu.c.

* g10/tofu.c: Include ttyio.h.  Change many strings to help
translating.  Make use of ngettext wehere needed.
(CONTROL_L): New.
(TIME_AGO_UNIT_SMALL_NAME): Remove this and all similar *_NAME macros.
(time_ago_unit): Remove.
(get_trust): Use tty_prints and cpr_get only for the actual prompt.
Add Ctrl-L hack.
(show_statistics): Use two English strings for singular and plural.

* po/POTFILES.in: Add tofu.c.
--

These changes are required for proper translation.  More to changes
may be needed, though.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/tofu.c
po/POTFILES.in