diff options
author | Vasco Almeida <vascomalmeida@sapo.pt> | 2016-09-19 13:08:17 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-19 10:55:36 -0700 |
commit | f2b93b388ccbce342bc8b58d8581f6a077f42eff (patch) | |
tree | 9d5362c52dbdbfd9ae8c1f8e653b9a748c244e2e /connect.c | |
parent | 4fa4b31507f28b3a6486e44b620ab36c6380cb7d (diff) | |
download | git-f2b93b388ccbce342bc8b58d8581f6a077f42eff.tar.gz |
i18n: connect: mark die messages for translation
Mark messages passed to die() in die_initial_contact().
Update test to reflect changes.
Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.c')
-rw-r--r-- | connect.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |