Junio C Hamano  committed 99b41e9 Merge

Merge branch 'sb/gpg-i18n' into jch

Will merge to 'next'.

* sb/gpg-i18n:
gpg: allow translation of more error messages

  • Participants
  • Parent commits d6fc9be, 4c9a418
  • Branches pu

Comments (0)

Files changed (1)

File gpg-interface.c

 	args_gpg[0] = gpg_program;
 	fd = git_mkstemp(path, PATH_MAX, ".git_vtag_tmpXXXXXX");
 	if (fd < 0)
-		return error("could not create temporary file '%s': %s",
+		return error(_("could not create temporary file '%s': %s"),
 			     path, strerror(errno));
 	if (write_in_full(fd, signature, signature_size) < 0)
-		return error("failed writing detached signature to '%s': %s",
+		return error(_("failed writing detached signature to '%s': %s"),
 			     path, strerror(errno));
 	args_gpg[2] = path;
 	if (start_command(&gpg)) {
-		return error("could not run gpg.");
+		return error(_("could not run gpg."));
 	write_in_full(, payload, payload_size);