diff options
author | David Shaw <[email protected]> | 2003-12-03 13:35:09 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-12-03 13:35:09 +0000 |
commit | 02d27268ca9c3f84ddaa065018b3f88aa6fab49e (patch) | |
tree | c89092f9f81a4864a4fa059ce4db94a1172f3036 /util/miscutil.c | |
parent | * gpgsplit.c (write_part): Split off decompression code. (handle_zlib): (diff) | |
download | gnupg-02d27268ca9c3f84ddaa065018b3f88aa6fab49e.tar.gz gnupg-02d27268ca9c3f84ddaa065018b3f88aa6fab49e.zip |
* miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't use
alternate strings when not needed so we don't have to re-translate them.
Hopefully the comment will be enough to indicate multiple match strings.
Diffstat (limited to 'util/miscutil.c')
-rw-r--r-- | util/miscutil.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/miscutil.c b/util/miscutil.c index 0ae259df4..e6cc9a860 100644 --- a/util/miscutil.c +++ b/util/miscutil.c @@ -294,10 +294,10 @@ int answer_is_yes_no_default( const char *s, int def_answer ) { /* NOTE TO TRANSLATOR: See doc/TRANSLATE about this string. */ - const char *long_yes = _("yes|yes"); + const char *long_yes = _("yes"); const char *short_yes = _("yY"); /* NOTE TO TRANSLATOR: See doc/TRANSLATE about this string. */ - const char *long_no = _("no|no"); + const char *long_no = _("no"); const char *short_no = _("nN"); /* Note: we have to use the local dependent strcasecmp here */ @@ -331,11 +331,11 @@ int answer_is_yes_no_quit( const char *s ) { /* NOTE TO TRANSLATOR: See doc/TRANSLATE about this string. */ - const char *long_yes = _("yes|yes"); + const char *long_yes = _("yes"); /* NOTE TO TRANSLATOR: See doc/TRANSLATE about this string. */ - const char *long_no = _("no|no"); + const char *long_no = _("no"); /* NOTE TO TRANSLATOR: See doc/TRANSLATE about this string. */ - const char *long_quit = _("quit|quit"); + const char *long_quit = _("quit"); const char *short_yes = _("yY"); const char *short_no = _("nN"); const char *short_quit = _("qQ"); |