diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2019-06-25 13:05:27 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2019-10-31 09:40:59 +0000 |
commit | 40ebdf3f39d9cbc71d8d8b53b8183bbcf1f273e0 (patch) | |
tree | 52614c9af07fe7821a992c3788cadfc8790f9c4f | |
parent | eeeb7fb69b73cca40a27662997f2d21cec6ed33f (diff) | |
download | deluge-40ebdf3f39d9cbc71d8d8b53b8183bbcf1f273e0.tar.gz deluge-40ebdf3f39d9cbc71d8d8b53b8183bbcf1f273e0.tar.bz2 deluge-40ebdf3f39d9cbc71d8d8b53b8183bbcf1f273e0.zip |
[GTK] Add missing translation markup
Found some text needing marked for translation.
-rwxr-xr-x | deluge/ui/gtk3/path_combo_chooser.py | 4 | ||||
-rw-r--r-- | deluge/ui/gtk3/preferences.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/deluge/ui/gtk3/path_combo_chooser.py b/deluge/ui/gtk3/path_combo_chooser.py index c26289d80..c4458a9ea 100755 --- a/deluge/ui/gtk3/path_combo_chooser.py +++ b/deluge/ui/gtk3/path_combo_chooser.py @@ -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): diff --git a/deluge/ui/gtk3/preferences.py b/deluge/ui/gtk3/preferences.py index b19612891..b4d3f521c 100644 --- a/deluge/ui/gtk3/preferences.py +++ b/deluge/ui/gtk3/preferences.py @@ -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), |