Your message dated Sat, 17 Oct 2009 11:34:49 +0100
with message-id <[email protected]>
and subject line Package pdbv has been removed from Debian
has caused the Debian Bug report #534228,
regarding pdbv: hard-coded month-names, including "Mai"
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.)


-- 
534228: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534228
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pdbv
Version: 2.0.11-0.4
Severity: minor
Tags: patch l10n

The names of the months (as used in pdbv's sort-by-date view) are
hard-coded in pdbv.pot, and the fifth one is misspelled there:

 #: ../pdbv:1178
 msgid "Mai"
 msgstr ""

Looking in .po files I see that quite a few translations fail to
provide msgstrs for these msgids; and then there are the "fuzzy"
strings for "March", which include the renderings "Arch:" and
"Arquitectura"!  There's even a comment in it.po:

 # FIXME UPSTREAM: May

I could send you a patched pdbv.pot, but it shouldn't be hard-coded
there in the first place when LC_TIME can do all the work for us.
See attached patch; it's a bit of a kludge (I ought to work out
where that function gets called and fix things there), and it leaves
some spring cleaning to be done in the po directory, but It Works
For Me, and should also improve things for users of other locales.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.custom
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdbv depends on:
ii  coreutils [fileutils]         6.10-6     The GNU core utilities
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  liblocale-gettext-perl        1.05-4     Using libc functions for internati
ii  libtie-ixhash-perl            1.21-2     ordered associative arrays for Per
ii  perl-base                     5.10.0-19  minimal Perl system
ii  perl-modules                  5.10.0-19  Core Perl modules

Versions of packages pdbv recommends:
ii  popularity-contest            1.46       Vote for your favourite packages a
ii  procps                        1:3.2.7-11 /proc file system utilities

pdbv suggests no packages.

-- debconf information:
  pdbv/cron: hourly
* pdbv/clean_output_dir: true
  pdbv/force: false
  pdbv/listing: all
* pdbv/cron_lang:
  pdbv/light: false
* pdbv/output_dir: /var/www/pdbv

-- 
JBR
Ankh kak! (Ancient Egyptian blessing)
diff -ru pdbv-2.0.11.pristine/modules/xhtml.pl pdbv-2.0.11/modules/xhtml.pl
--- pdbv-2.0.11.pristine/modules/xhtml.pl	2005-02-23 10:42:20.000000000 +0000
+++ pdbv-2.0.11/modules/xhtml.pl	2009-06-22 16:27:49.000000000 +0100
@@ -436,32 +436,8 @@
 
 sub PdbvXhtmlMakeDate {
     my ($year, $month) = split(" ", $_[0]);
-    if ($month eq '01') {
-	$month = gettext("January");
-    } elsif ($month eq '02') {
-	$month = gettext("February");
-    } elsif ($month eq '03') {
-	$month = gettext("March");
-    } elsif ($month eq '04') {
-	$month = gettext("April");
-    } elsif ($month eq '05') {
-	$month = gettext("Mai");
-    } elsif ($month eq '06') {
-	$month = gettext("June");
-    } elsif ($month eq '07') {
-	$month = gettext("July");
-    } elsif ($month eq '08') {
-	$month = gettext("August");
-    } elsif ($month eq '09') {
-	$month = gettext("September");
-    } elsif ($month eq '10') {
-	$month = gettext("October");
-    } elsif ($month eq '11') {
-	$month = gettext("November");
-    } elsif ($month eq '12') {
-	$month = gettext("December");
-    } 
-    return $year.", ".$month;
+    $month =~ s/^0//; # not octal!
+    return strftime "$year, %B", 0, 0, 0, 0, $month, 0;
 }
 
 sub PdbvXhtmlMakeSize {

--- End Message ---
--- Begin Message ---
Version: 2.0.11-0.4+rm

You filled the bug http://bugs.debian.org/534228 in Debian BTS
against the package pdbv. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/543734. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply via email to