* [patches] two tiny textual fixes
@ 2012-08-31 11:06 Benno Schulenberg
2012-09-04 15:31 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2012-08-31 11:06 UTC (permalink / raw)
To: Util-Linux
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
Hi,
Attached three patches fix two tiny issues found during
translation. The first fixes a missing comma and colon,
the second an untranslated word, and the third makes
the "Device:" and "Identity:" strings be treated in the
same manner.
Regards,
Benno
--
http://www.fastmail.fm - A fast, anti-spam email service.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-textual-add-missing-comma-and-colon-in-some-help-tex.patch --]
[-- Type: text/x-patch; name="0001-textual-add-missing-comma-and-colon-in-some-help-tex.patch", Size: 1578 bytes --]
From b65fc37a7a192b971339add1cd36b66587a9457a Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 29 Aug 2012 21:32:22 +0200
Subject: [PATCH 1/3] textual: add missing comma and colon in some help texts
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
misc-utils/lslocks.c | 2 +-
sys-utils/losetup.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/misc-utils/lslocks.c b/misc-utils/lslocks.c
index 45fb6de..820f5dc 100644
--- a/misc-utils/lslocks.c
+++ b/misc-utils/lslocks.c
@@ -481,7 +481,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
fputs(_(" -p, --pid <pid> process id\n"
" -o, --output <list> define which output columns to use\n"
" -n, --noheadings don't print headings\n"
- " -r --raw use the raw output format\n"
+ " -r, --raw use the raw output format\n"
" -u, --notruncate don't truncate text in columns\n"
" -h, --help display this help and exit\n"
" -V, --version output version information and exit\n"), out);
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c
index fdcc0be..9aeb9ec 100644
--- a/sys-utils/losetup.c
+++ b/sys-utils/losetup.c
@@ -351,7 +351,7 @@ int main(int argc, char **argv)
if (optind >= argc)
errx(EXIT_FAILURE, _("no loop device specified"));
if (loopcxt_set_device(&lc, argv[optind]))
- err(EXIT_FAILURE, _("%s failed to use device"),
+ err(EXIT_FAILURE, _("%s: failed to use device"),
argv[optind]);
optind++;
--
1.7.0.4
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-wdctl-gettextize-one-forgotten-word.patch --]
[-- Type: text/x-patch; name="0002-wdctl-gettextize-one-forgotten-word.patch", Size: 770 bytes --]
From dc2eba83666afdcedfd46e26816b6e83ab7c7630 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Thu, 30 Aug 2012 21:08:47 +0200
Subject: [PATCH 2/3] wdctl: gettextize one forgotten word
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
sys-utils/wdctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c
index 6be6fd4..8113da9 100644
--- a/sys-utils/wdctl.c
+++ b/sys-utils/wdctl.c
@@ -563,7 +563,7 @@ int main(int argc, char *argv[])
if (!noident) {
printf("%-15s%s\n", _("Device:"), wd.device);
printf(_("%-15s%s [version %x]\n"),
- ("Identity:"),
+ _("Identity:"),
wd.ident.identity,
wd.ident.firmware_version);
}
--
1.7.0.4
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0003-wdctl-treat-aligned-translatable-strings-in-a-unifor.patch --]
[-- Type: text/x-patch; name="0003-wdctl-treat-aligned-translatable-strings-in-a-unifor.patch", Size: 872 bytes --]
From f51c7e2f8f6d7000362ab08354e6f6e93cad632b Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 31 Aug 2012 12:51:50 +0200
Subject: [PATCH 3/3] wdctl: treat aligned translatable strings in a uniform manner
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
sys-utils/wdctl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c
index 8113da9..94171a8 100644
--- a/sys-utils/wdctl.c
+++ b/sys-utils/wdctl.c
@@ -562,9 +562,10 @@ int main(int argc, char *argv[])
/* pretty output */
if (!noident) {
printf("%-15s%s\n", _("Device:"), wd.device);
- printf(_("%-15s%s [version %x]\n"),
+ printf("%-15s%s [%s %x]\n",
_("Identity:"),
wd.ident.identity,
+ _("version"),
wd.ident.firmware_version);
}
if (!notimeouts)
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patches] two tiny textual fixes
2012-08-31 11:06 [patches] two tiny textual fixes Benno Schulenberg
@ 2012-09-04 15:31 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-09-04 15:31 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: Util-Linux
> Attached three patches fix two tiny issues found during
> translation. The first fixes a missing comma and colon,
> the second an untranslated word, and the third makes
> the "Device:" and "Identity:" strings be treated in the
> same manner.
Applied, thanks!
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-04 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31 11:06 [patches] two tiny textual fixes Benno Schulenberg
2012-09-04 15:31 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).