aboutsummaryrefslogtreecommitdiff
path: root/builtin/archive.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-08-20 19:31:51 +0700
committerJunio C Hamano <gitster@pobox.com>2012-08-20 12:23:15 -0700
commit0012a3873b5df4476b5b9142d0b5748a101c1ba8 (patch)
tree40ba077342072bb25dee77ef2cf88737ecf7f703 /builtin/archive.c
parenta054e049121dcf51b33082e7828abc0b598fef42 (diff)
downloadgit-0012a3873b5df4476b5b9142d0b5748a101c1ba8.tar.gz
git-0012a3873b5df4476b5b9142d0b5748a101c1ba8.tar.xz
i18n: archive: 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>
Diffstat (limited to 'builtin/archive.c')
-rw-r--r--builtin/archive.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/builtin/archive.c b/builtin/archive.c
index 931956def..e7965bf15 100644
--- a/builtin/archive.c
+++ b/builtin/archive.c
@@ -88,12 +88,12 @@ int cmd_archive(int argc, const char **argv, const char *prefix)
const char *output = NULL;
const char *remote = NULL;
struct option local_opts[] = {
- OPT_STRING('o', "output", &output, "file",
- "write the archive to this file"),
- OPT_STRING(0, "remote", &remote, "repo",
- "retrieve the archive from remote repository <repo>"),
- OPT_STRING(0, "exec", &exec, "cmd",
- "path to the remote git-upload-archive command"),
+ OPT_STRING('o', "output", &output, N_("file"),
+ N_("write the archive to this file")),
+ OPT_STRING(0, "remote", &remote, N_("repo"),
+ N_("retrieve the archive from remote repository <repo>")),
+ OPT_STRING(0, "exec", &exec, N_("cmd"),
+ N_("path to the remote git-upload-archive command")),
OPT_END()
};