i18n: symbolic-ref: 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>
This commit is contained in:
parent
c9120b1c9b
commit
b10bf3fa11
@ -4,7 +4,7 @@
|
|||||||
#include "parse-options.h"
|
#include "parse-options.h"
|
||||||
|
|
||||||
static const char * const git_symbolic_ref_usage[] = {
|
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;
|
const char *msg = NULL;
|
||||||
struct option options[] = {
|
struct option options[] = {
|
||||||
OPT__QUIET(&quiet,
|
OPT__QUIET(&quiet,
|
||||||
"suppress error message for non-symbolic (detached) refs"),
|
N_("suppress error message for non-symbolic (detached) refs")),
|
||||||
OPT_BOOL(0, "short", &shorten, "shorten ref output"),
|
OPT_BOOL(0, "short", &shorten, N_("shorten ref output")),
|
||||||
OPT_STRING('m', NULL, &msg, "reason", "reason of the update"),
|
OPT_STRING('m', NULL, &msg, N_("reason"), N_("reason of the update")),
|
||||||
OPT_END(),
|
OPT_END(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user