i18n: rm: 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
72bba2a6bf826091716b75591adc4c91ef032c7b
1 file changed
+7
-7
builtin/rm.c
+7
-7
@@ -11,7 +11,7 @@
11
#include "parse-options.h"
12
13
static const char * const builtin_rm_usage[] = {
14
- "git rm [options] [--] <file>...",
14
+ N_("git rm [options] [--] <file>..."),
15
NULL
16
};
17
@@ -130,13 +130,13 @@ static int show_only = 0, force = 0, index_only = 0, recursive = 0, quiet = 0;
130
static int ignore_unmatch = 0;
131
132
static struct option builtin_rm_options[] = {
133
- OPT__DRY_RUN(&show_only, "dry run"),
134
- OPT__QUIET(&quiet, "do not list removed files"),
135
- OPT_BOOLEAN( 0 , "cached", &index_only, "only remove from the index"),
136
- OPT__FORCE(&force, "override the up-to-date check"),
137
- OPT_BOOLEAN('r', NULL, &recursive, "allow recursive removal"),
133
+ OPT__DRY_RUN(&show_only, N_("dry run")),
134
+ OPT__QUIET(&quiet, N_("do not list removed files")),
135
+ OPT_BOOLEAN( 0 , "cached", &index_only, N_("only remove from the index")),
136
+ OPT__FORCE(&force, N_("override the up-to-date check")),
137
+ OPT_BOOLEAN('r', NULL, &recursive, N_("allow recursive removal")),
138
OPT_BOOLEAN( 0 , "ignore-unmatch", &ignore_unmatch,
139
- "exit with a zero status even if nothing matched"),
139
+ N_("exit with a zero status even if nothing matched")),
140
OPT_END(),
141
};
142