i18n: prune: 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 8f5b7281b4c0ea173d7f791ef44f2de6e3f65657
1 file changed +5 -5
builtin/prune.c
+5 -5
@@ -9,7 +9,7 @@
9 #include "dir.h"
10
11 static const char * const prune_usage[] = {
12 - "git prune [-n] [-v] [--expire <time>] [--] [<head>...]",
12 + N_("git prune [-n] [-v] [--expire <time>] [--] [<head>...]"),
13 NULL
14 };
15 static int show_only;
@@ -128,11 +128,11 @@ int cmd_prune(int argc, const char **argv, const char *prefix)
128 struct rev_info revs;
129 struct progress *progress = NULL;
130 const struct option options[] = {
131 - OPT__DRY_RUN(&show_only, "do not remove, show only"),
132 - OPT__VERBOSE(&verbose, "report pruned objects"),
133 - OPT_BOOL(0, "progress", &show_progress, "show progress"),
131 + OPT__DRY_RUN(&show_only, N_("do not remove, show only")),
132 + OPT__VERBOSE(&verbose, N_("report pruned objects")),
133 + OPT_BOOL(0, "progress", &show_progress, N_("show progress")),
134 OPT_DATE(0, "expire", &expire,
135 - "expire objects older than <time>"),
135 + N_("expire objects older than <time>")),
136 OPT_END()
137 };
138 char *s;