Re: [PATCH 9/9] Add git-check-ignores
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 4, 2012, 17:26 UTC
- Message-ID
- <7vmx15bsxj.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CACsJy8A2-C9xSz2LXt9Ptjxhe++i2vcBSMY-cxJLWUiutajZUQ@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
Show 11 quoted lines
>> +static void output_exclude(const char *path, struct exclude *exclude)
>> +{
>> + char *type = exclude->to_exclude ? "excluded" : "included";
>> + char *bang = exclude->to_exclude ? "" : "!";
>> + char *dir = (exclude->flags & EXC_FLAG_MUSTBEDIR) ? "/" : "";
>> + printf(_("%s: %s %s%s%s "), path, type, bang, exclude->pattern, dir);
>
> These English words "excluded" and "included" make the translator me
> want to translate them. But they could be the markers for scripts, so
> they may not be translated. How about using non alphanumeric letters
> instead?I agree they should not be translated, but it is a disease to think unintelligible mnemonic is a better input format for scripts than the spelled out words. "excluded/included" pair is just fine.