Re: [PATCH/RFC 06/17] gettext: localize the main git-init message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 31, 2010 at 15:10, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> Ævar Arnfjörð Bjarmason wrote:
>
>> Note that the TRANSLATORS comment doesn't use the usual Git
>> style. This is because everything from "/* TRANSLATORS: " to "*/" will
>> extracted as-is xgettext(1) and presented to translators, including
>> newlines and leading "*"'s.
>
> How would it cope with the following?
>
>        /* TRANSLATORS:
>         * The first '%s' is either "Reinitialized existing" or
>         * "Initialized empty", the second " shared" or "", and
>         * the last '%s%s' is the verbatim directory name.
>         */
>
> The leading column of stars makes it easier to distinguish code
> from comments.  (Plus I am not too happy to read code with two
> inconsistent comment styles used.)

As I was (trying) to get across in the the commit message it'll make
the *'s part of the message. I.e.:

    TRANSLATORS: * The first '%s' is either "Reinitialized existing"
    or * "Initialized empty", the second " shared" or "", and * the
    last '%s%s' is the verbatim directory name.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]