[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 4/4] fs/hfsplus: Mark error strings for translation
From: |
Lidong Chen |
Subject: |
[PATCH v2 4/4] fs/hfsplus: Mark error strings for translation |
Date: |
Wed, 3 May 2023 17:32:20 +0000 |
Signed-off-by: Lidong Chen <lidong.chen@oracle.com>
---
grub-core/fs/hfsplus.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/grub-core/fs/hfsplus.c b/grub-core/fs/hfsplus.c
index cf13e8a63..793cbdba2 100644
--- a/grub-core/fs/hfsplus.c
+++ b/grub-core/fs/hfsplus.c
@@ -277,7 +277,7 @@ grub_hfsplus_mount (grub_disk_t disk)
/* See if there's an embedded HFS+ filesystem. */
if (grub_be_to_cpu16 (volheader.hfs.embed_sig) != GRUB_HFSPLUS_MAGIC)
{
- grub_error (GRUB_ERR_BAD_FS, "not a HFS+ filesystem");
+ grub_error (GRUB_ERR_BAD_FS, N_("not a HFS+ filesystem"));
goto fail;
}
@@ -303,7 +303,7 @@ grub_hfsplus_mount (grub_disk_t disk)
|| ((volheader.hfsplus.blksize & (volheader.hfsplus.blksize - 1)) != 0)
|| grub_be_to_cpu32 (volheader.hfsplus.blksize) < GRUB_DISK_SECTOR_SIZE)
{
- grub_error (GRUB_ERR_BAD_FS, "not a HFS+ filesystem");
+ grub_error (GRUB_ERR_BAD_FS, N_("not a HFS+ filesystem"));
goto fail;
}
@@ -406,7 +406,7 @@ grub_hfsplus_mount (grub_disk_t disk)
fail:
if (grub_errno == GRUB_ERR_OUT_OF_RANGE)
- grub_error (GRUB_ERR_BAD_FS, "not a HFS+ filesystem");
+ grub_error (GRUB_ERR_BAD_FS, N_("not a HFS+ filesystem"));
grub_free (data);
return 0;
--
2.39.1