Your message dated Sat, 22 Aug 2009 15:33:34 +0200
with message-id <[email protected]>
and subject line Re: Bug#542940: python-apt: Translated package descriptions
are broken
has caused the Debian Bug report #542940,
regarding python-apt: Translated package descriptions are broken
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.)
--
542940: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542940
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-apt
Version: 0.7.12.1
Severity: important
Translated descriptions of packages are not shown.
unstable:~$ apt-cache show synaptic
Package: synaptic
[...]
Description-de: Grafischer Paket-Verwalter
Synaptic ist ein grafisches Paketverwaltungsprogramm, das auf GTK+ und
APT basiert. Synaptic ermöglicht es Ihnen auf eine benutzerfreundliche
Art, Pakete zu installieren, zu aktualisieren und zu entfernen.
.
Neben diesen grundlegenden Funktionen bietet es folgende Eigenschaften:
* Suchen und Filtern der Liste verfügbarer Pakete
* Durchführung »intelligenter« System-Aufrüstungen
* Bereinigung defekter Paketabhängigkeiten
* Editierung der Liste benutzter Depots (sources.list)
* Abruf des letzten Changelogs eines Paketes
* Paket-Konfiguration durch das debconf-System
* Durchblättern aller zu einem Paket verfügbaren Dokumentation (dwww ist
erforderlich)
Tag: admin::package-management, implemented-in::c++, interface::x11,
role::program, scope::application, suite::debian, uitoolkit::gtk,
works-with::software:package, x11::application
unstable:~$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import apt
>>> apt.Cache()["synaptic"].candidate.description
u'Synaptic is a graphical package management tool based on GTK+ and APT.
Synaptic enables you to install, upgrade and remove software packages in a user
friendly way.\n\nBesides these basic functions the following features are
provided:\n* Search and filter the list of available packages\n* Perform smart
system upgrades\n* Fix broken package dependencies\n* Edit the list of used
repositories (sources.list)\n* Download the latest changelog of a package\n*
Configure packages through the debconf system\n* Browse all available
documentation related to a package (dwww is required)\n'
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-apt depends on:
ii apt [libapt-pkg-libc6.9-6-4.8 0.7.22.2 Advanced front-end for dpkg
ii apt-utils [libapt-inst-libc6. 0.7.22.2 APT utility programs
ii libc6 2.9-23 GNU C Library: Shared libraries
ii libgcc1 1:4.4.1-1 GCC support library
ii libstdc++6 4.4.1-1 The GNU Standard C++ Library v3
ii lsb-release 3.2-23 Linux Standard Base version report
ii python 2.5.4-2 An interactive high-level object-o
ii python-central 0.6.11 register and build utility for Pyt
Versions of packages python-apt recommends:
ii iso-codes 3.10.2-1 ISO language, territory, currency,
ii libjs-jquery 1.3.3-1 JavaScript library for dynamic web
Versions of packages python-apt suggests:
pn python-apt-dbg <none> (no description available)
ii python-gtk2 2.14.1-3 Python bindings for the GTK+ widge
ii python-vte 1:0.20.5-1 Python bindings for the VTE widget
-- no debconf information
--- End Message ---
--- Begin Message ---
On Thu, Aug 20, 2009 at 12:15:14AM +0200, Sebastian Heinlein wrote:
> Package: python-apt
> Version: 0.7.12.1
> Severity: important
>
> Translated descriptions of packages are not shown.
>
[...]
>
> unstable:~$ python
> Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import apt
> >>> apt.Cache()["synaptic"].candidate.description
> u'Synaptic is a graphical package management tool based on GTK+ and APT.
> Synaptic enables you to install, upgrade and remove software packages in a
> user friendly way.\n\nBesides these basic functions the following features
> are provided:\n* Search and filter the list of available packages\n* Perform
> smart system upgrades\n* Fix broken package dependencies\n* Edit the list of
> used repositories (sources.list)\n* Download the latest changelog of a
> package\n* Configure packages through the debconf system\n* Browse all
> available documentation related to a package (dwww is required)\n'
You forgot to call locale.setlocale(locale.LC_ALL, ''). This is a
requirement to get translations.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
pgpOfN0IaC9jB.pgp
Description: PGP signature
--- End Message ---