diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-08-20 19:32:36 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-20 12:23:19 -0700 |
commit | 2477bebb5d2ca50489f81ae28caa44e6f5b54f98 (patch) | |
tree | ee7988d7cc75af412aa71e8bea310d8470812c17 /builtin/replace.c | |
parent | fbbae140d3310464387393a8b86da1ad2da44d41 (diff) | |
download | git-2477bebb5d2ca50489f81ae28caa44e6f5b54f98.tar.gz |
i18n: replace: 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/replace.c')
-rw-r--r-- | builtin/replace.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/builtin/replace.c b/builtin/replace.c index 4a8970e9c9..e3aaf70203 100644 --- a/builtin/replace.c +++ b/builtin/replace.c @@ -14,9 +14,9 @@ #include "parse-options.h" static const char * const git_replace_usage[] = { - "git replace [-f] <object> <replacement>", - "git replace -d <object>...", - "git replace -l [<pattern>]", + N_("git replace [-f] <object> <replacement>"), + N_("git replace -d <object>..."), + N_("git replace -l [<pattern>]"), NULL }; @@ -115,9 +115,9 @@ int cmd_replace(int argc, const char **argv, const char *prefix) { int list = 0, delete = 0, force = 0; struct option options[] = { - OPT_BOOLEAN('l', NULL, &list, "list replace refs"), - OPT_BOOLEAN('d', NULL, &delete, "delete replace refs"), - OPT_BOOLEAN('f', NULL, &force, "replace the ref if it exists"), + OPT_BOOLEAN('l', NULL, &list, N_("list replace refs")), + OPT_BOOLEAN('d', NULL, &delete, N_("delete replace refs")), + OPT_BOOLEAN('f', NULL, &force, N_("replace the ref if it exists")), OPT_END() }; |