1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00
* genkey.c (check_passphrase_constraints): Get ngettext call right.
This commit is contained in:
Werner Koch 2007-01-25 09:15:10 +00:00
parent 6cee3e66c2
commit 39fbda4e3c
5 changed files with 41 additions and 35 deletions

View file

@ -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 ();