From: Ævar Arnfjörð Bjarmason Date: Tue, 22 Feb 2011 23:41:35 GMT Subject: [PATCH v4 16/73] gettextize: git-branch "remote branch '%s' not found" message Message-ID: <1298418152-27789-17-git-send-email-avarab@gmail.com> In-Reply-To: <7vhbbwdjnm.fsf@alter.siamese.dyndns.org> This could be done better by splitting it up, but it would change too much code, which I'm trying to avoid at this point. Instead add a TRANSLATORS comment to explain what "remote " does. Signed-off-by: Ævar Arnfjörð Bjarmason --- builtin/branch.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/builtin/branch.c b/builtin/branch.c index 6695db4..e9d8a5a 100644 --- a/builtin/branch.c +++ b/builtin/branch.c @@ -157,7 +157,8 @@ static int delete_branches(int argc, const char **argv, int force, int kinds) switch (kinds) { case REF_REMOTE_BRANCH: fmt = "refs/remotes/%s"; - remote = "remote "; + /* TRANSLATORS: This is "remote " in "remote branch '%s' not found" */ + remote = _("remote "); force = 1; break; case REF_LOCAL_BRANCH: -- 1.7.2.3