alias.c: mark split_cmdline_strerror() strings for translation
This function can be part of translated messages. To make sure we don't have a sentence with mixed languages, mark the strings for translation, but only use translated strings in places we know we will output translated strings. 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
8aa8c14097
commit
a7412ae134
4
alias.c
4
alias.c
@ -47,8 +47,8 @@ void list_aliases(struct string_list *list)
|
||||
#define SPLIT_CMDLINE_BAD_ENDING 1
|
||||
#define SPLIT_CMDLINE_UNCLOSED_QUOTE 2
|
||||
static const char *split_cmdline_errors[] = {
|
||||
"cmdline ends with \\",
|
||||
"unclosed quote"
|
||||
N_("cmdline ends with \\"),
|
||||
N_("unclosed quote")
|
||||
};
|
||||
|
||||
int split_cmdline(char *cmdline, const char ***argv)
|
||||
|
Reference in New Issue
Block a user