Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: symbolic-ref: mark parseopt strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 20 Aug 2012 12:32:46 +0000
(19:32 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 22 Aug 2012 17:58:28 +0000
(10:58 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/symbolic-ref.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
c9120b1
)
diff --git
a/builtin/symbolic-ref.c
b/builtin/symbolic-ref.c
index 801d62ece5d2ec84d027089c29fc58e279126ebb..9e92828b3ab02fb93c568eab03f0db9d398e8fa2 100644
(file)
--- a/
builtin/symbolic-ref.c
+++ b/
builtin/symbolic-ref.c
@@
-4,7
+4,7
@@
#include "parse-options.h"
static const char * const git_symbolic_ref_usage[] = {
#include "parse-options.h"
static const char * const git_symbolic_ref_usage[] = {
-
"git symbolic-ref [options] name [ref]"
,
+
N_("git symbolic-ref [options] name [ref]")
,
NULL
};
NULL
};
@@
-35,9
+35,9
@@
int cmd_symbolic_ref(int argc, const char **argv, const char *prefix)
const char *msg = NULL;
struct option options[] = {
OPT__QUIET(&quiet,
const char *msg = NULL;
struct option options[] = {
OPT__QUIET(&quiet,
-
"suppress error message for non-symbolic (detached) refs"
),
- OPT_BOOL(0, "short", &shorten,
"shorten ref output"
),
- OPT_STRING('m', NULL, &msg,
"reason", "reason of the update"
),
+
N_("suppress error message for non-symbolic (detached) refs")
),
+ OPT_BOOL(0, "short", &shorten,
N_("shorten ref output")
),
+ OPT_STRING('m', NULL, &msg,
N_("reason"), N_("reason of the update")
),
OPT_END(),
};
OPT_END(),
};