@matheusbsbs / matheus-bagliano / commits / ed2a808d68
Fork 0

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>

Ævar Arnfjörð Bjarmason committed Feb 22, 2011 at 23:41 UTC ed2a808d683419f9daade78b737d070bd13c4d7f
1 file changed +1 -1
builtin/add.c
+1 -1
@@ -188,7 +188,7 @@ static void refresh(int verbose, const char **pathspec)
188 /* nothing */;
189 seen = xcalloc(specs, 1);
190 refresh_index(&the_index, verbose ? REFRESH_IN_PORCELAIN : REFRESH_QUIET,
191 - pathspec, seen, "Unstaged changes after refreshing the index:");
191 + pathspec, seen, _("Unstaged changes after refreshing the index:"));
192 for (i = 0; i < specs; i++) {
193 if (!seen[i])
194 die(_("pathspec '%s' did not match any files"), pathspec[i]);