Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: fast-export: mark parseopt strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 20 Aug 2012 12:32:08 +0000
(19:32 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2012 19:23:16 +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/fast-export.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
bfb0737
)
diff --git
a/builtin/fast-export.c
b/builtin/fast-export.c
index 9ab6db3fb042d0cb7ee3a1919788b9a6cd26a3d6..12220ad8dac65acaa556c6524310d5540709f324 100644
(file)
--- a/
builtin/fast-export.c
+++ b/
builtin/fast-export.c
@@
-19,7
+19,7
@@
#include "quote.h"
static const char *fast_export_usage[] = {
#include "quote.h"
static const char *fast_export_usage[] = {
-
"git fast-export [rev-list-opts]"
,
+
N_("git fast-export [rev-list-opts]")
,
NULL
};
NULL
};
@@
-632,24
+632,24
@@
int cmd_fast_export(int argc, const char **argv, const char *prefix)
char *export_filename = NULL, *import_filename = NULL;
struct option options[] = {
OPT_INTEGER(0, "progress", &progress,
char *export_filename = NULL, *import_filename = NULL;
struct option options[] = {
OPT_INTEGER(0, "progress", &progress,
-
"show progress after <n> objects"
),
- OPT_CALLBACK(0, "signed-tags", &signed_tag_mode,
"mode"
,
-
"select handling of signed tags"
,
+
N_("show progress after <n> objects")
),
+ OPT_CALLBACK(0, "signed-tags", &signed_tag_mode,
N_("mode")
,
+
N_("select handling of signed tags")
,
parse_opt_signed_tag_mode),
parse_opt_signed_tag_mode),
- OPT_CALLBACK(0, "tag-of-filtered-object", &tag_of_filtered_mode,
"mode"
,
-
"select handling of tags that tag filtered objects"
,
+ OPT_CALLBACK(0, "tag-of-filtered-object", &tag_of_filtered_mode,
N_("mode")
,
+
N_("select handling of tags that tag filtered objects")
,
parse_opt_tag_of_filtered_mode),
parse_opt_tag_of_filtered_mode),
- OPT_STRING(0, "export-marks", &export_filename,
"file"
,
-
"Dump marks to this file"
),
- OPT_STRING(0, "import-marks", &import_filename,
"file"
,
-
"Import marks from this file"
),
+ OPT_STRING(0, "export-marks", &export_filename,
N_("file")
,
+
N_("Dump marks to this file")
),
+ OPT_STRING(0, "import-marks", &import_filename,
N_("file")
,
+
N_("Import marks from this file")
),
OPT_BOOLEAN(0, "fake-missing-tagger", &fake_missing_tagger,
OPT_BOOLEAN(0, "fake-missing-tagger", &fake_missing_tagger,
-
"Fake a tagger when tags lack one"
),
+
N_("Fake a tagger when tags lack one")
),
OPT_BOOLEAN(0, "full-tree", &full_tree,
OPT_BOOLEAN(0, "full-tree", &full_tree,
-
"Output full tree for each commit"
),
+
N_("Output full tree for each commit")
),
OPT_BOOLEAN(0, "use-done-feature", &use_done_feature,
OPT_BOOLEAN(0, "use-done-feature", &use_done_feature,
-
"Use the done feature to terminate the stream"
),
- OPT_BOOL(0, "no-data", &no_data,
"Skip output of blob data"
),
+
N_("Use the done feature to terminate the stream")
),
+ OPT_BOOL(0, "no-data", &no_data,
N_("Skip output of blob data")
),
OPT_END()
};
OPT_END()
};