Home GnuPG
Diffusion GnuPG 79778a8dd5f6

g10: Improve strings printed by tofu.c.
79778a8dd5f6Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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>

Details

Provenance
wernerAuthored on Jan 18 2016, 6:54 PM
Parents
rG576fedc5f6a1: gpg: Minor string changes.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG79778a8dd5f6: g10: Improve strings printed by tofu.c. (authored by Werner Koch <wk@gnupg.org>).Jan 18 2016, 6:54 PM