two tiny textual fixes
PATCH 1/1 two tiny textual fixes
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
Signature · 1 line
http://www.fastmail.fm - A fast, anti-spam email service.
From b65fc37a7a192b971339add1cd36b66587a9457a Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email protected]>
Date: Wed, 29 Aug 2012 21:32:22 +0200
Subject: [PATCH 1/3] textual: add missing comma and colon in some help texts
--- misc-utils/lslocks.c | 2 +- sys-utils/losetup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
misc-utils/lslocks.c +1 -1
@@ -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);
sys-utils/losetup.c +1 -1
@@ -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++;
Signature · 1 line
1.7.0.4
From dc2eba83666afdcedfd46e26816b6e83ab7c7630 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email protected]>
Date: Thu, 30 Aug 2012 21:08:47 +0200
Subject: [PATCH 2/3] wdctl: gettextize one forgotten word
--- sys-utils/wdctl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sys-utils/wdctl.c +1 -1
@@ -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); }
Signature · 1 line
1.7.0.4
From f51c7e2f8f6d7000362ab08354e6f6e93cad632b Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email protected]>
Date: Fri, 31 Aug 2012 12:51:50 +0200
Subject: [PATCH 3/3] wdctl: treat aligned translatable strings in a uniform manner
--- sys-utils/wdctl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
sys-utils/wdctl.c +2 -1
@@ -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)
Signature · 1 line
1.7.0.4
Quoted 5 lines
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
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com