i18n: fix typos found during l10n for git 2.22.0
Fix two typos introduced by the following commits: + 31fba9d3b4 (diff-parseopt: convert --[src|dst]-prefix, 2019-03-24) + ed8b4132c8 (remote-curl: mark all error messages for translation, 2019-03-05) Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jiang Xin committed
Jun 2, 2019 at 23:11 UTC
8a1569d655f599e803046de193b46a3d1d202b97
2 files changed
+3
-3
diff.c
+1
-1
@@ -5354,7 +5354,7 @@ static void prep_parse_options(struct diff_options *options)
5354
N_("show the given source prefix instead of \"a/\""),
5355
PARSE_OPT_NONEG),
5356
OPT_STRING_F(0, "dst-prefix", &options->b_prefix, N_("<prefix>"),
5357
- N_("show the given source prefix instead of \"b/\""),
5357
+ N_("show the given destination prefix instead of \"b/\""),
5358
PARSE_OPT_NONEG),
5359
OPT_CALLBACK_F(0, "line-prefix", options, N_("<prefix>"),
5360
N_("prepend an additional prefix to every line of output"),
remote-curl.c
+2
-2
@@ -1117,13 +1117,13 @@ static void parse_fetch(struct strbuf *buf)
1117
const char *q;
1118
1119
if (parse_oid_hex(p, &old_oid, &q))
1120
- die(_("protocol error: expected sha/ref, got %s'"), p);
1120
+ die(_("protocol error: expected sha/ref, got '%s'"), p);
1121
if (*q == ' ')
1122
name = q + 1;
1123
else if (!*q)
1124
name = "";
1125
else
1126
- die(_("protocol error: expected sha/ref, got %s'"), p);
1126
+ die(_("protocol error: expected sha/ref, got '%s'"), p);
1127
1128
ref = alloc_ref(name);
1129
oidcpy(&ref->old_oid, &old_oid);