wrong string and translation issue

svn: r11888
This commit is contained in:
Jérôme Rapinat 2009-02-06 20:10:07 +00:00
parent ad361362b5
commit 28f4651f2b
2 changed files with 4 additions and 4 deletions

View File

@ -1360,7 +1360,7 @@ class GeoView(HtmlView):
latitude, longitude = conv_lat_lon(latitude, longitude, "D.D8") latitude, longitude = conv_lat_lon(latitude, longitude, "D.D8")
descr = place.get_title() descr = place.get_title()
if comment: if comment:
descr1= _("%(comment) : death place.") % { descr1= _("%(comment)s : death place.") % {
'comment': comment} 'comment': comment}
else: else:
descr1=_("death place.") descr1=_("death place.")

View File

@ -222,7 +222,7 @@
<child> <child>
<widget class="GtkLabel" id="label445"> <widget class="GtkLabel" id="label445">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt; - &lt;/b&gt; </property> <property name="label" translatable="no">&lt;b&gt; - &lt;/b&gt; </property>
<property name="use_underline">False</property> <property name="use_underline">False</property>
<property name="use_markup">True</property> <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
@ -415,7 +415,7 @@ Unknown</property>
<child> <child>
<widget class="GtkLabel" id="label446"> <widget class="GtkLabel" id="label446">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes"> :</property> <property name="label" translatable="no"> :</property>
<property name="use_underline">False</property> <property name="use_underline">False</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
@ -500,7 +500,7 @@ Unknown</property>
<child> <child>
<widget class="GtkLabel" id="label447"> <widget class="GtkLabel" id="label447">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes"> :</property> <property name="label" translatable="no"> :</property>
<property name="use_underline">False</property> <property name="use_underline">False</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="justify">GTK_JUSTIFY_LEFT</property>