summaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:32 +0000
committerJunio C Hamano <gitster@pobox.com>2011-03-09 23:52:53 -0800
commit475c73eb8c65fe7b4cb55f05aeb9eee547e4a359 (patch)
treea655a28a52828879fa25173345fe6eea0d50ca77 /builtin/add.c
parent48168851cffcd14e01d3a10473a02ca4b4479402 (diff)
downloadgit-475c73eb8c65fe7b4cb55f05aeb9eee547e4a359.tar.gz
i18n: git-add "remove '%s'" message
Make the "remove '%s'" message translatable. It's displayed under `git add -u --verbose`. Also skip the corresponding test when output is not in the C locale. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/add.c')
-rw-r--r--builtin/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/add.c b/builtin/add.c
index ffbd45986a..33b9970e15 100644
--- a/builtin/add.c
+++ b/builtin/add.c
@@ -74,7 +74,7 @@ static void update_callback(struct diff_queue_struct *q,
if (!(data->flags & ADD_CACHE_PRETEND))
remove_file_from_index(&the_index, path);
if (data->flags & (ADD_CACHE_PRETEND|ADD_CACHE_VERBOSE))
- printf("remove '%s'\n", path);
+ printf(_("remove '%s'\n"), path);
break;
}
}