Re: [PATCH] i18n: fix small typos

2018-11-28 Thread Eric Sunshine
On Wed, Nov 28, 2018 at 4:43 PM Jean-Noël Avila  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 


[PATCH] i18n: fix small typos

2018-11-28 Thread Jean-Noël Avila
Translating the new strings introduced for v2.20 showed some typos.

Signed-off-by: Jean-Noël Avila 
---
 http.c | 2 +-
 midx.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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])
-- 
2.18.0