* [patches] three typo fixes
@ 2013-04-19 18:36 Benno Schulenberg
2013-04-26 11:56 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2013-04-19 18:36 UTC (permalink / raw)
To: Util-Linux
[-- Attachment #1: Type: text/plain, Size: 268 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-textual-fixing-typos-in-a-warning-and-an-error-messa.patch --]
[-- Type: text/x-patch; name="0001-textual-fixing-typos-in-a-warning-and-an-error-messa.patch", Size: 1574 bytes --]
From cce089c6995c398d38ef40f758b35ac3737395de Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
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@justemail.net>
---
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-textual-add-spaces-back-to-message.patch --]
[-- Type: text/x-patch; name="0002-textual-add-spaces-back-to-message.patch", Size: 966 bytes --]
From bb820b4809464f8782af64cfd32a8565f1b72a4c Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
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@justemail.net>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-26 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-19 18:36 [patches] three typo fixes Benno Schulenberg
2013-04-26 11:56 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox