summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:35 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-03-09 23:52:53 -0800
commit2852e1dd5d21a9b43f27801181d9d875efa02598 (patch)
treef23046a82278c3ef577b4be5ef7347b785524eff
parenti18n: git-branch basic messages (diff)
downloadtgif-2852e1dd5d21a9b43f27801181d9d875efa02598.tar.xz
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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin/branch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c
index 6695db4ade..e9d8a5a31d 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: