i18n: fix small typos
diff mbox series

Message ID 20181128214309.23523-1-jn.avila@free.fr
State New
Headers show
Series
  • i18n: fix small typos
Related show

Commit Message

Jean-Noël Avila Nov. 28, 2018, 9:43 p.m. UTC
Translating the new strings introduced for v2.20 showed some typos.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
---
 http.c | 2 +-
 midx.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Eric Sunshine Nov. 28, 2018, 9:51 p.m. UTC | #1
On Wed, Nov 28, 2018 at 4:43 PM Jean-Noël Avila <jn.avila@free.fr> wrote:
> Translating the new strings introduced for v2.20 showed some typos.

Hard to spot by eyeball when looking at the diff, but both fixes make
sense. Thanks.

> Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>

Patch
diff mbox series

diff --git a/http.c b/http.c
index 3dc8c560d6..eacc2a75ef 100644
--- a/http.c
+++ b/http.c
@@ -834,7 +834,7 @@  static CURL *get_curl_handle(void)
 #if LIBCURL_VERSION_NUM >= 0x072c00
 		curl_easy_setopt(result, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NO_REVOKE);
 #else
-		warning(_("CURLSSLOPT_NO_REVOKE not suported with cURL < 7.44.0"));
+		warning(_("CURLSSLOPT_NO_REVOKE not supported with cURL < 7.44.0"));
 #endif
 	}
 
diff --git a/midx.c b/midx.c
index 730ff84dff..2a6a24fcd7 100644
--- a/midx.c
+++ b/midx.c
@@ -202,7 +202,7 @@  int prepare_midx_pack(struct multi_pack_index *m, uint32_t pack_int_id)
 	struct strbuf pack_name = STRBUF_INIT;
 
 	if (pack_int_id >= m->num_packs)
-		die(_("bad pack-int-id: %u (%u total packs"),
+		die(_("bad pack-int-id: %u (%u total packs)"),
 		    pack_int_id, m->num_packs);
 
 	if (m->packs[pack_int_id])