Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: prune-packed: mark parseopt strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 20 Aug 2012 12:32:31 +0000
(19:32 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2012 19:23:19 +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/prune-packed.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
e08b735
)
diff --git
a/builtin/prune-packed.c
b/builtin/prune-packed.c
index b58a2e1eb28d0eb94cc6863c64af7e0ac816caea..83382c1fe13e1f99aad4736993c08877c989a748 100644
(file)
--- a/
builtin/prune-packed.c
+++ b/
builtin/prune-packed.c
@@
-4,7
+4,7
@@
#include "parse-options.h"
static const char * const prune_packed_usage[] = {
#include "parse-options.h"
static const char * const prune_packed_usage[] = {
-
"git prune-packed [-n|--dry-run] [-q|--quiet]"
,
+
N_("git prune-packed [-n|--dry-run] [-q|--quiet]")
,
NULL
};
NULL
};
@@
-73,8
+73,8
@@
int cmd_prune_packed(int argc, const char **argv, const char *prefix)
{
int opts = isatty(2) ? VERBOSE : 0;
const struct option prune_packed_options[] = {
{
int opts = isatty(2) ? VERBOSE : 0;
const struct option prune_packed_options[] = {
- OPT_BIT('n', "dry-run", &opts,
"dry run"
, DRY_RUN),
- OPT_NEGBIT('q', "quiet", &opts,
"be quiet"
, VERBOSE),
+ OPT_BIT('n', "dry-run", &opts,
N_("dry run")
, DRY_RUN),
+ OPT_NEGBIT('q', "quiet", &opts,
N_("be quiet")
, VERBOSE),
OPT_END()
};
OPT_END()
};