replace-object.c: mark more strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Jul 21, 2018 at 09:49 UTC b73c6e3a0dd1c091954edce7b0cece61d4fa9368
1 file changed +3 -3
replace-object.c
+3 -3
@@ -17,7 +17,7 @@ static int register_replace_ref(const char *refname,
17
18 if (get_oid_hex(hash, &repl_obj->original.oid)) {
19 free(repl_obj);
20 - warning("bad replace ref name: %s", refname);
20 + warning(_("bad replace ref name: %s"), refname);
21 return 0;
22 }
23
@@ -26,7 +26,7 @@ static int register_replace_ref(const char *refname,
26
27 /* Register new object */
28 if (oidmap_put(the_repository->objects->replace_map, repl_obj))
29 - die("duplicate replace ref: %s", refname);
29 + die(_("duplicate replace ref: %s"), refname);
30
31 return 0;
32 }
@@ -69,5 +69,5 @@ const struct object_id *do_lookup_replace_object(struct repository *r,
69 return cur;
70 cur = &repl_obj->replacement;
71 }
72 - die("replace depth too high for object %s", oid_to_hex(oid));
72 + die(_("replace depth too high for object %s"), oid_to_hex(oid));
73 }