summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:33 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-03-09 23:52:53 -0800
commited2a808d683419f9daade78b737d070bd13c4d7f (patch)
treebc6c0ec707d26cd061a907920c2d92a3c2f79232 /builtin
parenti18n: git-add "remove '%s'" message (diff)
downloadtgif-ed2a808d683419f9daade78b737d070bd13c4d7f.tar.xz
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')
-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]);