* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add

TRANSLATORS comment.
	(grub_diskfilter_print_partmap): Propagate changing of error into
	warning.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-04-04 14:33:38 +02:00
parent e44092dbb9
commit 505e41dc36
2 changed files with 23 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2012-04-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add
TRANSLATORS comment.
(grub_diskfilter_print_partmap): Propagate changing of error into
warning.
2012-04-04 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/diskfilter.h (grub_diskfilter_vg): Increase extent_size

View file

@ -297,6 +297,11 @@ grub_diskfilter_memberlist (grub_disk_t disk)
{
if (!pv->disk)
{
/* TRANSLATORS: This message kicks in during the detection of
which modules needs to be included in core image. This happens
in the case of degraded RAID and means that autodetection may
fail to include some of modules. It's an installation time
message, not runtime message. */
grub_util_warn (_("Couldn't find physical volume `%s'."
" Some modules may be missing from core image."),
pv->name);
@ -322,8 +327,17 @@ grub_diskfilter_print_partmap (grub_disk_t disk)
{
grub_size_t s;
if (!pv->disk)
grub_util_error (_("Couldn't find physical volume `%s'."
" Check your device.map"), pv->name);
{
/* TRANSLATORS: This message kicks in during the detection of
which modules needs to be included in core image. This happens
in the case of degraded RAID and means that autodetection may
fail to include some of modules. It's an installation time
message, not runtime message. */
grub_util_warn (_("Couldn't find physical volume `%s'."
" Some modules may be missing from core image."),
pv->name);
continue;
}
for (s = 0; pv->partmaps[s]; s++)
grub_printf ("%s ", pv->partmaps[s]);
}