From: Junio C Hamano Date: Tue, 12 Apr 2011 07:19:35 GMT Subject: Re: [PATCH/RFC 7/7] i18n: mark checkout plural warning for translation Message-ID: <7vipukq6m0.fsf@alter.siamese.dyndns.org> In-Reply-To: <1302464048-21806-8-git-send-email-avarab@gmail.com> Ævar Arnfjörð Bjarmason 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?