summaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:33 +0000
committerJunio C Hamano <gitster@pobox.com>2011-03-09 23:52:53 -0800
commited2a808d683419f9daade78b737d070bd13c4d7f (patch)
treebc6c0ec707d26cd061a907920c2d92a3c2f79232 /builtin/add.c
parent475c73eb8c65fe7b4cb55f05aeb9eee547e4a359 (diff)
downloadgit-ed2a808d683419f9daade78b737d070bd13c4d7f.tar.gz
i18n: git-add "Unstaged changes" message
Make the "Unstaged changes after refreshing the index:" translatable. It's displayed under `git add --refresh --verbose`. 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 33b9970e15..a512597a5c 100644
--- a/builtin/add.c
+++ b/builtin/add.c
@@ -188,7 +188,7 @@ static void refresh(int verbose, const char **pathspec)
/* nothing */;
seen = xcalloc(specs, 1);
refresh_index(&the_index, verbose ? REFRESH_IN_PORCELAIN : REFRESH_QUIET,
- pathspec, seen, "Unstaged changes after refreshing the index:");
+ pathspec, seen, _("Unstaged changes after refreshing the index:"));
for (i = 0; i < specs; i++) {
if (!seen[i])
die(_("pathspec '%s' did not match any files"), pathspec[i]);