Thread (1 message) 1 message, 1 author, 2018-05-24

Re: [RFC/PATCH 2/7] rerere: mark strings for translation

From: Junio C Hamano <hidden>
Date: 2018-05-24 07:20:15

Thomas Gummerer [off-list ref] writes:
 		if (write_in_full(out_fd, buf.buf, buf.len) < 0)
-			die("unable to write rerere record");
+			die(_("unable to write rerere record"));
As we'd be adding these new strings to the .po file, perhaps we
would want to downcase the first letter in the message to match the
convention?
...
-		return error_errno("Could not open %s", path);
+		return error_errno(_("Could not open %s"), path);
...
-		error("There were errors while writing %s (%s)",
+		error(_("There were errors while writing %s (%s)"),
...
-		io.io.wrerror = error_errno("Failed to flush %s", path);
+		io.io.wrerror = error_errno(_("Failed to flush %s"), path);
...
-		return error("Could not parse conflict hunks in %s", path);
+		return error(_("Could not parse conflict hunks in %s"), path);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help