summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-03-11 22:37:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-03-11 23:02:24 (GMT)
commit274db840b48d144a8f0f8d8bd324365670c67275 (patch)
tree3aef4642e6c3523f8ed3f7a5c6d9f1d7b1451b3d
parentc90e5293d11bc2c671312778aea33922a4ee1725 (diff)
downloadgit-274db840b48d144a8f0f8d8bd324365670c67275.zip
git-274db840b48d144a8f0f8d8bd324365670c67275.tar.gz
git-274db840b48d144a8f0f8d8bd324365670c67275.tar.bz2
verify_repository_format: mark messages for translation
These messages are human-readable and should be translated. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.c b/setup.c
index 1314c17..09d3720 100644
--- a/setup.c
+++ b/setup.c
@@ -462,7 +462,7 @@ int verify_repository_format(const struct repository_format *format,
struct strbuf *err)
{
if (GIT_REPO_VERSION_READ < format->version) {
- strbuf_addf(err, "Expected git repo version <= %d, found %d",
+ strbuf_addf(err, _("Expected git repo version <= %d, found %d"),
GIT_REPO_VERSION_READ, format->version);
return -1;
}
@@ -470,7 +470,7 @@ int verify_repository_format(const struct repository_format *format,
if (format->version >= 1 && format->unknown_extensions.nr) {
int i;
- strbuf_addstr(err, "unknown repository extensions found:");
+ strbuf_addstr(err, _("unknown repository extensions found:"));
for (i = 0; i < format->unknown_extensions.nr; i++)
strbuf_addf(err, "\n\t%s",