coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a splitting script


From: Benno Schulenberg
Subject: Re: a splitting script
Date: Mon, 26 Jan 2026 16:32:39 +0100
User-agent: Mozilla Thunderbird


Op 25-01-2026 om 17:19 schreef Egmont Koblinger:
Another random find:

9.9 tarball's hu.po line 3252.  The translation is outdated, it misses
the "+" flag.  Accordingly, it's marked as fuzzy.

This made me think: when a msgid-msgstr pair is marked as fuzzy,
then the split.py script should _not_ split any options that are
in the msgid and msgstr, because whatever is in the msgstr does
not correspond to what is in the msgid -- or at least not fully.

One can observe this problem when running ./split.py on sk.po
and then searching for "--no-dereference".  Oops.

(In hu.po at the TP there are no fuzzies, so I didn't notice the
problem there.)

So split.py has to check for the "#, fuzzy" marker, and skip the
splitting of the subsequent msgid-msgstr pair.  I've implemented
that in the attached updated script.

(But maybe it is better to split them anyway and mark every
resulting pair as fuzzy?)


--
Regards,

Benno

Attachment: split.py
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]