Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 03/65] i18n: archive: mark parseopt strings for translation

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:56

Jonathan Nieder [off-list ref] writes:
Junio C Hamano wrote:
quoted
Nguyễn Thái Ngọc Duy  [off-list ref] writes:
quoted
quoted
--- a/archive.c
+++ b/archive.c
@@ -7,10 +7,10 @@
 #include "unpack-trees.h"
 
 static char const * const archive_usage[] = {
-	"git archive [options] <tree-ish> [<path>...]",
-	"git archive --list",
-	"git archive --remote <repo> [--exec <cmd>] [options] <tree-ish> [<path>...]",
-	"git archive --remote <repo> [--exec <cmd>] --list",
+	N_("git archive [options] <tree-ish> [<path>...]"),
+	N_("git archive --list"),
+	N_("git archive --remote <repo> [--exec <cmd>] [options] <tree-ish> [<path>...]"),
+	N_("git archive --remote <repo> [--exec <cmd>] --list"),
 	NULL
 };
I can understand the "help" text member of OPT_BLAH() construct, but
do we really want to translate the above?
<repo>, <cmd>, [options], <tree-ish>, and <path> may be spelled
differently in other languages.
OK, fair enough.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help