Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: mv: mark parseopt strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 20 Aug 2012 12:32:26 +0000
(19:32 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2012 19:23:18 +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/mv.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
a631281
)
diff --git
a/builtin/mv.c
b/builtin/mv.c
index 2a144b011caa8ecb70f55976bdec60cae89fad9e..034fec92a11d79f28d80171ca86394817084ee09 100644
(file)
--- a/
builtin/mv.c
+++ b/
builtin/mv.c
@@
-11,7
+11,7
@@
#include "parse-options.h"
static const char * const builtin_mv_usage[] = {
#include "parse-options.h"
static const char * const builtin_mv_usage[] = {
-
"git mv [options] <source>... <destination>"
,
+
N_("git mv [options] <source>... <destination>")
,
NULL
};
NULL
};
@@
-59,10
+59,10
@@
int cmd_mv(int argc, const char **argv, const char *prefix)
int i, newfd;
int verbose = 0, show_only = 0, force = 0, ignore_errors = 0;
struct option builtin_mv_options[] = {
int i, newfd;
int verbose = 0, show_only = 0, force = 0, ignore_errors = 0;
struct option builtin_mv_options[] = {
- OPT__VERBOSE(&verbose,
"be verbose"
),
- OPT__DRY_RUN(&show_only,
"dry run"
),
- OPT__FORCE(&force,
"force move/rename even if target exists"
),
- OPT_BOOLEAN('k', NULL, &ignore_errors,
"skip move/rename errors"
),
+ OPT__VERBOSE(&verbose,
N_("be verbose")
),
+ OPT__DRY_RUN(&show_only,
N_("dry run")
),
+ OPT__FORCE(&force,
N_("force move/rename even if target exists")
),
+ OPT_BOOLEAN('k', NULL, &ignore_errors,
N_("skip move/rename errors")
),
OPT_END(),
};
const char **source, **destination, **dest_path;
OPT_END(),
};
const char **source, **destination, **dest_path;