From: Ævar Arnfjörð Bjarmason Date: Wed, 1 Sep 2010 18:58:05 +0000 (+0000) Subject: gettextize: git-branch "remote branch '%s' not found" message X-Git-Tag: ko-pu~10^2~126 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3570a157a4a0c8ae3f5981f047fce6bf317c8934;p=git.git gettextize: 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 --- diff --git a/builtin/branch.c b/builtin/branch.c index d6d113786..5a36395e0 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: