i18n: fsck: 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>
Nguyễn Thái Ngọc Duy committed
Aug 20, 2012 at 19:32 UTC
cf8fe315e6c74e8fafb688c85237cd2583627317
1 file changed
+12
-12
builtin/fsck.c
+12
-12
@@ -605,23 +605,23 @@ static int fsck_cache_tree(struct cache_tree *it)
605
}
606
607
static char const * const fsck_usage[] = {
608
- "git fsck [options] [<object>...]",
608
+ N_("git fsck [options] [<object>...]"),
609
NULL
610
};
611
612
static struct option fsck_opts[] = {
613
- OPT__VERBOSE(&verbose, "be verbose"),
614
- OPT_BOOLEAN(0, "unreachable", &show_unreachable, "show unreachable objects"),
615
- OPT_BOOL(0, "dangling", &show_dangling, "show dangling objects"),
616
- OPT_BOOLEAN(0, "tags", &show_tags, "report tags"),
617
- OPT_BOOLEAN(0, "root", &show_root, "report root nodes"),
618
- OPT_BOOLEAN(0, "cache", &keep_cache_objects, "make index objects head nodes"),
619
- OPT_BOOLEAN(0, "reflogs", &include_reflogs, "make reflogs head nodes (default)"),
620
- OPT_BOOLEAN(0, "full", &check_full, "also consider packs and alternate objects"),
621
- OPT_BOOLEAN(0, "strict", &check_strict, "enable more strict checking"),
613
+ OPT__VERBOSE(&verbose, N_("be verbose")),
614
+ OPT_BOOLEAN(0, "unreachable", &show_unreachable, N_("show unreachable objects")),
615
+ OPT_BOOL(0, "dangling", &show_dangling, N_("show dangling objects")),
616
+ OPT_BOOLEAN(0, "tags", &show_tags, N_("report tags")),
617
+ OPT_BOOLEAN(0, "root", &show_root, N_("report root nodes")),
618
+ OPT_BOOLEAN(0, "cache", &keep_cache_objects, N_("make index objects head nodes")),
619
+ OPT_BOOLEAN(0, "reflogs", &include_reflogs, N_("make reflogs head nodes (default)")),
620
+ OPT_BOOLEAN(0, "full", &check_full, N_("also consider packs and alternate objects")),
621
+ OPT_BOOLEAN(0, "strict", &check_strict, N_("enable more strict checking")),
622
OPT_BOOLEAN(0, "lost-found", &write_lost_and_found,
623
- "write dangling objects in .git/lost-found"),
624
- OPT_BOOL(0, "progress", &show_progress, "show progress"),
623
+ N_("write dangling objects in .git/lost-found")),
624
+ OPT_BOOL(0, "progress", &show_progress, N_("show progress")),
625
OPT_END(),
626
};
627