git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] l10n: de.po: update German translation

From
Ralf Thielow <ralf.thielow@gmail.com>
Date
Jul 21, 2017, 16:32 UTC
Message-ID
<CAN0XMOL2E3+raBkH3LHg15ZYP8zH4Qv8oh1Zn+G6C6LZxJerdA@mail.gmail.com>
In-Reply-To
<xmqqshhphitv.fsf@gitster.mtv.corp.google.com>
Hi,
after applying the patch, entries in date.c turned into this

-#: date.c:122 date.c:129 date.c:136 date.c:143 date.c:149 date.c:156 date.c:167 -#: date.c:175 date.c:180 -msgid "%" -msgid_plural "%" -msgstr[0] "%" -msgstr[1] "%" +#: date.c:122 +#, fuzzy, c-format +msgid "%<PRIuMAX> second ago" +msgid_plural "%<PRIuMAX> seconds ago" +msgstr[0] "vor %lu Sekunde" +msgstr[1] "vor %lu Sekunden" ...

which seems to be OK. A full diff after updating de.po after this patch can be found at https://pastebin.com/5yeSnGQj.

Ralf
2017-07-21 18:10 GMT+02:00 Junio C Hamano <gitster@pobox.com>:
Show 40 quoted lines
> Ralf Thielow <ralf.thielow@gmail.com> writes:
>
>>  #: date.c:116
>>  msgid "in the future"
>>  msgstr "in der Zukunft"
>>
>>  #: date.c:122 date.c:129 date.c:136 date.c:143 date.c:149 date.c:156 date.c:167
>>  #: date.c:175 date.c:180
>>  msgid "%"
>>  msgid_plural "%"
>> -msgstr[0] ""
>> -msgstr[1] ""
>> +msgstr[0] "%"
>> +msgstr[1] "%"
>
> Sorry, but I think these need re-translation after -rc1 because the po/git.pot
> is generated incorrectly.  See the discussion:
>
>   https://public-inbox.org/git/%3Cxmqqk233klvd.fsf@gitster.mtv.corp.google.com%3E/#t
>
> Also, if you can, please try the patch in
>
>     <xmqqfudrkkci.fsf@gitster.mtv.corp.google.com>
>
> like so:
>
>     $ git reset --hard origin/master
>     $ git am <that message>
>     $ make pot
>     $ git commit -m 'update po/git.pot' -a
>     $ cd po
>     $ msgmerge --add-location --backup-off -U de.po git.pot
>
> to make sure you get corrected entries for date.c.  If it works out
> correctly, I'd want to ship -rc1 with that Makefile fix so that
> Jiang can do the first four commands above to give translators a
> correct po/git.pot to base their work on.
>
> Thanks.
>
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “l10n: de.po: update German translation”
  1. l10n: de.po: update German translationRalf Thielow, Jul 14, 2017
  2. Matthias RüsterJul 20, 2017
  3. l10n: de.po: update German translationRalf Thielow, Jul 21, 2017
  4. Junio C HamanoJul 21, 2017
  5. Ralf ThielowJul 21, 2017
  6. Junio C HamanoJul 21, 2017
  7. l10n: de.po: update German translationRalf Thielow, Jul 21, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.