From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasco Almeida Subject: [PATCH v2 5/7] i18n: builtin/pull.c: split strings marked for translation Date: Sat, 9 Apr 2016 20:38:42 +0000 Message-ID: <1460234324-13506-5-git-send-email-vascomalmeida@sapo.pt> References: <1460234324-13506-1-git-send-email-vascomalmeida@sapo.pt> Cc: Vasco Almeida , Jiang Xin To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sat Apr 09 22:39:25 2016 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aozfB-00010m-BE for gcvg-git-2@plane.gmane.org; Sat, 09 Apr 2016 22:39:25 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755302AbcDIUjW (ORCPT ); Sat, 9 Apr 2016 16:39:22 -0400 Received: from relay4.ptmail.sapo.pt ([212.55.154.24]:53686 "EHLO sapo.pt" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754517AbcDIUjV (ORCPT ); Sat, 9 Apr 2016 16:39:21 -0400 Received: (qmail 26651 invoked from network); 9 Apr 2016 20:39:14 -0000 Received: (qmail 17183 invoked from network); 9 Apr 2016 20:39:14 -0000 Received: from unknown (HELO linux-iv58.site) (vascomalmeida@sapo.pt@[85.246.157.91]) (envelope-sender ) by mta-auth02 (qmail-ptmail-1.0.0) with ESMTPA for ; 9 Apr 2016 20:39:09 -0000 X-PTMail-RemoteIP: 85.246.157.91 X-PTMail-AllowedSender-Action: X-PTMail-Service: default X-Mailer: git-send-email 2.1.4 In-Reply-To: <1460234324-13506-1-git-send-email-vascomalmeida@sapo.pt> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Split string "If you wish to set tracking information for this branch you can do so with:\n" to match occurring string in git-parse-remote.sh. In this case, the translator handles it only once. On the other hand, the translations of the string that were already made are mark as fuzzy and the translator needs to correct it herself. Signed-off-by: Vasco Almeida --- builtin/pull.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/builtin/pull.c b/builtin/pull.c index 9e8883c..617893c 100644 --- a/builtin/pull.c +++ b/builtin/pull.c @@ -475,10 +475,10 @@ static void NORETURN die_no_merge_candidates(const char *repo, const char **refs fprintf(stderr, "\n"); fprintf_ln(stderr, " git pull <%s> <%s>", _("remote"), _("branch")); fprintf(stderr, "\n"); - fprintf_ln(stderr, _("If you wish to set tracking information for this branch you can do so with:\n" - "\n" - " git branch --set-upstream-to=%s/ %s\n"), - remote_name, curr_branch->name); + fprintf_ln(stderr, _("If you wish to set tracking information for this branch you can do so with:")); + fprintf(stderr, "\n"); + fprintf_ln(stderr, " git branch --set-upstream-to=%s/<%s> %s\n", + remote_name, _("branch"), curr_branch->name); } else fprintf_ln(stderr, _("Your configuration specifies to merge with the ref '%s'\n" "from the remote, but no such ref was fetched."), -- 2.1.4