Re: PO files are out of date

Antonio Ceballos <[email protected]> Mon, 21 Apr 2025 21:52:40 +0200
Newsgroups gmane.comp.gnu.chess.bugs
Message-ID <CAO7R9g-4KcHwPVkJ80KkDH+8as8BQXbmNwA+D_Mzna9+rxUUmA@mail.gmail.com>
--00000000000082fa5406334f36f8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Benno,

Thanks for your report. I was so excited about releasing after such a long
time, that I overlooked some details. I am already working on a new
release, and I will try to fix all that soon.

Saludos.
Antonio


On Mon, Apr 21, 2025 at 1:11=E2=80=AFPM Benno Schulenberg <bensberg@telfort=
.nl>
wrote:

>
> Hola Antonio,
>
> After downloading and building the latest gnuchess (6.2.11),
> I noticed that the translation files were not up to date:
>
> $ for file in *.po; do echo -n "$file: "; msgfmt -cv $file; done
> da.po: 123 translated messages, 19 fuzzy translations, 5 untranslated
> messages.
> de.po: 142 translated messages, 4 fuzzy translations, 1 untranslated
> message.
> eo.po: 144 translated messages, 3 fuzzy translations.
> es.po: 147 translated messages.
> fr.po: 142 translated messages, 4 fuzzy translations, 1 untranslated
> message.
> gl.po: 28 translated messages, 6 fuzzy translations, 113 untranslated
> messages.
> it.po: 45 translated messages, 30 fuzzy translations, 72 untranslated
> messages.
> nb.po: 147 translated messages.
> nl.po: 144 translated messages, 3 fuzzy translations.
> pt_BR.po: 144 translated messages, 3 fuzzy translations.
> sr.po: 144 translated messages, 3 fuzzy translations.
> sv.po: 147 translated messages.
> uk.po: 144 translated messages, 3 fuzzy translations.
> vi.po: 125 translated messages, 19 fuzzy translations, 3 untranslated
> messages.
> zh_CN.po: 147 translated messages.
>
> Only four languages are fully translated.  But at the TP
> (https://translationproject.org/domain/gnuchess.html)
> gnuchess is fully translated for _thirteen_ languages.
> It seems you forgot to pull in the latest PO files?
>
>
> Furthermore, running ./configure in gnuchess-6.2.11, there were
> these lines near the start:
>
> /home/ben/Programoj/gnuchess-6.2.11/missing: Unknown `--is-lightweight'
> option
> Try `/home/ben/Programoj/gnuchess-6.2.11/missing --help' for more
> information
> configure: WARNING: 'missing' script is too old or missing
>
> And indeed: the tarball does not contain the `missing` script.
> It should be automatically included when using automake.
>
>
> Then, when trying to compile gnuchess, it said:
>
> Making all in frontend
> make[3]: Map '/home/ben/Programoj/gnuchess-6.2.11/src/frontend' wordt
> binnengegaan
>    CXX      atak.o
> ../../depcomp: regel 669: exec: g++: niet gevonden
>
> It would be good if ./configure would check for the needed compiler.
>
>
> After installing g++, it compiled fine, apart from one warning:
>
> main.cc: In function =E2=80=98int main(int, char**)=E2=80=99:
> main.cc:428:38: warning: =E2=80=98sprintf=E2=80=99 may write a terminatin=
g nul past the
> end of
> the destination [-Wformat-overflow=3D]
>    428 |     sprintf( data, "book add %s\nquit", opt_addbook );
>        |                                      ^
> main.cc:428:12: note: =E2=80=98sprintf=E2=80=99 output between 15 and 143=
 bytes into a
> destination of size 142
>    428 |     sprintf( data, "book add %s\nquit", opt_addbook );
>
>
> Benno
>

--00000000000082fa5406334f36f8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Hel=
lo Benno,</div><div class=3D"gmail_default" style=3D"font-size:small"><br><=
/div><div class=3D"gmail_default" style=3D"font-size:small">Thanks for your=
 report. I was so excited about releasing after such a long time, that I ov=
erlooked some details. I am already working on a new release, and I will tr=
y to fix all that soon. <br></div><div class=3D"gmail_default" style=3D"fon=
t-size:small"><br></div><div class=3D"gmail_default" style=3D"font-size:sma=
ll">Saludos.</div><div class=3D"gmail_default" style=3D"font-size:small">An=
tonio</div><div class=3D"gmail_default" style=3D"font-size:small"><br></div=
></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr=
" class=3D"gmail_attr">On Mon, Apr 21, 2025 at 1:11=E2=80=AFPM Benno Schule=
nberg &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hola Antonio,<br>
<br>
After downloading and building the latest gnuchess (6.2.11),<br>
I noticed that the translation files were not up to date:<br>
<br>
$ for file in *.po; do echo -n &quot;$file: &quot;; msgfmt -cv $file; done<=
br>
da.po: 123 translated messages, 19 fuzzy translations, 5 untranslated messa=
ges.<br>
de.po: 142 translated messages, 4 fuzzy translations, 1 untranslated messag=
e.<br>
eo.po: 144 translated messages, 3 fuzzy translations.<br>
es.po: 147 translated messages.<br>
fr.po: 142 translated messages, 4 fuzzy translations, 1 untranslated messag=
e.<br>
gl.po: 28 translated messages, 6 fuzzy translations, 113 untranslated messa=
ges.<br>
it.po: 45 translated messages, 30 fuzzy translations, 72 untranslated messa=
ges.<br>
nb.po: 147 translated messages.<br>
nl.po: 144 translated messages, 3 fuzzy translations.<br>
pt_BR.po: 144 translated messages, 3 fuzzy translations.<br>
sr.po: 144 translated messages, 3 fuzzy translations.<br>
sv.po: 147 translated messages.<br>
uk.po: 144 translated messages, 3 fuzzy translations.<br>
vi.po: 125 translated messages, 19 fuzzy translations, 3 untranslated messa=
ges.<br>
zh_CN.po: 147 translated messages.<br>
<br>
Only four languages are fully translated.=C2=A0 But at the TP<br>
(<a href=3D"https://translationproject.org/domain/gnuchess.html" rel=3D"nor=
eferrer" target=3D"_blank">https://translationproject.org/domain/gnuchess.h=
tml</a>)<br>
gnuchess is fully translated for _thirteen_ languages.<br>
It seems you forgot to pull in the latest PO files?<br>
<br>
<br>
Furthermore, running ./configure in gnuchess-6.2.11, there were<br>
these lines near the start:<br>
<br>
/home/ben/Programoj/gnuchess-6.2.11/missing: Unknown `--is-lightweight&#39;=
 option<br>
Try `/home/ben/Programoj/gnuchess-6.2.11/missing --help&#39; for more infor=
mation<br>
configure: WARNING: &#39;missing&#39; script is too old or missing<br>
<br>
And indeed: the tarball does not contain the `missing` script.<br>
It should be automatically included when using automake.<br>
<br>
<br>
Then, when trying to compile gnuchess, it said:<br>
<br>
Making all in frontend<br>
make[3]: Map &#39;/home/ben/Programoj/gnuchess-6.2.11/src/frontend&#39; wor=
dt binnengegaan<br>
=C2=A0 =C2=A0CXX=C2=A0 =C2=A0 =C2=A0 atak.o<br>
../../depcomp: regel 669: exec: g++: niet gevonden<br>
<br>
It would be good if ./configure would check for the needed compiler.<br>
<br>
<br>
After installing g++, it compiled fine, apart from one warning:<br>
<br>
main.cc: In function =E2=80=98int main(int, char**)=E2=80=99:<br>
main.cc:428:38: warning: =E2=80=98sprintf=E2=80=99 may write a terminating =
nul past the end of <br>
the destination [-Wformat-overflow=3D]<br>
=C2=A0 =C2=A0428 |=C2=A0 =C2=A0 =C2=A0sprintf( data, &quot;book add %s\nqui=
t&quot;, opt_addbook );<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 ^<br>
main.cc:428:12: note: =E2=80=98sprintf=E2=80=99 output between 15 and 143 b=
ytes into a <br>
destination of size 142<br>
=C2=A0 =C2=A0428 |=C2=A0 =C2=A0 =C2=A0sprintf( data, &quot;book add %s\nqui=
t&quot;, opt_addbook );<br>
<br>
<br>
Benno<br>
</blockquote></div>

--00000000000082fa5406334f36f8--