grub-devel
[Top][All Lists]
Advanced

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

Policy on which strings should be translated?


From: Glenn Washburn
Subject: Policy on which strings should be translated?
Date: Tue, 24 Nov 2020 15:08:06 -0600

Hi,

Is there a policy or unwritten rules about which strings should be
translated? (That is wrapped with the N_() macro)  I've done a basic
search, but haven't found anything.

Looking in cryptodisk.c, it looks like grub_error() strings are not
wrapped, unless they fall in a GRUB_UTIL ifdef.  But in diskfilter.c,
they are both wrapped and not outside of such an ifdef block.  Also, it
looks like grub_dprintf strings are never wrapped.

If the current state is that there is no consistency, what *should* the
policy be?  Should every grub_error() and grub_dprintf() string be
wrapped?  It seems right that every string shown to the user during
normal operation should be wrapped.

Glenn



reply via email to

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