[GTK] Add missing translation markup

Found some text needing marked for translation.
This commit is contained in:
Calum Lind 2019-06-25 13:05:27 +01:00
parent eeeb7fb69b
commit 40ebdf3f39
2 changed files with 3 additions and 3 deletions

View File

@ -390,9 +390,9 @@ class StoredValuesList(ValueList):
treeview.set_cursor(path, col, 0)
self.path_list_popup = Gtk.Menu()
menuitem_edit = Gtk.MenuItem.new_with_label('Edit path')
menuitem_edit = Gtk.MenuItem.new_with_label(_('Edit path'))
self.path_list_popup.append(menuitem_edit)
menuitem_remove = Gtk.MenuItem.new_with_label('Remove path')
menuitem_remove = Gtk.MenuItem.new_with_label(_('Remove path'))
self.path_list_popup.append(menuitem_remove)
def on_edit_clicked(widget, path):

View File

@ -937,7 +937,7 @@ class Preferences(component.Component):
not self.gtkui_config['standalone']
)
mode = 'Thinclient' if was_standalone else 'Standalone'
mode = _('Thinclient') if was_standalone else _('Standalone')
dialog = YesNoDialog(
_('Switching Deluge Client Mode...'),
_('Do you want to restart to use %s mode?' % mode),