From: Ævar Arnfjörð Bjarmason Date: Tue, 22 Feb 2011 23:41:35 +0000 (+0000) Subject: i18n: git-branch "remote branch '%s' not found" message X-Git-Tag: v1.7.5-rc1~19^2~57 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2852e1dd5d21a9b43f27801181d9d875efa02598;p=git.git i18n: git-branch "remote branch '%s' not found" message 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin/branch.c b/builtin/branch.c index 6695db4ad..e9d8a5a31 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: