1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

gpg-mail-tube: Support templates.

* tools/gpg-mail-tube.c: Include i18n.h.
(main): Call i18n.h
(only_ascii): New.
(mail_tube_encrypt): Use a template or fallback to the old version.

* doc/mail-tube.txt, doc/mail-tube.de.txt: Two standard templates.
* doc/Makefile.am (helpfiles): Add them.
--

GnuPG-bug-id: 7381
This commit is contained in:
Werner Koch 2025-05-30 14:55:12 +02:00
parent 61514f7cd8
commit 982f45c8c7
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
5 changed files with 128 additions and 5 deletions

View file

@ -2194,6 +2194,12 @@ The recipients must be plain mail addresses
(e.g. @code{foo@@example.org}) and should in general list the To and
Cc addresses contained in the mail.
The tool needs to insert strings into the mails which can be
configured using a plain text file. The installed default files for
English (@file{mail-tube.txt}) and German (@file{mail-tube.de.txt})
can be copied to the system configuration directory and changed to
local needs. Environment variables in these texts are expanded.
@mansect options
@noindent
@command{gpg-mail-tube} understands these options: