diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-11-10 06:16:01 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-12 06:47:09 +0100 |
commit | a7412ae1342b09f16d659d75da5d25f137800a60 (patch) | |
tree | b0b781ba0f99e9ec259aa6e49f91febdc6130443 /alias.c | |
parent | git.c: mark more strings for translation (diff) | |
download | git-a7412ae1342b09f16d659d75da5d25f137800a60.tar.xz git-a7412ae1342b09f16d659d75da5d25f137800a60.zip |
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>
Diffstat (limited to 'alias.c')
-rw-r--r-- | alias.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |