1998-11-27 12:42:49 +01:00
|
|
|
/* helptext.c - English help texts
|
2004-02-26 03:03:27 +01:00
|
|
|
* Copyright (C) 1998, 1999, 2000, 2001, 2002,
|
|
|
|
* 2004 Free Software Foundation, Inc.
|
1998-11-27 12:42:49 +01:00
|
|
|
*
|
|
|
|
* This file is part of GnuPG.
|
|
|
|
*
|
|
|
|
* GnuPG is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* GnuPG is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2005-05-31 10:39:18 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
|
|
* USA.
|
1998-11-27 12:42:49 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include "util.h"
|
|
|
|
#include "ttyio.h"
|
|
|
|
#include "main.h"
|
|
|
|
#include "i18n.h"
|
|
|
|
|
|
|
|
|
|
|
|
/****************
|
|
|
|
* These helptexts are used for the "online" help feature. We use
|
|
|
|
* a key consisting of words and dots. Because the lookup is only
|
|
|
|
* done in an interactive mode on a user request (when she enters a "?"
|
|
|
|
* as response to a prompt) we can use a simple search through the list.
|
1998-12-14 21:22:42 +01:00
|
|
|
*
|
1999-01-12 11:20:24 +01:00
|
|
|
* Mini glossary:
|
1998-12-14 21:22:42 +01:00
|
|
|
*
|
|
|
|
* "user ID", "trustdb", "NOTE" and "WARNING".
|
1998-11-27 12:42:49 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
static struct helptexts { const char *key; const char *help; } helptexts[] = {
|
|
|
|
|
|
|
|
/* begin of list */
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "edit_ownertrust.value", N_(
|
1998-11-27 12:42:49 +01:00
|
|
|
"It's up to you to assign a value here; this value will never be exported\n"
|
|
|
|
"to any 3rd party. We need it to implement the web-of-trust; it has nothing\n"
|
|
|
|
"to do with the (implicitly created) web-of-certificates."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
2002-06-29 15:46:34 +02:00
|
|
|
{ "edit_ownertrust.set_ultimate.okay", N_(
|
|
|
|
"To build the Web-of-Trust, GnuPG needs to know which keys are\n"
|
|
|
|
"ultimately trusted - those are usually the keys for which you have\n"
|
|
|
|
"access to the secret key. Answer \"yes\" to set this key to\n"
|
|
|
|
"ultimately trusted\n"
|
|
|
|
)},
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "untrusted_key.override", N_(
|
1998-11-27 12:42:49 +01:00
|
|
|
"If you want to use this untrusted key anyway, answer \"yes\"."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "pklist.user_id.enter", N_(
|
1999-09-01 15:40:07 +02:00
|
|
|
"Enter the user ID of the addressee to whom you want to send the message."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.algo", N_(
|
1998-11-27 12:42:49 +01:00
|
|
|
"Select the algorithm to use.\n"
|
1999-08-30 20:48:57 +02:00
|
|
|
"\n"
|
2004-02-26 03:03:27 +01:00
|
|
|
"DSA (aka DSS) is the Digital Signature Algorithm and can only be used\n"
|
|
|
|
"for signatures.\n"
|
1999-08-30 20:48:57 +02:00
|
|
|
"\n"
|
2004-02-26 03:03:27 +01:00
|
|
|
"Elgamal is an encrypt-only algorithm.\n"
|
1999-08-30 20:48:57 +02:00
|
|
|
"\n"
|
2004-02-26 03:03:27 +01:00
|
|
|
"RSA may be used for signatures or encryption.\n"
|
|
|
|
"\n"
|
|
|
|
"The first (primary) key must always be a key which is capable of signing."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1998-12-10 20:20:47 +01:00
|
|
|
|
2002-06-29 15:46:34 +02:00
|
|
|
{ "keygen.algo.rsa_se", N_(
|
|
|
|
"In general it is not a good idea to use the same key for signing and\n"
|
|
|
|
"encryption. This algorithm should only be used in certain domains.\n"
|
|
|
|
"Please consult your security expert first."
|
|
|
|
)},
|
|
|
|
|
1998-12-10 20:20:47 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.size", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Enter the size of the key"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.size.huge.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" or \"no\""
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.size.large.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" or \"no\""
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.valid", N_(
|
1999-08-31 17:30:12 +02:00
|
|
|
"Enter the required value as shown in the prompt.\n"
|
1999-07-07 13:28:26 +02:00
|
|
|
"It is possible to enter a ISO date (YYYY-MM-DD) but you won't\n"
|
|
|
|
"get a good error response - instead the system tries to interpret\n"
|
|
|
|
"the given value as an interval."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.valid.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" or \"no\""
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.name", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Enter the name of the key holder"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.email", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"please enter an optional but highly suggested email address"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.comment", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Please enter an optional comment"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.userid.cmd", N_(
|
1998-11-27 12:42:49 +01:00
|
|
|
""
|
|
|
|
"N to change the name.\n"
|
|
|
|
"C to change the comment.\n"
|
|
|
|
"E to change the email address.\n"
|
|
|
|
"O to continue with key generation.\n"
|
|
|
|
"Q to to quit the key generation."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keygen.sub.okay", N_(
|
1998-11-27 12:42:49 +01:00
|
|
|
"Answer \"yes\" (or just \"y\") if it is okay to generate the sub key."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "sign_uid.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" or \"no\""
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
2002-06-29 15:46:34 +02:00
|
|
|
{ "sign_uid.class", N_(
|
|
|
|
"When you sign a user ID on a key, you should first verify that the key\n"
|
|
|
|
"belongs to the person named in the user ID. It is useful for others to\n"
|
|
|
|
"know how carefully you verified this.\n\n"
|
|
|
|
"\"0\" means you make no particular claim as to how carefully you verified the\n"
|
|
|
|
" key.\n\n"
|
|
|
|
"\"1\" means you believe the key is owned by the person who claims to own it\n"
|
|
|
|
" but you could not, or did not verify the key at all. This is useful for\n"
|
|
|
|
" a \"persona\" verification, where you sign the key of a pseudonymous user.\n\n"
|
|
|
|
"\"2\" means you did casual verification of the key. For example, this could\n"
|
|
|
|
" mean that you verified the key fingerprint and checked the user ID on the\n"
|
|
|
|
" key against a photo ID.\n\n"
|
|
|
|
"\"3\" means you did extensive verification of the key. For example, this could\n"
|
|
|
|
" mean that you verified the key fingerprint with the owner of the key in\n"
|
|
|
|
" person, and that you checked, by means of a hard to forge document with a\n"
|
|
|
|
" photo ID (such as a passport) that the name of the key owner matches the\n"
|
|
|
|
" name in the user ID on the key, and finally that you verified (by exchange\n"
|
|
|
|
" of email) that the email address on the key belongs to the key owner.\n\n"
|
|
|
|
"Note that the examples given above for levels 2 and 3 are *only* examples.\n"
|
|
|
|
"In the end, it is up to you to decide just what \"casual\" and \"extensive\"\n"
|
|
|
|
"mean to you when you sign other keys.\n\n"
|
|
|
|
"If you don't know what the right answer is, answer \"0\"."
|
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "change_passwd.empty.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" or \"no\""
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keyedit.save.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" or \"no\""
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keyedit.cancel.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" or \"no\""
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keyedit.sign_all.okay", N_(
|
2004-10-15 11:39:25 +02:00
|
|
|
"Answer \"yes\" if you want to sign ALL the user IDs"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keyedit.remove.uid.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" if you really want to delete this user ID.\n"
|
1999-01-12 11:20:24 +01:00
|
|
|
"All certificates are then also lost!"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keyedit.remove.subkey.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" if it is okay to delete the subkey"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-05-27 09:45:46 +02:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "keyedit.delsig.valid", N_(
|
1999-05-27 09:45:46 +02:00
|
|
|
"This is a valid signature on the key; you normally don't want\n"
|
1999-08-31 17:30:12 +02:00
|
|
|
"to delete this signature because it may be important to establish a\n"
|
|
|
|
"trust connection to the key or another key certified by this key."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
|
|
|
{ "keyedit.delsig.unknown", N_(
|
1999-06-10 14:24:42 +02:00
|
|
|
"This signature can't be checked because you don't have the\n"
|
|
|
|
"corresponding key. You should postpone its deletion until you\n"
|
1999-09-06 20:10:27 +02:00
|
|
|
"know which key was used because this signing key might establish\n"
|
1999-06-10 14:24:42 +02:00
|
|
|
"a trust connection through another already certified key."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
|
|
|
{ "keyedit.delsig.invalid", N_(
|
1999-05-27 09:45:46 +02:00
|
|
|
"The signature is not valid. It does make sense to remove it from\n"
|
1999-06-10 14:24:42 +02:00
|
|
|
"your keyring."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
|
|
|
{ "keyedit.delsig.selfsig", N_(
|
1999-05-27 09:45:46 +02:00
|
|
|
"This is a signature which binds the user ID to the key. It is\n"
|
|
|
|
"usually not a good idea to remove such a signature. Actually\n"
|
|
|
|
"GnuPG might not be able to use this key anymore. So do this\n"
|
|
|
|
"only if this self-signature is for some reason not valid and\n"
|
|
|
|
"a second one is available."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1999-05-27 09:45:46 +02:00
|
|
|
|
2002-06-29 15:46:34 +02:00
|
|
|
{ "keyedit.updpref.okay", N_(
|
|
|
|
"Change the preferences of all user IDs (or just of the selected ones)\n"
|
|
|
|
"to the current list of preferences. The timestamp of all affected\n"
|
|
|
|
"self-signatures will be advanced by one second.\n"
|
|
|
|
)},
|
|
|
|
|
1999-05-27 09:45:46 +02:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "passphrase.enter", N_(
|
1998-11-27 12:42:49 +01:00
|
|
|
""
|
|
|
|
"Please enter the passhrase; this is a secret sentence \n"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "passphrase.repeat", N_(
|
1998-11-27 12:42:49 +01:00
|
|
|
"Please repeat the last passphrase, so you are sure what you typed in."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "detached_signature.filename", N_(
|
1999-09-15 16:26:39 +02:00
|
|
|
"Give the name of the file to which the signature applies"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-07-01 12:53:35 +02:00
|
|
|
/* openfile.c (overwrite_filep) */
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "openfile.overwrite.okay", N_(
|
1998-12-08 15:13:59 +01:00
|
|
|
"Answer \"yes\" if it is okay to overwrite the file"
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1998-11-27 12:42:49 +01:00
|
|
|
|
1999-07-01 12:53:35 +02:00
|
|
|
/* openfile.c (ask_outfile_name) */
|
1999-08-30 20:48:57 +02:00
|
|
|
{ "openfile.askoutname", N_(
|
1999-07-01 12:53:35 +02:00
|
|
|
"Please enter a new filename. If you just hit RETURN the default\n"
|
|
|
|
"file (which is shown in brackets) will be used."
|
1999-08-30 20:48:57 +02:00
|
|
|
)},
|
1999-07-01 12:53:35 +02:00
|
|
|
|
2000-07-14 19:34:53 +02:00
|
|
|
/* revoke.c (ask_revocation_reason) */
|
|
|
|
{ "ask_revocation_reason.code", N_(
|
|
|
|
"You should specify a reason for the certification. Depending on the\n"
|
|
|
|
"context you have the ability to choose from this list:\n"
|
|
|
|
" \"Key has been compromised\"\n"
|
|
|
|
" Use this if you have a reason to believe that unauthorized persons\n"
|
|
|
|
" got access to your secret key.\n"
|
2002-06-29 15:46:34 +02:00
|
|
|
" \"Key is superseded\"\n"
|
2000-07-14 19:34:53 +02:00
|
|
|
" Use this if you have replaced this key with a newer one.\n"
|
|
|
|
" \"Key is no longer used\"\n"
|
|
|
|
" Use this if you have retired this key.\n"
|
|
|
|
" \"User ID is no longer valid\"\n"
|
|
|
|
" Use this to state that the user ID should not longer be used;\n"
|
|
|
|
" this is normally used to mark an email address invalid.\n"
|
|
|
|
)},
|
|
|
|
|
|
|
|
/* revoke.c (ask_revocation_reason) */
|
|
|
|
{ "ask_revocation_reason.text", N_(
|
|
|
|
"If you like, you can enter a text describing why you issue this\n"
|
|
|
|
"revocation certificate. Please keep this text concise.\n"
|
|
|
|
"An empty line ends the text.\n"
|
|
|
|
)},
|
|
|
|
|
1998-11-27 12:42:49 +01:00
|
|
|
/* end of list */
|
|
|
|
{ NULL, NULL } };
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
display_online_help( const char *keyword )
|
|
|
|
{
|
|
|
|
|
|
|
|
tty_kill_prompt();
|
|
|
|
if( !keyword )
|
|
|
|
tty_printf(_("No help available") );
|
|
|
|
else {
|
1999-08-30 20:48:57 +02:00
|
|
|
const char *p;
|
|
|
|
int i;
|
|
|
|
|
|
|
|
for(i=0; (p=helptexts[i].key) && strcmp( p, keyword ); i++ )
|
|
|
|
;
|
|
|
|
if( !p || !*helptexts[i].help )
|
|
|
|
tty_printf(_("No help available for `%s'"), keyword );
|
|
|
|
else
|
|
|
|
tty_printf("%s", _(helptexts[i].help) );
|
1998-11-27 12:42:49 +01:00
|
|
|
}
|
|
|
|
tty_printf("\n");
|
|
|
|
}
|