|
14 | 14 | #include "parse-options.h" |
15 | 15 |
|
16 | 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 | 20 | NULL |
21 | 21 | }; |
22 | 22 |
|
@@ -115,9 +115,9 @@ int cmd_replace(int argc, const char **argv, const char *prefix) |
115 | 115 | { |
116 | 116 | int list = 0, delete = 0, force = 0; |
117 | 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 | 121 | OPT_END() |
122 | 122 | }; |
123 | 123 |
|
|
0 commit comments