summaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:31 +0000
committerJunio C Hamano <gitster@pobox.com>2011-03-09 23:52:53 -0800
commit48168851cffcd14e01d3a10473a02ca4b4479402 (patch)
treea90c67462c18ead3ab453279859360746c48b8b8 /builtin/add.c
parent439fb8296d0a08c09653a45c0f44757c6b9c99b2 (diff)
downloadgit-48168851cffcd14e01d3a10473a02ca4b4479402.tar.gz
i18n: git-add "did not match any files" message
Make the "did not match any files" message translatable, and skip the test that checks for it when the C_LOCALE_OUTPUT prereq is not present. 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 21776ac52b..ffbd45986a 100644
--- a/builtin/add.c
+++ b/builtin/add.c
@@ -451,7 +451,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
if (excluded(&dir, pathspec[i], &dtype))
dir_add_ignored(&dir, pathspec[i], strlen(pathspec[i]));
} else
- die("pathspec '%s' did not match any files",
+ die(_("pathspec '%s' did not match any files"),
pathspec[i]);
}
}