nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0043-Fix-several-translatable-strings.patch

0dc71c
From 2cd73ec6b2efeaff2bdcd40cce0cd3145d9e07d0 Mon Sep 17 00:00:00 2001
0dc71c
From: Vladimir Serbinenko <phcoder@gmail.com>
0dc71c
Date: Fri, 24 Jan 2014 18:20:27 +0100
0dc71c
Subject: [PATCH 043/143] 	Fix several translatable strings.
0dc71c
MIME-Version: 1.0
0dc71c
Content-Type: text/plain; charset=UTF-8
0dc71c
Content-Transfer-Encoding: 8bit
0dc71c
0dc71c
	Suggested by: D. Prévot.
0dc71c
---
0dc71c
 ChangeLog                        | 6 ++++++
0dc71c
 grub-core/commands/syslinuxcfg.c | 2 +-
0dc71c
 grub-core/loader/arm64/linux.c   | 2 +-
0dc71c
 util/grub-syslinux2cfg.c         | 4 ++--
0dc71c
 4 files changed, 10 insertions(+), 4 deletions(-)
0dc71c
0dc71c
diff --git a/ChangeLog b/ChangeLog
0dc71c
index 20e8baa..e149d8e 100644
0dc71c
--- a/ChangeLog
0dc71c
+++ b/ChangeLog
0dc71c
@@ -1,5 +1,11 @@
0dc71c
 2014-01-24  Vladimir Serbinenko  <phcoder@gmail.com>
0dc71c
 
0dc71c
+	Fix several translatable strings.
0dc71c
+
0dc71c
+	Suggested by: D. Prévot.
0dc71c
+
0dc71c
+2014-01-24  Vladimir Serbinenko  <phcoder@gmail.com>
0dc71c
+
0dc71c
 	* util/grub-install.c: List available targets.
0dc71c
 
0dc71c
 2014-01-23  Colin Watson  <cjwatson@ubuntu.com>
0dc71c
diff --git a/grub-core/commands/syslinuxcfg.c b/grub-core/commands/syslinuxcfg.c
0dc71c
index a4bfc40..00ae113 100644
0dc71c
--- a/grub-core/commands/syslinuxcfg.c
0dc71c
+++ b/grub-core/commands/syslinuxcfg.c
0dc71c
@@ -50,7 +50,7 @@ static const struct grub_arg_option options[] =
0dc71c
      N_("root directory of the syslinux disk [default=/]."),
0dc71c
      N_("DIR"), ARG_TYPE_STRING},
0dc71c
     {"cwd",  'c', 0,
0dc71c
-     N_("current directory of the syslinux [default is parent directory of input file]."),
0dc71c
+     N_("current directory of syslinux [default is parent directory of input file]."),
0dc71c
      N_("DIR"), ARG_TYPE_STRING},
0dc71c
     {"isolinux",     'i',  0, N_("assume input is an isolinux configuration file."), 0, 0},
0dc71c
     {"pxelinux",     'p',  0, N_("assume input is a pxelinux configuration file."), 0, 0},
0dc71c
diff --git a/grub-core/loader/arm64/linux.c b/grub-core/loader/arm64/linux.c
0dc71c
index 75ad871..65129c2 100644
0dc71c
--- a/grub-core/loader/arm64/linux.c
0dc71c
+++ b/grub-core/loader/arm64/linux.c
0dc71c
@@ -120,7 +120,7 @@ check_kernel (struct grub_arm64_linux_kernel_header *lh)
0dc71c
 
0dc71c
   if ((lh->code0 & 0xffff) != GRUB_EFI_PE_MAGIC)
0dc71c
     return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
0dc71c
-		       N_("plain Image kernel not supported - rebuild with CONFIG_(U)EFI_STUB enabled"));
0dc71c
+		       N_("plain image kernel not supported - rebuild with CONFIG_(U)EFI_STUB enabled"));
0dc71c
 
0dc71c
   grub_dprintf ("linux", "UEFI stub kernel:\n");
0dc71c
   grub_dprintf ("linux", "text_offset = 0x%012llx\n",
0dc71c
diff --git a/util/grub-syslinux2cfg.c b/util/grub-syslinux2cfg.c
0dc71c
index 5e944c2..f4fda6d 100644
0dc71c
--- a/util/grub-syslinux2cfg.c
0dc71c
+++ b/util/grub-syslinux2cfg.c
0dc71c
@@ -66,10 +66,10 @@ static struct argp_option options[] = {
0dc71c
    N_("root directory of the syslinux disk [default=/]."), 0},
0dc71c
   {"target-cwd",  'T', N_("DIR"), 0,
0dc71c
    N_(
0dc71c
-      "current directory of the syslinux as it will be seen on runtime  [default is parent directory of input file]."
0dc71c
+      "current directory of syslinux as it will be seen on runtime  [default is parent directory of input file]."
0dc71c
 ), 0},
0dc71c
   {"cwd",  'c', N_("DIR"), 0,
0dc71c
-   N_("current directory of the syslinux [default is parent directory of input file]."), 0},
0dc71c
+   N_("current directory of syslinux [default is parent directory of input file]."), 0},
0dc71c
 
0dc71c
   {"output",  'o', N_("FILE"), 0, N_("write output to FILE [default=stdout]."), 0},
0dc71c
   {"isolinux",     'i', 0,      0, N_("assume input is an isolinux configuration file."), 0},
0dc71c
-- 
0dc71c
1.9.3
0dc71c