From 982f45c8c7c64b914b3737ddb864076ff51d1b2f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 30 May 2025 14:55:12 +0200 Subject: 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 --- doc/tools.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/tools.texi') diff --git a/doc/tools.texi b/doc/tools.texi index 7186c362a..45f3e897d 100644 --- a/doc/tools.texi +++ b/doc/tools.texi @@ -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: -- cgit v1.2.3