diff options
| author | Werner Koch <[email protected]> | 2007-01-25 09:15:10 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2007-01-25 09:15:10 +0000 |
| commit | 39fbda4e3c1165ea140ea206967798b73265754b (patch) | |
| tree | 1734282ca7b00c3cb85151fcb4ccf81abe9fc801 /agent/genkey.c | |
| parent | agent/ (diff) | |
| download | gnupg-39fbda4e3c1165ea140ea206967798b73265754b.tar.gz gnupg-39fbda4e3c1165ea140ea206967798b73265754b.zip | |
agent/
* genkey.c (check_passphrase_constraints): Get ngettext call right.
Diffstat (limited to 'agent/genkey.c')
| -rw-r--r-- | agent/genkey.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/agent/genkey.c b/agent/genkey.c index 1ac7c6624..5a25d4771 100644 --- a/agent/genkey.c +++ b/agent/genkey.c @@ -87,12 +87,12 @@ check_passphrase_constraints (ctrl_t ctrl, const char *pw) if (strlen (pw) < minlen ) /* FIXME: should be an utf-8 length. */ { char *desc = xtryasprintf - ( ngettext (_("Warning: You have entered a passphrase that%%0A" - "is obviously not secure. A passphrase should%%0A" - "be at least %u character long."), - _("Warning: You have entered a passphrase that%%0A" - "is obviously not secure. A passphrase should%%0A" - "be at least %u characters long."), minlen), minlen ); + ( ngettext ("Warning: You have entered a passphrase that%%0A" + "is obviously not secure. A passphrase should%%0A" + "be at least %u character long.", + "Warning: You have entered a passphrase that%%0A" + "is obviously not secure. A passphrase should%%0A" + "be at least %u characters long.", minlen), minlen ); if (!desc) return gpg_error_from_syserror (); |
