Bug#606392: update-manager-gnome: Localization for UI/Glade file not working, localization not complete
Leszek Lesner
leszek.lesner at web.de
Wed Dec 8 21:12:51 UTC 2010
Package: update-manager-gnome
Version: 0.200.4-1
Severity: normal
Tags: patch
Elements of the ui/glade file are not recognized for translation.
I created a fix for the init gtk frontend which will load the translation for
the ui file.
I also edited the ui file to use the 'repertoire' settings button (gtk-
preference button)
Finally I updated the pot file to include the ui file elements.
I tested it with a de.po file I created (from the pot) and it works flawlessly.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (450, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.35.9 (SMP w/2 CPU cores; PREEMPT)
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 update-manager-gnome depends on:
ii gconf2 2.28.1-6 GNOME configuration database syste
ii gksu 2.0.2-5 graphical frontend to su
ii python 2.6.6-3+squeeze1 interactive high-level object-orie
ii python-dbus 0.83.1-1 simple interprocess messaging syst
ii python-gconf 2.28.1-1 Python bindings for the GConf conf
ii python-gobject 2.21.4+is.2.21.3-1 Python bindings for the GObject li
ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
ii python-support 1.0.10 automated rebuilding support for P
ii python-vte 1:0.24.3-2 Python bindings for the VTE widget
ii update-manager-core 0.200.4-1 APT update manager core functional
update-manager-gnome recommends no packages.
Versions of packages update-manager-gnome suggests:
pn software-properties-gtk <none> (no description available)
ii update-notifier 0.99.3debian6 Daemon which notifies about packag
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frontend_init_patch.txt
Type: text/x-java
Size: 1006 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20101208/890999a6/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update-manager_pot_patch.txt
Type: text/x-po
Size: 14106 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20101208/890999a6/attachment.bin>
-------------- next part --------------
--- UpdateManager.ui 2009-10-11 13:42:58.000000000 +0200
+++ /home/leszek/Downloads/neptune-gnome/debs/update-manager-0.200.4neptune1/data/ui/UpdateManager.ui 2010-12-08 12:18:12.147991740 +0100
@@ -407,12 +407,13 @@
<property name="spacing">12</property>
<child>
<object class="GtkButton" id="button_settings">
- <property name="label" translatable="yes">Settings…</property>
+ <property name="label">gtk-preferences</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
+ <property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -447,8 +448,8 @@
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_stock">True</property>
- <accelerator key="W" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="Q" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
+ <accelerator key="W" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
</object>
<packing>
<property name="expand">False</property>
More information about the pkg-gnome-maintainers
mailing list