Package: lokalize Version: 4:4.7.4-3+b1 Severity: normal Tags: upstream -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi, I've reported a similar bug upstream [0] some time ago, but despite its current status, it hasn't really been fixed or resolved. 0: https://bugs.kde.org/show_bug.cgi?id=256035 Worst: Lokalize is able to break PO files, and if one use a weird build system (e.g. that pipes the msgcat result into the source PO file), it even causes data loss (and yes, it's a real life experience). Please find attach a working test file (/tmp/fr_ok.po), and its result once edited in Lokalize (/tmp/fr_lok.po). $ LANG=C msgfmt /tmp/fr_ok.po $ LANG=C msgfmt /tmp/fr_lok.po /tmp/fr_lok.po:19: end-of-line within string /tmp/fr_lok.po:17: missing `msgstr' section /tmp/fr_lok.po:19:4: syntax error /tmp/fr_lok.po:20: end-of-line within string msgfmt: found 4 fatal errors Regards David - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (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/dash Versions of packages lokalize depends on: ii kde-runtime 4:4.7.4-2 ii kdesdk-strigi-plugins 4:4.7.4-3+b1 ii libc6 2.13-32 ii libhunspell-1.3-0 1.3.2-4 ii libkdecore5 4:4.7.4-4 ii libkdeui5 4:4.7.4-4 ii libkfile4 4:4.7.4-4 ii libkio5 4:4.7.4-4 ii libkparts4 4:4.7.4-4 ii libkrosscore4 4:4.7.4-4 ii libkrossui4 4:4.7.4-4 ii libqt4-dbus 4:4.8.1-1 ii libqt4-sql 4:4.8.1-1 ii libqt4-sql-sqlite 4:4.8.1-1 ii libqt4-xml 4:4.8.1-1 ii libqtcore4 4:4.8.1-1 ii libqtgui4 4:4.8.1-1 ii libstdc++6 4.7.0-7 ii libthreadweaver4 4:4.7.4-4 Versions of packages lokalize recommends: ii gettext 0.18.1.1-7 ii krosspython 4:4.7.4-1 ii python-dbus 0.84.0-3 ii python-kde4 4:4.7.4-2+b1 ii python-lxml 2.3.2-1 ii subversion 1.6.17dfsg-3 ii translate-toolkit 1.9.0-2 Versions of packages lokalize suggests: ii khelpcenter4 4:4.7.4-2 ii poxml 4:4.7.4-3+b1 - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJPpnkdAAoJELgqIXr9/gnyfsAQALBmscup1D63Hxpeiqt96ZkU 7Cob7X5cuCi3GDUNdymzdhu66Q13E9JEqyT5Orl81ZxWQ8sFZEeXck9n3qvQhNt7 AjykEbaL2rl8XaBOcT5v1/KYJtSdjufazB7wir7KTskgiN1jXcRIMkXLySlYh94m BH4EkIpnVS72pU3oS75ms8aDsMe0+XnZVuFp5Uwp3Wd3KxfuGorUVI9PsXK2c75h GvO987hHlUiLwgbjuqOhCmNd1lAJUV9AdNeglowU0dasZsMLrMkCypmNOT+3mq3u XTuM+MXFC6PqEgrAPQF2B1aAhqaK0AUdyxmIWKUcVlkmribxl+DCaH1Rf42PoSdd nTgTnfNxMzxGPw0exDdb9iKrY40aaODI/febFWlJStn8hRBylsBryf0zhJwhjkQx kbtLjPcx6CgZr/TNxgpVT/uDHXPLsjDgGHFBOMxe2fCwRCZu00z/mWFnHmgJV24N JeLVy60Ns6C0Q6R32OicEHR/5z7pgiE0VetpVe+fm8JCcAGG7f+s1D5LMfZP6TAs VwD0epe8ih0qS/CLv/rNKPeedbnUa1De+coodX6MVSpJw8LPlJ6MEKOhFMWmn6MP pGAIYcfbqS20rgUsfdiNkyB72b7TDjVD9SS/AH+jCXuszWiJRSm4wQjsSIWR+Ok0 Vz1pnsZFHKK7Ufqrqj46 =2W8+ -----END PGP SIGNATURE-----
# David Prévot <da...@tilapin.org>, 2012. msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: 2012-03-19 14:29-0400\n" "PO-Revision-Date: 2012-05-06 08:57-0400\n" "Last-Translator: David Prévot <da...@tilapin.org>\n" "Language-Team: French <debian-l10n-fre...@lists.debian.org>\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.2\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #, no-wrap msgid "" "Just_long_enough_line_to_make_obvious_that_reimplementing_tools_is_a_bad_idea\"n" msgstr ""
# David Prévot <da...@tilapin.org>, 2012. msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: 2012-03-19 14:29-0400\n" "PO-Revision-Date: 2012-05-06 09:06-0400\n" "Last-Translator: David Prévot <da...@tilapin.org>\n" "Language-Team: French <debian-l10n-fre...@lists.debian.org>\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.2\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #, no-wrap msgid "" "Just_long_enough_line_to_make_obvious_that_reimplementing_tools_is_a_bad_idea\" ""n" msgstr ""