Code

i18n: mark clone nonexistent repository message for translation
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 10 Apr 2011 19:34:06 +0000 (19:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Apr 2011 07:12:53 +0000 (00:12 -0700)
Mark the "repository '%s' does not exist" message added in
v1.7.4.2~21^2 (clone: die when trying to clone missing local path) by
Jeff King for translation.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c

index 4144bcf5ca320057b5ef1f5dac9c2df19aba250b..49c838fd3ff24ecc7821fbcf8f312d76967c168d 100644 (file)
@@ -417,7 +417,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
        if (path)
                repo = xstrdup(absolute_path(repo_name));
        else if (!strchr(repo_name, ':'))
-               die("repository '%s' does not exist", repo_name);
+               die(_("repository '%s' does not exist"), repo_name);
        else
                repo = repo_name;
        is_local = path && !is_bundle;