Another round of string clarification and adding TRANSLATORS comments.
This commit is contained in:
parent
ad7b7b8527
commit
67093bc0ed
56 changed files with 131 additions and 71 deletions
|
@ -465,7 +465,7 @@ grub_biosdisk_rw (int cmd, grub_disk_t disk,
|
|||
int i;
|
||||
|
||||
if (cmd)
|
||||
return grub_error (GRUB_ERR_WRITE_ERROR, N_("cannot write to cdrom"));
|
||||
return grub_error (GRUB_ERR_WRITE_ERROR, N_("cannot write to CD-ROM"));
|
||||
|
||||
for (i = 0; i < GRUB_BIOSDISK_CDROM_RETRY_COUNT; i++)
|
||||
if (! grub_biosdisk_rw_int13_extensions (0x42, data->drive, dap))
|
||||
|
@ -589,7 +589,7 @@ grub_biosdisk_write (grub_disk_t disk, grub_disk_addr_t sector,
|
|||
struct grub_biosdisk_data *data = disk->data;
|
||||
|
||||
if (data->flags & GRUB_BIOSDISK_FLAG_CDROM)
|
||||
return grub_error (GRUB_ERR_IO, N_("cannot write to cdrom"));
|
||||
return grub_error (GRUB_ERR_IO, N_("cannot write to CD-ROM"));
|
||||
|
||||
while (size)
|
||||
{
|
||||
|
|
|
@ -962,7 +962,9 @@ grub_util_ldm_embed (struct grub_disk *disk, unsigned int *nsectors,
|
|||
#endif
|
||||
if (lv->size < *nsectors)
|
||||
return grub_error (GRUB_ERR_OUT_OF_RANGE,
|
||||
N_("your LDM embed Partition is too small;"
|
||||
/* TRANSLATORS: it's a partition for embedding,
|
||||
not a partition embed into something. */
|
||||
N_("your LDM embedding Partition is too small;"
|
||||
" embedding won't be possible"));
|
||||
*nsectors = lv->size;
|
||||
*sectors = grub_malloc (*nsectors * sizeof (**sectors));
|
||||
|
@ -976,6 +978,8 @@ grub_util_ldm_embed (struct grub_disk *disk, unsigned int *nsectors,
|
|||
}
|
||||
|
||||
return grub_error (GRUB_ERR_FILE_NOT_FOUND,
|
||||
/* TRANSLATORS: it's a partition for embedding,
|
||||
not a partition embed into something. */
|
||||
N_("this LDM has no Embedding Partition;"
|
||||
" embedding won't be possible"));
|
||||
}
|
||||
|
|
|
@ -719,7 +719,7 @@ grub_scsi_write (grub_disk_t disk __attribute((unused)),
|
|||
scsi = disk->data;
|
||||
|
||||
if (scsi->devtype == grub_scsi_devtype_cdrom)
|
||||
return grub_error (GRUB_ERR_IO, N_("cannot write to cdrom"));
|
||||
return grub_error (GRUB_ERR_IO, N_("cannot write to CD-ROM"));
|
||||
|
||||
while (size)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue