--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: d-i.debian.org: l10n-sync script breaks headers in individual package files in some situations
- From: Christian Perrier <bubulle@debian.org>
- Date: Fri, 08 Jul 2016 07:05:23 +0200
- Message-id: <20160708050523.15276.95442.reportbug@kheops.kheops.frmug.org>
Package: d-i.debian.org
Severity: normal
Tags: l10n
It turns out that, as things are right now, the l10n-sync scripts
appears to break PO files headers in Danish and Belarusian
translations of many packages, if not all of them.
That can be seen for instance in arcboot-installer. See the following
"git log" output:
commit 6e8d75e50bc237758c3c112a23c83f02d949c019
Author: D-I role <debian-boot@lists.debian.org>
Date: Thu Jul 7 22:24:03 2016 +0000
[l10n] Commit changed/added files
commit cf342c5cbdbb395903bcbcf52a5b5603cd48b5a2
Author: Christian Perrier <bubulle@debian.org>
Date: Thu Jul 7 06:52:04 2016 +0200
Revert "[l10n] Commit changed/added files"
This reverts commit d723909ca66e3438f92c478d2097d1caf5b28673.
commit ce0fc132232d436288438e778ef051fddff9478d
Author: Christian Perrier <bubulle@debian.org>
Date: Thu Jul 7 06:51:41 2016 +0200
Revert "[l10n] Commit changed/added files"
This reverts commit 2fd6349f7ea98ac1885b3b2263b85352e9e93ce9.
commit 2fd6349f7ea98ac1885b3b2263b85352e9e93ce9
Author: D-I role <debian-boot@lists.debian.org>
Date: Mon Jul 4 22:24:33 2016 +0000
[l10n] Commit changed/added files
commit d723909ca66e3438f92c478d2097d1caf5b28673
Author: D-I role <debian-boot@lists.debian.org>
Date: Sun Jul 3 22:25:20 2016 +0000
[l10n] Commit changed/added files
Before d723909ca66e3438f92c478d2097d1caf5b28673, the da.po headers are like this:
"PO-Revision-Date: 2010-08-05 10:48+0200\n"
"Last-Translator: Jacob Sparre Andersen <jacob@jacob-sparre.dk>\n"
"Language-Team: Danish <debian-l10n-danish@lists.debian.org>\n"
"Language: da\n"
After d723909ca66e3438f92c478d2097d1caf5b28673, headers vanish:
# THIS FILE IS GENERATED AUTOMATICALLY FROM THE D-I PO MASTER FILES
# The master files can be found under packages/po/
#
# DO NOT MODIFY THIS FILE DIRECTLY: SUCH CHANGES WILL BE LOST
#
#. Type: text
#. Description
#. :sl4:
#: ../arcboot-installer.templates:1001
msgid "Install the Arcboot boot loader on a hard disk"
msgstr ""
After 2fd6349f7ea98ac1885b3b2263b85352e9e93ce9, headers re-appear, but
with:
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: <dansk@dansk-gruppen.dk>\n"
"Language: da\n"
If thos two commits are reverted, which I did in
cf342c5cbdbb395903bcbcf52a5b5603cd48b5a2, they are sadly re-broken in
the next l10n-sync run.
I have not yet investigated whether changes to
packages/po/sublevel*/da.po (and be.po) triggerred this in some way.
As suggested by KiBi, I first report this as an attempt to make l10n
scripts more resilient.
-- System Information:
Debian Release: 8.5
APT prefers stable
APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
--- End Message ---