From: Ralf Thielow <ralf.thielow@gmail.com>
To: git@vger.kernel.org
Cc: gitster@pobox.com, worldhello.net@gmail.com,
Ralf Thielow <ralf.thielow@gmail.com>
Subject: [PATCH] merge-recursive: separate message for common ancestors
Date: Sun, 5 Aug 2012 19:56:38 +0200 [thread overview]
Message-ID: <1344189398-27127-1-git-send-email-ralf.thielow@gmail.com> (raw)
The function "merge_recursive" prints the count of common
ancestors as "found %u common ancestor(s):". At least for
better translation, we should use a singular and a plural
form of this message.
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
---
merge-recursive.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/merge-recursive.c b/merge-recursive.c
index 8903a73..39b2e16 100644
--- a/merge-recursive.c
+++ b/merge-recursive.c
@@ -1915,7 +1915,10 @@ int merge_recursive(struct merge_options *o,
}
if (show(o, 5)) {
- output(o, 5, _("found %u common ancestor(s):"), commit_list_count(ca));
+ unsigned cnt = commit_list_count(ca);
+
+ output(o, 5, Q_("found %u common ancestor:",
+ "found %u common ancestors:", cnt), cnt);
for (iter = ca; iter; iter = iter->next)
output_commit_title(o, iter->item);
}
--
1.7.12.rc1
next reply other threads:[~2012-08-05 17:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-05 17:56 Ralf Thielow [this message]
2012-08-05 18:44 ` [PATCH] merge-recursive: separate message for common ancestors Junio C Hamano
2012-08-05 18:55 ` Ralf Thielow
2012-08-05 19:32 ` Junio C Hamano
2012-08-06 1:34 ` Jiang Xin
2012-08-06 17:04 ` Jiang Xin
2012-08-06 17:31 ` [PATCH] l10n: de.po: translate one new message Ralf Thielow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1344189398-27127-1-git-send-email-ralf.thielow@gmail.com \
--to=ralf.thielow@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=worldhello.net@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).