Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: replace: mark parseopt strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 20 Aug 2012 12:32:36 +0000
(19:32 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2012 19:23:19 +0000
(12:23 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/replace.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
fbbae14
)
diff --git
a/builtin/replace.c
b/builtin/replace.c
index 4a8970e9c95c1e07c1ed919d40f33238dcd05588..e3aaf70203d4f5b6f099ed538d3366fb0a7747ce 100644
(file)
--- a/
builtin/replace.c
+++ b/
builtin/replace.c
@@
-14,9
+14,9
@@
#include "parse-options.h"
static const char * const git_replace_usage[] = {
#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
};
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[] = {
{
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()
};
OPT_END()
};