From: Ævar Arnfjörð Bjarmason Date: Tue, 22 Feb 2011 23:41:33 GMT Subject: [PATCH v4 14/73] gettextize: git-add "Unstaged changes" message Message-ID: <1298418152-27789-15-git-send-email-avarab@gmail.com> In-Reply-To: <7vhbbwdjnm.fsf@alter.siamese.dyndns.org> Make the "Unstaged changes after refreshing the index:" translatable. It's displayed under `git add --refresh --verbose`. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Jonathan Nieder --- builtin/add.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/builtin/add.c b/builtin/add.c index 33b9970..a512597 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]); -- 1.7.2.3