Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2021 13:32:01 +0100
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        "Danilo G. Baio" <dbaio@freebsd.org>
Cc:        translators@freebsd.org
Subject:   Re: Problem with outdated file
Message-ID:  <CAGwOe2Yy0coemdmqg2X16vpzBZ8hKWgQNrn9JeUrQx2HFur0=A@mail.gmail.com>
In-Reply-To: <20211105111441.oef35bmnakbq3trp@t480.local>
References:  <CAGwOe2aQDK_kZRqapR2%2BtG7Be5tfpdHJsOdkJ52bNtNzCBhoSw@mail.gmail.com> <CAGwOe2a7NSq6V2g4Q=24ZyZbiZO%2B_8MO==2ja99JDQ-QrmFLYg@mail.gmail.com> <60fb8454-ce00-4137-a2f4-7b49858b58f5@www.fastmail.com> <CAGwOe2YOr%2BC5HQ1DXPy81FACgU=RcM14TQyExMLd6Png%2BY1%2BZg@mail.gmail.com> <20211105111441.oef35bmnakbq3trp@t480.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 5, 2021 at 12:14 PM Danilo G. Baio <dbaio@freebsd.org> wrote:
>
> On Wed, Nov 03, 2021 at 01:18:56PM +0100, Fernando Apestegu=C3=ADa wrote:
> > On Wed, Nov 3, 2021 at 1:01 PM Danilo G. Baio <dbaio@freebsd.org> wrote=
:
> > >
> > >
> > >
> > > On Wed, Nov 3, 2021, at 02:59, Fernando Apestegu=C3=ADa wrote:
> > > > On Thu, Oct 14, 2021 at 2:52 PM Fernando Apestegu=C3=ADa <fernape@f=
reebsd.org> wrote:
> > > >>
> > > >> Hi all,
> > > >>
> > > >> It seems it happened again. The fonts article is fully translated
> > > >> (according to Weblate) but it seems the .po file is not correct as=
 one
> > > >> msgid seems missing:
> > > >>
> > > >> documentation/content/es/articles/fonts/_index.po
> > > >> Your input po file documentation/content/es/articles/fonts/_index.=
po
> > > >> seems outdated (msgid declared in one file only: Groff:
> > > >> ). Please consider running po4a-updatepo to refresh it.
> > > >>
> > > >> I checked it and it is translated (in fact source and translation =
are
> > > >> identical).
> > > >>
> > > >> danilo@, could you have a look at it? Or if there is some procedur=
e I
> > > >> should do to "refresh" Weblate, let me know.
> > > >
> > > > Any news on this?
> > > >
> > > > Weblate translations look frozen.
> > > > Some articles are 100% translated but the .po file does not have al=
l
> > > > the translated strings. Also, some changes happen in the master fil=
es
> > > > that are not reflected in the translations.
> > > >
> > > > Cheers.
> > > >
> > > >>
> > > >> Thanks!
> > >
> > >
> > > Hum, so it didn't happen just with a single document.
> >
> > I assume this happens also in other languages although I didn't check.
> >
> > >
> > > Probably we will need a complete refresh of all translation files.
> > >
> > > I'll dig into this and then document the procedure in case it happens=
 again. (I hope not).
> >
> > Thanks!
> >
> > >
> > > And to note, I didn't receive your other email on Oct 14.
> >
> > No worries at all!
> >
> > Cheers.
> >
>
>
> Hi.
>
> All source files were updated to the latest commit in doc tree
> 41a849652d188f0b37c62f7ea66e97e99f17343d. [1]
>
> No errors in the process.
>
> Could you retest the files you had issues with?

Seems to work now. I had to update, for the fonts article, 7 strings.
One of them looks weird though:

include::shared/attributes/attributes-{{% lang %}}.adoc[]
include::shared/{{% lang %}}/teams.adoc[] include::shared/{{% lang
%}}/mailing-lists.adoc[] include::shared/{{% lang %}}/urls.adoc[]

>
> I'll test pt-br this weekend.
>
> I saw one new string [2] in almost all documents, which is another issue
> with po4a.

Yes, most of the Spanish translations are one string behind:

documentation/content/es/articles/contributing/_index.po
Your input po file
documentation/content/es/articles/contributing/_index.po seems
outdated (The amount of entries differ between files: 205 is not 206
). Please consider running po4a-updatepo to refresh it.
.....
documentation/content/es/articles/cups/_index.po
Your input po file documentation/content/es/articles/cups/_index.po
seems outdated (The amount of entries differ between files: 54 is not
55
). Please consider running po4a-updatepo to refresh it.
.....
documentation/content/es/articles/explaining-bsd/_index.po
Your input po file
documentation/content/es/articles/explaining-bsd/_index.po seems
outdated (The amount of entries differ between files: 79 is not 80
). Please consider running po4a-updatepo to refresh it.
.....
documentation/content/es/articles/filtering-bridges/_index.po
Your input po file
documentation/content/es/articles/filtering-bridges/_index.po seems
outdated (The amount of entries differ between files: 61 is not 62
). Please consider running po4a-updatepo to refresh it.

etcetera.

Thanks a lot!

>
> 1 - https://cgit.freebsd.org/doc/commit/?id=3D41a849652d188f0b37c62f7ea66=
e97e99f17343d
> 2 - https://translate-dev.freebsd.org/translate/documentation/articlesbsd=
l-gpl/pt_BR/?checksum=3D19a7d213651c9738
>
> Regards.
> --
> Danilo G. Baio (dbaio)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2Yy0coemdmqg2X16vpzBZ8hKWgQNrn9JeUrQx2HFur0=A>