Package: conduit
Version: 0.3.17-1.1
Severity: minor
Tags: upstream l10n
Hi.
Some strings in the UI seem not to be translatable.
For instance, the "Regresh Group" (yes, there's a typos inside, but anyway)
isn't proposed for translation in the .pot.
I think the way the strings are marked in the conduit.ui XML file is wrong :
some more should be marked translatable=yes.
Then, maybe the Makefile in the po/ dir should be adapted so as to take them
into account.
I believe the following patch may help somehow.
Also, the .pot generation may need some adjustment, like what is indicated here
: http://www.majorsilence.com/pygtk_internationalization under "10.3
gtk.Builder Translation"
I made a hack in order to generate a .h file from the conduit.ui :
../data/conduit.ui.h: ../data/conduit.ui
cd ../data && intltool-extract --type=gettext/glade conduit.ui
It gets then used using :
$(GETTEXT_PACKAGE).pot: $(POTFILES)
$(XGETTEXT) --language=Python --keyword=_ --keyword=N_
--output=$(GETTEXT_PACKAGE).pot $(POTFILES)
instead of :
$(GETTEXT_PACKAGE).pot: $(POTFILES)
$(GENPOT)
That's a hack for sure, but then, the strings become available to the .po
translators.
Hope this helps.
Best regards,
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (700, 'stable'), (650, 'testing'), (500, 'stable-updates')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages conduit depends on:
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-cairo 1.8.8-1+b1 Python bindings for the Cairo vect
ii python-dateutil 1.4.1-3 powerful extensions to the standar
ii python-dbus 0.83.1-1 simple interprocess messaging syst
ii python-feedparser 4.1-14 Universal Feed Parser for Python
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-gst0.10 0.10.19-1 generic media-playing framework (P
ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
ii python-pygoocanvas 0.14.1-1+b1 GooCanvas Python bindings
ii python-support 1.0.10 automated rebuilding support for P
ii python-vobject 0.8.1c-3 parse iCalendar and VCards in Pyth
ii python-webkit 1.1.7-1+b1 WebKit/Gtk Python bindings
ii rarian-compat [scroll 0.8.1-5 Documentation meta-data library (c
Versions of packages conduit recommends:
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-evolution 2.30.0-4 Python bindings for the evolution
ii python-flickrapi 1.2-3 Flickr API wrapper for Python
ii python-gdata 2.0.8-1.1 Google Data Python client library
ii python-gpod 0.7.93-0.3 Python bindings for libgpod
ii python-simplejson 2.1.1-1 simple, fast, extensible JSON enco
conduit suggests no packages.
-- no debconf information
diff -Naur conduit-0.3.17/data/conduit.ui conduit-0.3.17.new//data/conduit.ui
--- conduit-0.3.17/data/conduit.ui 2010-01-28 23:31:07.000000000 +0100
+++ conduit-0.3.17.new//data/conduit.ui 2011-09-04 21:37:51.000000000 +0200
@@ -36,7 +36,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="synchronize">
- <property name="label">Synchronize All</property>
+ <property name="label" translatable="yes">Synchronize All</property>
<property name="visible">True</property>
<property name="image">image7</property>
<property name="use_stock">False</property>
@@ -45,7 +45,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="cancel">
- <property name="label">Cancel Synchronization</property>
+ <property name="label" translatable="yes">Cancel Synchronization</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
@@ -81,7 +81,7 @@
<object class="GtkMenu" id="edit_menu">
<child>
<object class="GtkImageMenuItem" id="clear_canvas">
- <property name="label">Clear Canvas</property>
+ <property name="label" translatable="yes">Clear Canvas</property>
<property name="visible">True</property>
<property name="image">image9</property>
<property name="use_stock">False</property>
@@ -426,7 +426,7 @@
<object class="GtkMenu" id="ConduitMenu">
<child>
<object class="GtkImageMenuItem" id="refresh_conduit">
- <property name="label">Regresh Group</property>
+ <property name="label" translatable="yes">Regresh Group</property>
<property name="visible">True</property>
<property name="image">image1</property>
<property name="use_stock">False</property>
@@ -434,7 +434,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="synchronize_conduit">
- <property name="label">Synchronize Group</property>
+ <property name="label" translatable="yes">Synchronize Group</property>
<property name="visible">True</property>
<property name="image">image2</property>
<property name="use_stock">False</property>
@@ -447,7 +447,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="delete_conduit">
- <property name="label">Delete Group</property>
+ <property name="label" translatable="yes">Delete Group</property>
<property name="visible">True</property>
<property name="image">image3</property>
<property name="use_stock">False</property>
@@ -575,7 +575,7 @@
<object class="GtkMenu" id="DataProviderMenu">
<child>
<object class="GtkImageMenuItem" id="refresh_dataprovider">
- <property name="label">Refresh Item</property>
+ <property name="label" translatable="yes">Refresh Item</property>
<property name="visible">True</property>
<property name="image">image4</property>
<property name="use_stock">False</property>
@@ -583,7 +583,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="configure_dataprovider">
- <property name="label">Configure Item</property>
+ <property name="label" translatable="yes">Configure Item</property>
<property name="visible">True</property>
<property name="image">image5</property>
<property name="use_stock">False</property>
@@ -596,7 +596,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="delete_dataprovider">
- <property name="label">Delete Item</property>
+ <property name="label" translatable="yes">Delete Item</property>
<property name="visible">True</property>
<property name="image">image6</property>
<property name="use_stock">False</property>