Fix translations texts in glade and python files
This commit is contained in:
parent
30d91f17dc
commit
e54f6c84d6
|
@ -29,7 +29,7 @@
|
|||
<widget class="GtkLabel" id="error_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="xalign">0.46000000834465027</property>
|
||||
<property name="label" translatable="yes">Error</property>
|
||||
<property name="label" translatable="no">gtk-dialog-error</property>
|
||||
<property name="wrap">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
|
@ -833,7 +833,7 @@
|
|||
<property name="homogeneous">True</property>
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="auto_managed">
|
||||
<property name="label" translatable="yes">Yes</property>
|
||||
<property name="label" translatable="no">gtk-yes</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
@ -846,7 +846,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="isnt_auto_managed">
|
||||
<property name="label" translatable="yes">No</property>
|
||||
<property name="label" translatable="no">gtk-no</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
@ -901,7 +901,7 @@
|
|||
<property name="homogeneous">True</property>
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="add_paused">
|
||||
<property name="label" translatable="yes">Yes</property>
|
||||
<property name="label" translatable="no">gtk-yes</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
@ -914,7 +914,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="isnt_add_paused">
|
||||
<property name="label" translatable="yes">No</property>
|
||||
<property name="label" translatable="no">gtk-no</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
|
|
@ -549,10 +549,7 @@
|
|||
<widget class="GtkTextView" id="auto_add_trackers">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="text" translatable="yes">tracker1.org
|
||||
tracker2.com
|
||||
this doesn't do anything yet..
|
||||
</property>
|
||||
<property name="text" translatable="no">tracker1.org</property>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
|
|
|
@ -370,7 +370,7 @@ class CreateTorrentDialog:
|
|||
def _on_create_torrent_progress(self, value, num_pieces):
|
||||
percent = float(value)/float(num_pieces)
|
||||
pbar = self.glade.get_widget("progressbar")
|
||||
pbar.set_text(_("%.2f%%") % (percent*100))
|
||||
pbar.set_text("%.2f%%" % (percent*100))
|
||||
if percent >= 0 and percent <= 1.0:
|
||||
pbar.set_fraction(percent)
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<widget class="GtkLabel" id="label_header">
|
||||
<property name="visible">True</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">label</property>
|
||||
<property name="label" translatable="no">label</property>
|
||||
<property name="use_markup">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
|
|
|
@ -601,7 +601,7 @@
|
|||
<widget class="GtkLabel" id="active_port_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">0000</property>
|
||||
<property name="label" translatable="no">0000</property>
|
||||
<property name="width_chars">5</property>
|
||||
</widget>
|
||||
<packing>
|
||||
|
@ -949,7 +949,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="width_chars">4</property>
|
||||
<property name="text" translatable="yes">0x00</property>
|
||||
<property name="text" translatable="no">0x00</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
|
@ -78,7 +78,7 @@ class MenuBar(component.Component):
|
|||
item.set_name(menuitem)
|
||||
item.connect("activate", self.on_menuitem_set_unlimited)
|
||||
submenu.append(item)
|
||||
item = gtk.MenuItem(_("Other.."))
|
||||
item = gtk.MenuItem(_("Other..."))
|
||||
item.set_name(menuitem)
|
||||
item.connect("activate", self.on_menuitem_set_other)
|
||||
submenu.append(item)
|
||||
|
|
|
@ -198,7 +198,7 @@ class SystemTray(component.Component):
|
|||
except Exception, e:
|
||||
log.debug("Unable to hide system tray menu widgets: %s", e)
|
||||
|
||||
self.tray.set_tooltip(_("Deluge\nNot Connected.."))
|
||||
self.tray.set_tooltip(_("Deluge") + "\n" + _("Not Connected..."))
|
||||
|
||||
def shutdown(self):
|
||||
if self.config["enable_system_tray"]:
|
||||
|
@ -467,13 +467,13 @@ class SystemTray(component.Component):
|
|||
vbox = gtk.VBox(spacing=5)
|
||||
hbox.pack_start(vbox, False)
|
||||
|
||||
label = gtk.Label(_("<b><big>Deluge is password protected!</big></b>"))
|
||||
label = gtk.Label("<b><big>%s</big></b>" % _("Deluge is password protected!"))
|
||||
label.set_use_markup(True)
|
||||
label.set_alignment(0.0, 0.5)
|
||||
label.set_line_wrap(True)
|
||||
vbox.pack_start(label, False)
|
||||
|
||||
tlabel = gtk.Label(_("<i>Enter your password to continue</i>"))
|
||||
tlabel = gtk.Label("<i>%s</i>" % _("Enter your password to continue"))
|
||||
tlabel.set_use_markup(True)
|
||||
tlabel.set_alignment(0.0, 0.5)
|
||||
tlabel.set_line_wrap(True)
|
||||
|
|
Loading…
Reference in New Issue