Merge branch 'nd/i18n'
Many more strings are prepared for l10n. * nd/i18n: (23 commits) transport-helper.c: mark more strings for translation transport.c: mark more strings for translation sha1-file.c: mark more strings for translation sequencer.c: mark more strings for translation replace-object.c: mark more strings for translation refspec.c: mark more strings for translation refs.c: mark more strings for translation pkt-line.c: mark more strings for translation object.c: mark more strings for translation exec-cmd.c: mark more strings for translation environment.c: mark more strings for translation dir.c: mark more strings for translation convert.c: mark more strings for translation connect.c: mark more strings for translation config.c: mark more strings for translation commit-graph.c: mark more strings for translation builtin/replace.c: mark more strings for translation builtin/pack-objects.c: mark more strings for translation builtin/grep.c: mark strings for translation builtin/config.c: mark more strings for translation ...
This commit is contained in:
@ -17,7 +17,7 @@ static int register_replace_ref(const char *refname,
|
||||
|
||||
if (get_oid_hex(hash, &repl_obj->original.oid)) {
|
||||
free(repl_obj);
|
||||
warning("bad replace ref name: %s", refname);
|
||||
warning(_("bad replace ref name: %s"), refname);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ static int register_replace_ref(const char *refname,
|
||||
|
||||
/* Register new object */
|
||||
if (oidmap_put(the_repository->objects->replace_map, repl_obj))
|
||||
die("duplicate replace ref: %s", refname);
|
||||
die(_("duplicate replace ref: %s"), refname);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -69,5 +69,5 @@ const struct object_id *do_lookup_replace_object(struct repository *r,
|
||||
return cur;
|
||||
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