grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 6/6] disk: Implement support for LUKS2


From: Patrick Steinhardt
Subject: Re: [PATCH v6 6/6] disk: Implement support for LUKS2
Date: Mon, 16 Dec 2019 13:37:33 +0100

On Mon, Dec 16, 2019 at 01:25:01PM +0100, Daniel Kiper wrote:
> On Tue, Dec 10, 2019 at 10:26:21AM +0100, Patrick Steinhardt wrote:
[snip]
> > +  /* Get the passphrase from the user. */
> > +  if (disk->partition)
> > +    part = grub_partition_get_name (disk->partition);
> > +  grub_printf_ (N_("Enter passphrase for %s%s%s (%s): "), disk->name,
> > +           disk->partition ? "," : "", part ? : "",
> > +           crypt->uuid);
> 
> Why do you use grub_printf() instead of grub_printf()?

I guess you mean grub_printf_() instead of grub_printf(). The
answer to that is simple: I copied it from "luks.c", and I saw it
being used in various other modules for output that is
user-facing and should thus be translated. Is there are more
modern alternative that should be used instead? If so then I'm
happy to use it instead.

Patrick

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]