i18n breaks KStars build
Albert Astals Cid
aacid at kde.org
Sat Dec 9 11:38:12 GMT 2023
El dissabte, 9 de desembre de 2023, a les 10:04:57 (CET), Johnny Jazeix va
escriure:
> Hi,
> This is how I understand it, correct me if wrong:
> The source files have been updated a few days ago:
> https://invent.kde.org/education/kstars/-/commit/d694512d85b334287b832ab3609
> a20f76f6ec724. The changes affects the links names.
> As the translation is not yet updated, the po files inside the git
> repository still have the old links.
> When the compilation of the docbook happens, it still have the old files
> and it complains it does not find the correspondance with the new links so
> there is an error.
This is only partially correct, the problem is that someone run a docbook
update and only updated half of the docbooks, so they ended up in an
inconsistent state.
That is, we don't force translated docbooks to be in sync with the english
text, they can be decades old (that's a separate issue).
The update of the docbooks is manual and whoever updates them has to check
they commit a compiling doc, and i'm relatively sure our scripts do it
correctly, so i'd like to know the workflow that Freek uses because he's
either using some custom scripts that don't do this correctly or our scripts
need improving.
Cheers,
Albert
>
> The solution is to remove the failing index.docbook files for now until the
> translation is 100% and it will be generated again.
>
> Cheers,
> Johnny
>
> Le sam. 9 déc. 2023 à 09:49, Oliver Kellogg <olivermkellogg at gmail.com> a
>
> écrit :
> > It seems that l10n-scripty/update_xml is unforgiving about less than
> > 100% translated po files,
> > it prints
> >
> > [...]
> > po2xml documentation/kstars/kstars/ekos-analyze.docbook
> > nl/docmessages/kstars/kstars_ekos-analyze.po
> > nl/docmessages/kstars/kstars_ekos-capture.po: 132 translated messages,
> > 40 untranslated messages.
> > nl/docmessages/kstars/kstars_ekos-focus.po: 465 translated messages,
> > 50 untranslated messages.
> >
> > and skips the files for which it prints the statistics, i.e.
> >
> > kstars_ekos-capture.po and kstars_ekos-focus.po
> >
> > which later on appears to make problems.
> >
> > What I find strange is that the problem surfaces only now.
> > Those files were less than 100% translated already since Nov 29.
> >
> > -Oliver
> >
> > On Sat, Dec 9, 2023 at 12:59 AM Hy Murveit <murveit at gmail.com> wrote:
> > > i18n--Please check this build error:
> > >
> > > https://invent.kde.org/education/kstars/-/jobs/1427868
> > >
> > > Thanks,
> > > Hy
> > >
> > > On Tue, Aug 8, 2023 at 10:51 PM Jasem Mutlaq <mutlaqja at ikarustech.com>
> >
> > wrote:
> > >> Hello,
> > >>
> > >> Build log: https://invent.kde.org/education/kstars/-/jobs/1107308
> > >>
> > >> Can you please check?
> > >>
> > >> --
> > >> Best Regards,
> > >> Jasem Mutlaq
More information about the kde-i18n-doc
mailing list