[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shishi-NLS: address@hidden is broken
From: |
Simon Josefsson |
Subject: |
Re: shishi-NLS: address@hidden is broken |
Date: |
Tue, 16 Apr 2013 00:07:06 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux) |
Mats Erik Andersson <address@hidden> writes:
> onsdag den 3 april 2013 klockan 01:23 skrev Simon Josefsson detta:
>> Mats Erik Andersson <address@hidden> writes:
>>
>> > Hello there,
>> >
>> > the imported file
>> >
>> > po/address@hidden
>> >
>> > is broken, because 176 msgid/msgstr pairs are not
>> > agreeing on the use of newline characters!
>
>> Is this still a problem? I have updated NLS in git.
>>
>> However, I'm not certain the address@hidden stuff makes sense any more. It
>> was used to be recommended for projects, but it seems to have fallen out
>> of fashion. Should we just drop the address@hidden stuff?
>
> The failure appears for me with FreeBSD, never with GNU/Linux.
> The error is caused by
>
> msgmerge address@hidden address@hidden shishi.pot -o address@hidden
>
> which is inserting "\n" at the end of every generated msgstr.
> The most probable cause is that FreeBSD does not provide the
> locales "address@hidden" and "address@hidden".
>
> There should really be a test whether these locales exist,
> before creating the message templates.
Building these files should not require locales at all. Perhaps there
is a genuine gettext-on-FreeBSD bug lurking here? Which gettext version
are you using?
However maybe the simplest is to remove these locales, I'm not sure
generating them are considered best practice any longer.
/Simon