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>
This commit is contained in:

committed by
Junio C Hamano

parent
1b5e07bbf0
commit
b73c6e3a0d
@ -17,7 +17,7 @@ static int register_replace_ref(const char *refname,
|
|||||||
|
|
||||||
if (get_oid_hex(hash, &repl_obj->original.oid)) {
|
if (get_oid_hex(hash, &repl_obj->original.oid)) {
|
||||||
free(repl_obj);
|
free(repl_obj);
|
||||||
warning("bad replace ref name: %s", refname);
|
warning(_("bad replace ref name: %s"), refname);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ static int register_replace_ref(const char *refname,
|
|||||||
|
|
||||||
/* Register new object */
|
/* Register new object */
|
||||||
if (oidmap_put(the_repository->objects->replace_map, repl_obj))
|
if (oidmap_put(the_repository->objects->replace_map, repl_obj))
|
||||||
die("duplicate replace ref: %s", refname);
|
die(_("duplicate replace ref: %s"), refname);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -69,5 +69,5 @@ const struct object_id *do_lookup_replace_object(struct repository *r,
|
|||||||
return cur;
|
return cur;
|
||||||
cur = &repl_obj->replacement;
|
cur = &repl_obj->replacement;
|
||||||
}
|
}
|
||||||
die("replace depth too high for object %s", oid_to_hex(oid));
|
die(_("replace depth too high for object %s"), oid_to_hex(oid));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user