]> git.ipfire.org Git - thirdparty/git.git/blobdiff - connect.c
i18n: i18n: diff: mark die messages for translation
[thirdparty/git.git] / connect.c
index 722dc3fc546056be199f5d6a59c556833be58286..06bff0b48acbc962c7d1ca52c6b4a5e6096a21f2 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -46,11 +46,11 @@ int check_ref_type(const struct ref *ref, int flags)
 static void die_initial_contact(int got_at_least_one_head)
 {
        if (got_at_least_one_head)
-               die("The remote end hung up upon initial contact");
+               die(_("The remote end hung up upon initial contact"));
        else
-               die("Could not read from remote repository.\n\n"
-                   "Please make sure you have the correct access rights\n"
-                   "and the repository exists.");
+               die(_("Could not read from remote repository.\n\n"
+                     "Please make sure you have the correct access rights\n"
+                     "and the repository exists."));
 }
 
 static void parse_one_symref_info(struct string_list *symref, const char *val, int len)