Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

i18n: verify-pack: mark parseopt 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>
  • Loading branch information...
commit 0a245e244af36053e144387eb7d335f34bba561f 1 parent fb52a45
Nguyễn Thái Ngọc Duy authored August 20, 2012 gitster committed August 22, 2012

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  builtin/verify-pack.c
6  builtin/verify-pack.c
@@ -53,7 +53,7 @@ static int verify_one_pack(const char *path, unsigned int flags)
53 53
 }
54 54
 
55 55
 static const char * const verify_pack_usage[] = {
56  
-	"git verify-pack [-v|--verbose] [-s|--stat-only] <pack>...",
  56
+	N_("git verify-pack [-v|--verbose] [-s|--stat-only] <pack>..."),
57 57
 	NULL
58 58
 };
59 59
 
@@ -63,9 +63,9 @@ int cmd_verify_pack(int argc, const char **argv, const char *prefix)
63 63
 	unsigned int flags = 0;
64 64
 	int i;
65 65
 	const struct option verify_pack_options[] = {
66  
-		OPT_BIT('v', "verbose", &flags, "verbose",
  66
+		OPT_BIT('v', "verbose", &flags, N_("verbose"),
67 67
 			VERIFY_PACK_VERBOSE),
68  
-		OPT_BIT('s', "stat-only", &flags, "show statistics only",
  68
+		OPT_BIT('s', "stat-only", &flags, N_("show statistics only"),
69 69
 			VERIFY_PACK_STAT_ONLY),
70 70
 		OPT_END()
71 71
 	};

0 notes on commit 0a245e2

Please sign in to comment.
Something went wrong with that request. Please try again.