summaryrefslogtreecommitdiff
path: root/builtin/branch.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-10 07:52:53 (GMT)
commit2852e1dd5d21a9b43f27801181d9d875efa02598 (patch)
treef23046a82278c3ef577b4be5ef7347b785524eff /builtin/branch.c
parent49df4b0298ea87ec737221c35ac74f8e6ee108c9 (diff)
downloadgit-2852e1dd5d21a9b43f27801181d9d875efa02598.zip
git-2852e1dd5d21a9b43f27801181d9d875efa02598.tar.gz
git-2852e1dd5d21a9b43f27801181d9d875efa02598.tar.bz2
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>
Diffstat (limited to 'builtin/branch.c')
-rw-r--r--builtin/branch.c3
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: