Your message dated Sat, 29 Sep 2012 14:47:34 +0000
with message-id <[email protected]>
and subject line Bug#553694: fixed in apt-listbugs 0.1.8
has caused the Debian Bug report #553694,
regarding apt-listbugs: remove html from translations
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
553694: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553694
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-listbugs
Version: 0.1.1
Severity: minor
Owner: [email protected]

there's HTML in translated strings, and it shouldn't be there.  I've
attached a patch which fixes this in the code, however to keep the old
translated strings intact manual work has to be done for each
translation. I did it for the first one, but don't have motivation to
do it for the other 10 today.

-- 
_________________________
Ryan Niebur
[email protected]
diff --git a/lib/apt-listbugs/logic.rb b/lib/apt-listbugs/logic.rb
index a903d85..350ca84 100644
--- a/lib/apt-listbugs/logic.rb
+++ b/lib/apt-listbugs/logic.rb
@@ -566,8 +566,8 @@ Pin-Priority: #{@config.pin_priority}
 	if sub.size > 0
 	  o.puts "<table border=2 width=100%>"
           # TRANSLATORS: %s is a bug status such as forwarded, done, pending, pending-fixed, etc. see the -S option in the man page.
-          o.puts sprintf(_(" <caption>Bug reports which are marked as %s in the bug tracking system</caption>"), stat)
-	  o.puts _(" <tr><th>package</th><th>severity</th><th>bug number</th><th>description</th></tr>")
+          o.puts sprintf(" <caption>" + _("Bug reports which are marked as %s in the bug tracking system") + "</caption>"), stat)
+          o.puts " <tr><th>" + _("package") + "</th><th>" + _("severity") + "</th><th>" + _("bug number") + "</th><th>" + _("description") + "</th></tr>"
 	  yield sub
 	  o.puts "</table><br>"
 	end
@@ -581,10 +581,10 @@ Pin-Priority: #{@config.pin_priority}
       displayed_pkgs = []
 
       tmp = HtmlTempfile.new("apt-listbugs")
-      tmp.puts "<html><head><title>"+_("critical bugs for your upgrade")+"</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset=#{Locale.codeset}\"></head><body>"
-      tmp.puts _("<h1 align=\"center\">Critical bugs for your upgrade</h1>")
-      tmp.puts _("<p align=\"right\">by apt-listbugs</p><hr>")
-      tmp.puts _("<h2>Bug reports</h2>")
+      tmp.puts "<html><head><title>"+_("Critical bugs for your upgrade")+"</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset=#{Locale.codeset}\"></head><body>"
+      tmp.puts "<h1 align=\"center\">" + _("Critical bugs for your upgrade") + "</h1>"
+      tmp.puts "<p align=\"right\">" _("by apt-listbugs") + "</p><hr>"
+      tmp.puts "<h2>" + _("Bug reports") + "</h2>"
 
       each_state_table(tmp, bugs, @config.stats) { |bugs|
 	bugs.each { |bug|
@@ -593,7 +593,7 @@ Pin-Priority: #{@config.pin_priority}
         }
       }
 
-      tmp.puts _("<h2>Package upgrade information in question</h2>")
+      tmp.puts "<h2>" + _("Package upgrade information in question") + "</h2>"
       tmp.puts "<ul>"
       displayed_pkgs.each { |pkg|
 	tmp.puts "<li>#{pkg}("
diff --git a/po/cs.po b/po/cs.po
index 1ee71ac..5d33105 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: apt-listbugs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-11-01 13:39-0800\n"
+"POT-Creation-Date: 2009-11-01 13:54-0800\n"
 "PO-Revision-Date: 2009-06-17 06:09+0200\n"
 "Last-Translator: Miroslav Kure <[email protected]>\n"
 "Language-Team: Czech <[email protected]>\n"
@@ -325,39 +325,41 @@ msgstr ""
 #. TRANSLATORS: %s is a bug status such as forwarded, done, pending, pending-fixed, etc. see the -S option in the man page.
 #: lib/apt-listbugs/logic.rb:569
 #, fuzzy, python-format
-msgid ""
-" <caption>Bug reports which are marked as %s in the bug tracking system</"
-"caption>"
-msgstr ""
-" <caption>Hlášení o chybách označená jako %s v systému sledování chyb</"
-"caption>"
+msgid "Bug reports which are marked as %s in the bug tracking system"
+msgstr "Hlášení o chybách označená jako %s v systému sledování chyb"
 
 #: lib/apt-listbugs/logic.rb:570
-msgid ""
-" <tr><th>package</th><th>severity</th><th>bug number</th><th>description</"
-"th></tr>"
-msgstr ""
-" <tr><th>balík</th><th>závažnost</th><th>č. chyby</th><th>popis</th></tr>"
+msgid "package"
+msgstr "balík"
 
-#: lib/apt-listbugs/logic.rb:584
-msgid "critical bugs for your upgrade"
-msgstr "kritické chyby v této aktualizaci"
+#: lib/apt-listbugs/logic.rb:570
+msgid "severity"
+msgstr "závažnost"
 
-#: lib/apt-listbugs/logic.rb:585
-msgid "<h1 align=\"center\">Critical bugs for your upgrade</h1>"
-msgstr "<h1 align=\"center\">Kritické chyby v této aktualizaci</h1>"
+#: lib/apt-listbugs/logic.rb:570
+msgid "bug number"
+msgstr "č. chyby"
+
+#: lib/apt-listbugs/logic.rb:570
+msgid "description"
+msgstr "popis"
+
+#: lib/apt-listbugs/logic.rb:584 lib/apt-listbugs/logic.rb:585
+msgid "Critical bugs for your upgrade"
+msgstr "Kritické chyby v této aktualizaci"
 
 #: lib/apt-listbugs/logic.rb:586
-msgid "<p align=\"right\">by apt-listbugs</p><hr>"
-msgstr "<p align=\"right\">přináší apt-listbugs</p><hr>"
+msgid "by apt-listbugs"
+msgstr "přináší apt-listbugs"
 
 #: lib/apt-listbugs/logic.rb:587
-msgid "<h2>Bug reports</h2>"
-msgstr "<h2>Hlášení o chybách</h2>"
+msgid "Bug reports"
+msgstr "Hlášení o chybách"
 
 #: lib/apt-listbugs/logic.rb:596
-msgid "<h2>Package upgrade information in question</h2>"
-msgstr "<h2>Informace o aktualizaci zmíněných balíků</h2>"
+#, fuzzy
+msgid "Package upgrade information in question"
+msgstr "Informace o aktualizaci zmíněných balíků"
 
 #: lib/apt-listbugs/logic.rb:617
 msgid "W: Failed to invoke www-browser."
@@ -444,6 +446,9 @@ msgstr ""
 msgid "Parsing Found/Fixed information..."
 msgstr "Zpracovávají se nalezené informace..."
 
+#~ msgid "critical bugs for your upgrade"
+#~ msgstr "kritické chyby v této aktualizaci"
+
 #~ msgid "in the bug tracking system</caption>"
 #~ msgstr "v systému sledování chyb</caption>"
 

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: apt-listbugs
Source-Version: 0.1.8

We believe that the bug you reported is fixed in the latest version of
apt-listbugs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Poli (wintermute) <[email protected]> (supplier of updated 
apt-listbugs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 26 Sep 2012 22:39:39 +0200
Source: apt-listbugs
Binary: apt-listbugs
Architecture: source all
Version: 0.1.8
Distribution: unstable
Urgency: low
Maintainer: Francesco Poli (wintermute) <[email protected]>
Changed-By: Francesco Poli (wintermute) <[email protected]>
Description: 
 apt-listbugs - tool which lists critical bugs before each apt installation
Closes: 553694 681037 684207 684780 685294 686382 686419 686745 686915
Changes: 
 apt-listbugs (0.1.8) unstable; urgency=low
 .
   * improved internationalization
   * fixed ""non-interactive failure mode" message is unclear": clarified
     which README.Debian should be consulted (Closes: #681037)
   * improved English texts, thanks to Justin B Rye!
   * fixed "remove html from translations": thanks to Ryan for starting this
     effort and for storing the initial patch on the BTS! (Closes: #553694)
   * dropped another dependency on a transitional package (libgettext-ruby1.8
     replaced by ruby-gettext)
   * updated Danish translation, thanks to Joe Hansen! (Closes: #684207)
   * updated Portuguese translation, thanks to Miguel Figueiredo!
     (Closes: #684780)
   * added Spanish translation, thanks to Omar Campagne! (Closes: #685294)
   * updated Italian translation, thanks to Luca Monducci! (Closes: #686382)
   * updated Basque translation, thanks to Iñaki Larrañaga Murgoitio!
     (Closes: #686419)
   * updated French translation, thanks to Jean-Baka Domelevo Entfellner!
     (Closes: #686745)
   * updated German translation, thanks to Thomas Müller! (Closes: #686915)
   * clarified the man page, thanks to the significant contribution by
     Justin B Rye
Checksums-Sha1: 
 e83ff2e6a445a61ccae8672cda6a78a0551a7e9a 1781 apt-listbugs_0.1.8.dsc
 1367a1d06b9419dbb627046613455968ecc9ecb8 119149 apt-listbugs_0.1.8.tar.gz
 ec73f864c0757fb62ddeb8e7046d346d86ddef7c 74898 apt-listbugs_0.1.8_all.deb
Checksums-Sha256: 
 6aa7544491aaca8b09241369ea04d53047fe0fede890efc4ac3f33e47316d823 1781 
apt-listbugs_0.1.8.dsc
 19fb21171d795d2d149b1c60cdd94f02fe4127614e3787b8013d592f549c11cb 119149 
apt-listbugs_0.1.8.tar.gz
 ab7e26e57b0e22e2f358eb681b3bfdeb08fc8dafa204c63c2918613a75359d53 74898 
apt-listbugs_0.1.8_all.deb
Files: 
 6976ac0e6dfb04427abc826bd3367ea7 1781 admin optional apt-listbugs_0.1.8.dsc
 c0db0f37096dfab1f0bcec07b363a63c 119149 admin optional 
apt-listbugs_0.1.8.tar.gz
 92ef6f18e25052c120302c38ad3f1d16 74898 admin optional 
apt-listbugs_0.1.8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQZv/0AAoJEE+fbVUO1hIqln8QAOd2C7pmeHts3uld4fu57x+z
UVO/9CHDjejmb4CRCUNr+WBvKFiqtqq5RtmgVzs51ykEUJ1VMlP/Ihc59ul5RYny
+GNDFoFogHNkRWuP8C7SfTqmWUvcdsJjlajRkh98rrO0ybvXKkyf3zSCP7x0AXQO
1Snw3BpnIJvAncbKl4zxh76dEk687pni68FtgF8GKEayugOXuOr3ge/1xjHHcoNI
dgrfCHxMoftDrW13P41Sn4RFWdKdrZw32dGCcwYT2tcC9rTPnal7ytmZevGI0rTC
Me5+MuUH1EoAWm9OmzAWzoMM2G/DYVAr/sE0N4aiPEAg7V1tf6Xcks9nXm5vXWID
eQt/FNXiePtzj+Wu7RtcX4m/1IsYTy7l/BvF0yHDJhTYcrmibMAhqbdMMeNiYR9c
w1t6i02bL2B1KK6pQO8B+Vi12QFkgpRgyMWPlXd3yw40EQw+DHtNuT0A4x7JHFMg
CNJCDLttt8TUKj+lF0z1YcGa/6I2QbOixbVDs8UD2iqsuktgxzBlWsMydlJOT6MH
hUQDdxpqrnq2rSR4oxXpG01qyZSZkknL44qZe26Jv436wWOJZnpV+QioXOrcs4LE
QzaBOrianZ5Ve5b3yu2gBI8JDXsMk3kz5eeDpHogNIZvibnHIEqZCwamawDJKMmU
AWv17hh4xWuRuXkwrPkR
=C1hh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to