Re: [PATCH/RFC 7/7] i18n: mark checkout plural warning for translation

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH/RFC 7/7] i18n: mark checkout plural warning for translation

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:01

Ævar Arnfjörð Bjarmason  [off-list ref] writes:
Mark the "Warning: you are leaving %d commit(s) behind" message added
in v1.7.5-rc0~74^2 (commit: give final warning when reattaching HEAD
to leave commits behind) by Junio C Hamano for translation.

This message requires the use of ngettext() features, and is the first
message to use the Q_() wrapper around ngettext().
Thanks.
 	fprintf(stderr,
+		Q_(
+		/* The singular version */
+		"Warning: you are leaving %d commit behind, "
 		"not connected to\n"
 		"any of your branches:\n\n"
 		"%s\n"
 		"If you want to keep them by creating a new branch, "
s/them/it/ as this is a singular case, no?

Re: [PATCH/RFC 7/7] i18n: mark checkout plural warning for translation

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:51:01

On Tue, Apr 12, 2011 at 09:19, Junio C Hamano [off-list ref] wrote:
Ævar Arnfjörð Bjarmason  [off-list ref] writes:
quoted
Mark the "Warning: you are leaving %d commit(s) behind" message added
in v1.7.5-rc0~74^2 (commit: give final warning when reattaching HEAD
to leave commits behind) by Junio C Hamano for translation.

This message requires the use of ngettext() features, and is the first
message to use the Q_() wrapper around ngettext().
Thanks.
quoted
      fprintf(stderr,
+             Q_(
+             /* The singular version */
+             "Warning: you are leaving %d commit behind, "
              "not connected to\n"
              "any of your branches:\n\n"
              "%s\n"
              "If you want to keep them by creating a new branch, "
s/them/it/ as this is a singular case, no?
I just used the message as-is, we were using that for the singular before.

But maybe we should change that. Fix it up at your discretion.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help