Scripty reverting its own changes for empty Gaelic translations

Stefan BrĂ¼ns <[email protected]> Sat, 31 Jan 2026 05:46:02 +0100
Newsgroups gmane.comp.kde.devel.internationalization-and-documentation
Message-ID <4237108.XAFRqVoOGU@nibbler>
Hi,

since a few weeks scripty started to overwrite its own changes, i.e. it 
commits the template file as a language translation, then fills in a few 
language specific entries, and then overwrites it with the template again.

This is happening all across the board, I have checked half a dozen
frameworks, and all are affected.

Apparently, only completely untranslated po files are affected. This can
be seen in e.g. kio-extras:

- po/ga/kio6_archive.po only has meaningful updates (i.e. line number updates)
- po/ga/kio6_afc.po flips between two states

Diff:
---
 # This file is distributed under the same license as the kio-extras package.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
 #
+#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: kio-extras\n"
@@ -10,13 +11,11 @@ msgstr ""
 "POT-Creation-Date: 2025-11-17 11:51+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: Irish Gaelic <[email protected]>\n"
-"Language: ga\n"
+"Language-Team: LANGUAGE <[email protected]>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n < 11 ? "
-"3 : 4\n"
 
 #: afcutils.cpp:60
 #, kde-format
---

This seems to be specific to Irish Gaelic, but it may also be caused by Gaelic 
having so many untranslated parts.

Can someone please check what is happening here?
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----

iHkEABECADkWIQSwWRWIpJbl0W4DemNvf0o9jP6qUwUCaX2JChsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDIACgkQb39KPYz+qlN1JACgpyBSCV1sWySlxvmnkVTS
QBTVGRoAoKUUXBSP4cl2392Yc0YhYevIPCSe
=g56t
-----END PGP SIGNATURE-----