[patches] three typo fixes

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

 



Hi,

Attached first patch fixes a few typos in translatable messages.
The second patch adds back missing sentence-continuation spaces.

Regards,

Benno


-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

From cce089c6995c398d38ef40f758b35ac3737395de Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
Date: Fri, 19 Apr 2013 20:14:59 +0200
Subject: [PATCH 1/2] textual: fixing typos in a warning and an error message

Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
---
 fdisks/fdisk-ask.c     |    2 +-
 fdisks/fdiskdoslabel.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fdisks/fdisk-ask.c b/fdisks/fdisk-ask.c
index 9d2f87a..7495d85 100644
--- a/fdisks/fdisk-ask.c
+++ b/fdisks/fdisk-ask.c
@@ -207,7 +207,7 @@ int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask,
 		DBG(ASK, dbgprint("yes-no ask: reply '%s' [rc=%d]", buf, rc));
 		break;
 	default:
-		warnx(_("internal error: unssuported dialog type %d"), fdisk_ask_get_type(ask));
+		warnx(_("internal error: unsupported dialog type %d"), fdisk_ask_get_type(ask));
 		return -EINVAL;
 	}
 	return rc;
diff --git a/fdisks/fdiskdoslabel.c b/fdisks/fdiskdoslabel.c
index fe04ac7..3a95e6b 100644
--- a/fdisks/fdiskdoslabel.c
+++ b/fdisks/fdiskdoslabel.c
@@ -764,7 +764,7 @@ static void check(struct fdisk_context *cxt, size_t n,
 		fprintf(stderr, _("Partition %zd: sector %d greater than "
 			"maximum %llu\n"), n, s, cxt->geom.sectors);
 	if (real_c >= cxt->geom.cylinders)
-		fprintf(stderr, _("Partitions %zd: cylinder %d greater than "
+		fprintf(stderr, _("Partition %zd: cylinder %d greater than "
 			"maximum %llu\n"), n, real_c + 1, cxt->geom.cylinders);
 	if (cxt->geom.cylinders <= 1024 && start != total)
 		fprintf(stderr,
-- 
1.7.0.4

From bb820b4809464f8782af64cfd32a8565f1b72a4c Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
Date: Fri, 19 Apr 2013 20:30:46 +0200
Subject: [PATCH 2/2] textual: add spaces back to message

Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
---
 fdisks/fdiskdoslabel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fdisks/fdiskdoslabel.c b/fdisks/fdiskdoslabel.c
index 3a95e6b..415f222 100644
--- a/fdisks/fdiskdoslabel.c
+++ b/fdisks/fdiskdoslabel.c
@@ -1096,8 +1096,8 @@ static int dos_set_parttype(
 
 	if (is_dos_partition(t->type) || is_dos_partition(p->sys_ind))
 	    printf(
-		_("\nWARNING: If you have created or modified any DOS 6.x"
-		"partitions, please see the fdisk manual page for additional"
+		_("\nWARNING: If you have created or modified any DOS 6.x "
+		"partitions, please see the fdisk manual page for additional "
 		"information.\n\n"));
 
 	p->sys_ind = t->type;
-- 
1.7.0.4


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux