summaryrefslogtreecommitdiff
path: root/builtin/branch.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-10 07:52:53 (GMT)
commit8af42b0f7773bff2529f6c8990bb3d872b8270d5 (patch)
tree4f9b91b39057bab46b75612cd743843ecf7b62ab /builtin/branch.c
parent2852e1dd5d21a9b43f27801181d9d875efa02598 (diff)
downloadgit-8af42b0f7773bff2529f6c8990bb3d872b8270d5.zip
git-8af42b0f7773bff2529f6c8990bb3d872b8270d5.tar.gz
git-8af42b0f7773bff2529f6c8990bb3d872b8270d5.tar.bz2
i18n: git-branch "Deleted branch [...]" message
Gettextize the "Deleted %sbranch %s (was %s).\n" messages. test in t3200-branch.sh explicitly checked for this message. Change it to skip under GETTEXT_POISON=YesPlease. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c
index e9d8a5a..d276681 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -214,7 +214,7 @@ static int delete_branches(int argc, const char **argv, int force, int kinds)
ret = 1;
} else {
struct strbuf buf = STRBUF_INIT;
- printf("Deleted %sbranch %s (was %s).\n", remote,
+ printf(_("Deleted %sbranch %s (was %s).\n"), remote,
bname.buf,
find_unique_abbrev(sha1, DEFAULT_ABBREV));
strbuf_addf(&buf, "branch.%s", bname.buf);