[pacman-dev] [PATCH] Add a couple of missing commas to help messages
Hi! Here's a fix for cosmethic bugs I found during translating pacman. From 3784d9cb45bc96d8d6d0120a89c1f24e58f60ee6 Mon Sep 17 00:00:00 2001 From: Roman Kyrylych <roman@vostro.localdomain> Date: Mon, 25 Aug 2008 17:20:03 +0300 Subject: [PATCH] Added a couple of missing commas to help messages Signed-off-by: Roman Kyrylych <roman@vostro.localdomain> --- po/pacman.pot | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/po/pacman.pot b/po/pacman.pot index 5c64a57..039e671 100644 --- a/po/pacman.pot +++ b/po/pacman.pot @@ -292,7 +292,7 @@ msgstr "" #, c-format msgid "" "\n" -"use '%s {-h --help}' with an operation for available options\n" +"use '%s {-h, --help}' with an operation for available options\n" msgstr "" #, c-format @@ -449,7 +449,7 @@ msgid "" msgstr "" #, c-format -msgid " -q --quiet show less information for query and search\n" +msgid " -q, --quiet show less information for query and search\n" msgstr "" #, c-format -- 1.6.0 -- Roman Kyrylych (Роман Кирилич)
On Mon, Aug 25, 2008 at 4:25 PM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
Hi!
Here's a fix for cosmethic bugs I found during translating pacman.
Hello, you are supposed to edit the code, in this case pacman.c, never pacman.pot directly :) The pot file is automatically generated from the code. Since these are cosmetic, I guess I will be able to fix all translations this evening for 3.2.1. Just resubmit a valid patch :) Thanks
Hi!
Here's a fix for cosmethic bugs I found during translating pacman.
From 3784d9cb45bc96d8d6d0120a89c1f24e58f60ee6 Mon Sep 17 00:00:00 2001 From: Roman Kyrylych <roman@vostro.localdomain> Date: Mon, 25 Aug 2008 17:20:03 +0300 Subject: [PATCH] Added a couple of missing commas to help messages
Signed-off-by: Roman Kyrylych <roman@vostro.localdomain> --- po/pacman.pot | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/po/pacman.pot b/po/pacman.pot index 5c64a57..039e671 100644 --- a/po/pacman.pot +++ b/po/pacman.pot @@ -292,7 +292,7 @@ msgstr "" #, c-format msgid "" "\n" -"use '%s {-h --help}' with an operation for available options\n" +"use '%s {-h, --help}' with an operation for available options\n" msgstr ""
Well, the old one is coherent with "pacman -h" notation.
#, c-format @@ -449,7 +449,7 @@ msgid "" msgstr ""
#, c-format -msgid " -q --quiet show less information for query and search\n" +msgid " -q, --quiet show less information for query and search\n" msgstr ""
#, c-format
Good catch. Bye
2008/8/25 Xavier <shiningxc@gmail.com>:
On Mon, Aug 25, 2008 at 4:25 PM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
Hi!
Here's a fix for cosmethic bugs I found during translating pacman.
Hello,
you are supposed to edit the code, in this case pacman.c, never pacman.pot directly :) The pot file is automatically generated from the code. Since these are cosmetic, I guess I will be able to fix all translations this evening for 3.2.1. Just resubmit a valid patch :)
Doh! Silly me. :-D I've found that comma is not used between { } in pacman --help, so I've only added missing comma to -S --help message. From a558e0c1347210426bc60eeaa508bff3a2247885 Mon Sep 17 00:00:00 2001 From: Roman Kyrylych <roman@vostro.localdomain> Date: Mon, 25 Aug 2008 17:43:41 +0300 Subject: [PATCH] Add missing comma to -S --help message Signed-off-by: Roman Kyrylych <roman@vostro.localdomain> --- src/pacman/pacman.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 83e713a..155f8da 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -134,7 +134,7 @@ static void usage(int op, const char * const myname) printf(_(" --ignore <pkg> ignore a package upgrade (can be used more than once)\n")); printf(_(" --ignoregroup <grp>\n" " ignore a group upgrade (can be used more than once)\n")); - printf(_(" -q --quiet show less information for query and search\n")); + printf(_(" -q, --quiet show less information for query and search\n")); } printf(_(" --config <path> set an alternate configuration file\n")); printf(_(" --logfile <path> set an alternate log file\n")); -- 1.6.0 -- Roman Kyrylych (Роман Кирилич)
participants (3)
-
Nagy Gabor
-
Roman Kyrylych
-
Xavier