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.
From b65fc37a7a192b971339add1cd36b66587a9457a Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx> --- 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
From dc2eba83666afdcedfd46e26816b6e83ab7c7630 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> Date: Thu, 30 Aug 2012 21:08:47 +0200 Subject: [PATCH 2/3] wdctl: gettextize one forgotten word Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> --- 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
From f51c7e2f8f6d7000362ab08354e6f6e93cad632b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx> --- 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