1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-06-17 20:27:03 +02:00
gnupg/doc/mail-tube.txt
Werner Koch 982f45c8c7
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
2025-05-30 14:55:12 +02:00

1.6 KiB

mail-tube.txt - gpg-mail-tube strings (en) -- default-generic --

Written in 2025 by g10 Code GmbH

To the extent possible under law, the author(s) have dedicated all

copyright and related and neighboring rights to this text to the

public domain worldwide. This text is distributed without any

warranty. You should have received a copy of the CC0 Public Domain

Dedication along with this software. If not, see

https://creativecommons.org/publicdomain/zero/1.0/.

SPDX-License-Identifier: CC0-1.0

Note that this template file needs to be UTF-8 encoded. When looking

for a template item, GnuPG scans the help files in the following order

(assuming a standard Unix layout):

/etc/gnupg/TEMPLATE.LL_TT.txt

/etc/gnupg/TEMPLATE.LL.txt

/etc/gnupg/TEMPLATE.txt

/usr/share/gnupg/TEMPLATE.LL_TT.txt

/usr/share/gnupg/TEMPLATE.LL.txt

/usr/share/gnupg/TEMPLATE.txt

Here TEMPLATE denotes the name of the template (e.g. "mail-tube"),

LL_TT denotes the full name of the current locale with the territory

(.e.g. "de_DE"), LL denotes just the locale name (e.g. "de"). The

first matching item is returned. To put a dot or a hash mark at the

beginning of a text line, it needs to be prefixed with a dot and a

space. A single dot may be used to terminated an entry. Depending

on the template type certain variables (${NAME}) are expanded.

Check the man page of the respective tool.

.encrypted-file-attached Please find attached an encrypted file. .

.encrypted-mail-attached Please find attached an encrypted mail. .