diff options
author | Micah Lee <micah@micahflee.com> | 2019-09-08 12:02:17 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-09-08 12:02:17 -0700 |
commit | ece908e170b2bab355085769bf50f03cffb1b5b4 (patch) | |
tree | 7800af76ebb53ac9579665f6ee804d742453bec7 | |
parent | de67484f09058af70e443e0bc1ebc1c8af2a8ab2 (diff) | |
download | onionshare-ece908e170b2bab355085769bf50f03cffb1b5b4.tar.gz onionshare-ece908e170b2bab355085769bf50f03cffb1b5b4.zip |
Add individual downloads label to settings dialog
-rw-r--r-- | onionshare_gui/settings_dialog.py | 2 | ||||
-rw-r--r-- | share/locale/en.json | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/onionshare_gui/settings_dialog.py b/onionshare_gui/settings_dialog.py index 6ffd4523..5dbc31d2 100644 --- a/onionshare_gui/settings_dialog.py +++ b/onionshare_gui/settings_dialog.py @@ -204,10 +204,12 @@ class SettingsDialog(QtWidgets.QDialog): self.close_after_first_download_checkbox = QtWidgets.QCheckBox() self.close_after_first_download_checkbox.setCheckState(QtCore.Qt.Checked) self.close_after_first_download_checkbox.setText(strings._("gui_settings_close_after_first_download_option")) + individual_downloads_label = QtWidgets.QLabel(strings._("gui_settings_individual_downloads_label")) # Sharing options layout sharing_group_layout = QtWidgets.QVBoxLayout() sharing_group_layout.addWidget(self.close_after_first_download_checkbox) + sharing_group_layout.addWidget(individual_downloads_label) sharing_group = QtWidgets.QGroupBox(strings._("gui_settings_sharing_label")) sharing_group.setLayout(sharing_group_layout) diff --git a/share/locale/en.json b/share/locale/en.json index 5fbf88f9..c84c5538 100644 --- a/share/locale/en.json +++ b/share/locale/en.json @@ -52,6 +52,7 @@ "gui_settings_onion_label": "Onion settings", "gui_settings_sharing_label": "Sharing settings", "gui_settings_close_after_first_download_option": "Stop sharing after files have been sent", + "gui_settings_individual_downloads_label": "Uncheck to allow downloading individual files", "gui_settings_connection_type_label": "How should OnionShare connect to Tor?", "gui_settings_connection_type_bundled_option": "Use the Tor version built into OnionShare", "gui_settings_connection_type_automatic_option": "Attempt auto-configuration with Tor Browser", |