threads / discuss / 37864

[L10N] Startup of Git 2.2.0 l10n round 1

Subject: [L10N] Startup of Git 2.2.0 l10n round 1

## tl;dr

4 messages between Nov 1, 2014 and Nov 3, 2014.

replies: 3people: 3as markdown or json

Jiang Xin· Nov 1, 2014, 00:13 UTC · lore
Hi,

Since Git v2.2.0-rc0 had already been released, it's time to start new round of git l10n. This time there are 62 new messages need to be translated since last update for v2.1.0:

    l10n: git.pot: v2.2.0 round 1 (62 new, 23 removed)
    Generate po/git.pot from v2.2.0-rc0 for git v2.2.0 l10n round 1.
    Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
You can get it from the usual place:
    https://github.com/git-l10n/git-po/

As how to update your XX.po and help to translate Git, please see "Updating a XX.po file" and other sections in “po/README" file.

-- Jiang Xin

Alexander Shopov· Nov 2, 2014, 17:08 UTC · re: Jiang Xin · lore

Re: [L10N] Startup of Git 2.2.0 l10n round 1

Can you please disambiguate message: msgid "more than one %s"

It means that something somewhere was repeated but does not point what and where. Perhaps users care about that.

It is now used 3 times (trailer.c:552 trailer.c:557 builtin/remote.c:288) but points to different things that were repeated. It used to mean only that there is a "remote' section repeated.

Kind regards: al_shopov

Christian Couder· Nov 2, 2014, 19:06 UTC · re: Alexander Shopov · lore

Re: [L10N] Startup of Git 2.2.0 l10n round 1

From: Alexander Shopov <ash@kambanaria.org>
Show 5 quoted lines
> Can you please disambiguate message:
> msgid "more than one %s"
> 
> It means that something somewhere was repeated but does not point what
> and where. Perhaps users care about that.
If you configure something like:
[trailer "stuff"]
        key = Stuff
        key = Other
You will get:

$ echo | LANG=C git interpret-trailers warning: more than one trailer.stuff.key

Which means that more than value was configured for the "trailer.stuff.key" configuration option. And it makes no sense because only one should be the canonical one.

> It is now used 3 times (trailer.c:552 trailer.c:557
> builtin/remote.c:288) but points to different things that were
> repeated. It used to mean only that there is a "remote' section
> repeated.

In builtin/remote.c the warning is also when more than one value is given for a configuration option.

Feel free to suggest some more explicit warning in both cases if you want. (Maybe adding " is configured" at the end would be enough.) A patch would be even better.

Thanks, Christian.

Jiang Xin· Nov 3, 2014, 01:46 UTC · re: Christian Couder · lore

Re: [L10N] Startup of Git 2.2.0 l10n round 1

2014-11-03 3:06 GMT+08:00 Christian Couder <chriscool@tuxfamily.org>:
Show 35 quoted lines
> From: Alexander Shopov <ash@kambanaria.org>
>
>> Can you please disambiguate message:
>> msgid "more than one %s"
>>
>> It means that something somewhere was repeated but does not point what
>> and where. Perhaps users care about that.
>
> If you configure something like:
>
> [trailer "stuff"]
>         key = Stuff
>         key = Other
>
> You will get:
>
> $ echo | LANG=C git interpret-trailers
> warning: more than one trailer.stuff.key
>
> Which means that more than value was configured for the
> "trailer.stuff.key" configuration option. And it makes no sense
> because only one should be the canonical one.
>
>> It is now used 3 times (trailer.c:552 trailer.c:557
>> builtin/remote.c:288) but points to different things that were
>> repeated. It used to mean only that there is a "remote' section
>> repeated.
>
> In builtin/remote.c the warning is also when more than one value is
> given for a configuration option.
>
> Feel free to suggest some more explicit warning in both cases if you
> want. (Maybe adding " is configured" at the end would be enough.) A
> patch would be even better.
>

Yes, Alexander could send a patch for this. It's an I18N thing, not L10n, so send a patch to the list if you like. @alshopov

> Thanks,
> Christian.
-- 
Jiang Xin

← back to recent threads