зеркало из https://github.com/microsoft/git.git
commit-template: change a message to be more intuitive
It's not good to use the phrase 'do not touch' to convey the information that the cut-line should not be modified or removed as it could possibly be mis-interpreted by a person who doesn't know that the word 'touch' has the meaning of 'tamper with'. Further, it could make translations a little difficult as it might not have the intended meaning in a few languages when translated as such. So, use more intuitive terms in the sentence. Signed-off-by: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
94c9fd268d
Коммит
8c4b1a3593
|
@ -934,7 +934,7 @@ size_t wt_status_locate_end(const char *s, size_t len)
|
|||
|
||||
void wt_status_add_cut_line(FILE *fp)
|
||||
{
|
||||
const char *explanation = _("Do not touch the line above.\nEverything below will be removed.");
|
||||
const char *explanation = _("Do not modify or remove the line above.\nEverything below it will be ignored.");
|
||||
struct strbuf buf = STRBUF_INIT;
|
||||
|
||||
fprintf(fp, "%c %s", comment_line_char, cut_line);
|
||||
|
|
Загрузка…
Ссылка в новой задаче