Skip to content

Commit 6c54dc4

Browse files
pcloudsgitster
authored andcommitted
i18n: mv: 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>
1 parent a631281 commit 6c54dc4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

builtin/mv.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "parse-options.h"
1212

1313
static const char * const builtin_mv_usage[] = {
14-
"git mv [options] <source>... <destination>",
14+
N_("git mv [options] <source>... <destination>"),
1515
NULL
1616
};
1717

@@ -59,10 +59,10 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
5959
int i, newfd;
6060
int verbose = 0, show_only = 0, force = 0, ignore_errors = 0;
6161
struct option builtin_mv_options[] = {
62-
OPT__VERBOSE(&verbose, "be verbose"),
63-
OPT__DRY_RUN(&show_only, "dry run"),
64-
OPT__FORCE(&force, "force move/rename even if target exists"),
65-
OPT_BOOLEAN('k', NULL, &ignore_errors, "skip move/rename errors"),
62+
OPT__VERBOSE(&verbose, N_("be verbose")),
63+
OPT__DRY_RUN(&show_only, N_("dry run")),
64+
OPT__FORCE(&force, N_("force move/rename even if target exists")),
65+
OPT_BOOLEAN('k', NULL, &ignore_errors, N_("skip move/rename errors")),
6666
OPT_END(),
6767
};
6868
const char **source, **destination, **dest_path;

0 commit comments

Comments
 (0)