Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: gc: mark parseopt strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 20 Aug 2012 12:32:14 +0000
(19:32 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2012 19:23:17 +0000
(12:23 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/gc.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
cf8fe31
)
diff --git
a/builtin/gc.c
b/builtin/gc.c
index 9b4232c8f30715327342c3d86c027d04c2a44c94..6d46608fc9ffe45a9ebb7ebb4570e0b163455411 100644
(file)
--- a/
builtin/gc.c
+++ b/
builtin/gc.c
@@
-19,7
+19,7
@@
#define FAILED_RUN "failed to run %s"
static const char * const builtin_gc_usage[] = {
#define FAILED_RUN "failed to run %s"
static const char * const builtin_gc_usage[] = {
-
"git gc [options]"
,
+
N_("git gc [options]")
,
NULL
};
NULL
};
@@
-174,12
+174,12
@@
int cmd_gc(int argc, const char **argv, const char *prefix)
int quiet = 0;
struct option builtin_gc_options[] = {
int quiet = 0;
struct option builtin_gc_options[] = {
- OPT__QUIET(&quiet,
"suppress progress reporting"
),
- { OPTION_STRING, 0, "prune", &prune_expire,
"date"
,
-
"prune unreferenced objects"
,
+ OPT__QUIET(&quiet,
N_("suppress progress reporting")
),
+ { OPTION_STRING, 0, "prune", &prune_expire,
N_("date")
,
+
N_("prune unreferenced objects")
,
PARSE_OPT_OPTARG, NULL, (intptr_t)prune_expire },
PARSE_OPT_OPTARG, NULL, (intptr_t)prune_expire },
- OPT_BOOLEAN(0, "aggressive", &aggressive,
"be more thorough (increased runtime)"
),
- OPT_BOOLEAN(0, "auto", &auto_gc,
"enable auto-gc mode"
),
+ OPT_BOOLEAN(0, "aggressive", &aggressive,
N_("be more thorough (increased runtime)")
),
+ OPT_BOOLEAN(0, "auto", &auto_gc,
N_("enable auto-gc mode")
),
OPT_END()
};
OPT_END()
};