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>

Nguyễn Thái Ngọc Duy committed Aug 20, 2012 at 19:32 UTC 2477bebb5d2ca50489f81ae28caa44e6f5b54f98
1 file changed +6 -6
builtin/replace.c
+6 -6
@@ -14,9 +14,9 @@
14 #include "parse-options.h"
15
16 static const char * const git_replace_usage[] = {
17 - "git replace [-f] <object> <replacement>",
18 - "git replace -d <object>...",
19 - "git replace -l [<pattern>]",
17 + N_("git replace [-f] <object> <replacement>"),
18 + N_("git replace -d <object>..."),
19 + N_("git replace -l [<pattern>]"),
20 NULL
21 };
22
@@ -115,9 +115,9 @@ int cmd_replace(int argc, const char **argv, const char *prefix)
115 {
116 int list = 0, delete = 0, force = 0;
117 struct option options[] = {
118 - OPT_BOOLEAN('l', NULL, &list, "list replace refs"),
119 - OPT_BOOLEAN('d', NULL, &delete, "delete replace refs"),
120 - OPT_BOOLEAN('f', NULL, &force, "replace the ref if it exists"),
118 + OPT_BOOLEAN('l', NULL, &list, N_("list replace refs")),
119 + OPT_BOOLEAN('d', NULL, &delete, N_("delete replace refs")),
120 + OPT_BOOLEAN('f', NULL, &force, N_("replace the ref if it exists")),
121 OPT_END()
122 };
123