i18n: fast-export: 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
3b787b9678405688e609fb8318e47279eb20ef31
1 file changed
+14
-14
builtin/fast-export.c
+14
-14
@@ -19,7 +19,7 @@
19
#include "quote.h"
20
21
static const char *fast_export_usage[] = {
22
- "git fast-export [rev-list-opts]",
22
+ N_("git fast-export [rev-list-opts]"),
23
NULL
24
};
25
@@ -632,24 +632,24 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix)
632
char *export_filename = NULL, *import_filename = NULL;
633
struct option options[] = {
634
OPT_INTEGER(0, "progress", &progress,
635
- "show progress after <n> objects"),
636
- OPT_CALLBACK(0, "signed-tags", &signed_tag_mode, "mode",
637
- "select handling of signed tags",
635
+ N_("show progress after <n> objects")),
636
+ OPT_CALLBACK(0, "signed-tags", &signed_tag_mode, N_("mode"),
637
+ N_("select handling of signed tags"),
638
parse_opt_signed_tag_mode),
639
- OPT_CALLBACK(0, "tag-of-filtered-object", &tag_of_filtered_mode, "mode",
640
- "select handling of tags that tag filtered objects",
639
+ OPT_CALLBACK(0, "tag-of-filtered-object", &tag_of_filtered_mode, N_("mode"),
640
+ N_("select handling of tags that tag filtered objects"),
641
parse_opt_tag_of_filtered_mode),
642
- OPT_STRING(0, "export-marks", &export_filename, "file",
643
- "Dump marks to this file"),
644
- OPT_STRING(0, "import-marks", &import_filename, "file",
645
- "Import marks from this file"),
642
+ OPT_STRING(0, "export-marks", &export_filename, N_("file"),
643
+ N_("Dump marks to this file")),
644
+ OPT_STRING(0, "import-marks", &import_filename, N_("file"),
645
+ N_("Import marks from this file")),
646
OPT_BOOLEAN(0, "fake-missing-tagger", &fake_missing_tagger,
647
- "Fake a tagger when tags lack one"),
647
+ N_("Fake a tagger when tags lack one")),
648
OPT_BOOLEAN(0, "full-tree", &full_tree,
649
- "Output full tree for each commit"),
649
+ N_("Output full tree for each commit")),
650
OPT_BOOLEAN(0, "use-done-feature", &use_done_feature,
651
- "Use the done feature to terminate the stream"),
652
- OPT_BOOL(0, "no-data", &no_data, "Skip output of blob data"),
651
+ N_("Use the done feature to terminate the stream")),
652
+ OPT_BOOL(0, "no-data", &no_data, N_("Skip output of blob data")),
653
OPT_END()
654
};
655