From: Nguyễn Thái Ngọc Duy Date: Mon, 20 Aug 2012 12:32:26 +0000 (+0700) Subject: i18n: mv: mark parseopt strings for translation X-Git-Tag: v1.8.0-rc0~95^2~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c54dc46aa3e9c7ed655f1586ed8dc6c65cfece5;p=git.git i18n: mv: mark parseopt strings for translation Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/builtin/mv.c b/builtin/mv.c index 2a144b011..034fec92a 100644 --- a/builtin/mv.c +++ b/builtin/mv.c @@ -11,7 +11,7 @@ #include "parse-options.h" static const char * const builtin_mv_usage[] = { - "git mv [options] ... ", + N_("git mv [options] ... "), 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[] = { - 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;