Reduce translations by using same terminologies
Somewhere in help usage, we use both "message" and "msg", "command" and "cmd", "key id" and "key-id". This patch makes all help text from parseopt use the first form. Clearer and 3 fewer strings for translators. 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:
committed by
Junio C Hamano
parent
b5625d0723
commit
b0ff96547e
@ -531,7 +531,7 @@ static int add(int argc, const char **argv, const char *prefix)
|
||||
const unsigned char *note;
|
||||
struct msg_arg msg = { 0, 0, STRBUF_INIT };
|
||||
struct option options[] = {
|
||||
{ OPTION_CALLBACK, 'm', "message", &msg, N_("msg"),
|
||||
{ OPTION_CALLBACK, 'm', "message", &msg, N_("message"),
|
||||
N_("note contents as a string"), PARSE_OPT_NONEG,
|
||||
parse_msg_arg},
|
||||
{ OPTION_CALLBACK, 'F', "file", &msg, N_("file"),
|
||||
@ -688,7 +688,7 @@ static int append_edit(int argc, const char **argv, const char *prefix)
|
||||
const char * const *usage;
|
||||
struct msg_arg msg = { 0, 0, STRBUF_INIT };
|
||||
struct option options[] = {
|
||||
{ OPTION_CALLBACK, 'm', "message", &msg, N_("msg"),
|
||||
{ OPTION_CALLBACK, 'm', "message", &msg, N_("message"),
|
||||
N_("note contents as a string"), PARSE_OPT_NONEG,
|
||||
parse_msg_arg},
|
||||
{ OPTION_CALLBACK, 'F', "file", &msg, N_("file"),
|
||||
|
||||
Reference in New Issue
Block a user