diff --git a/onionshare_gui/receive_mode/__init__.py b/onionshare_gui/receive_mode/__init__.py index aad8978e..4c74a60a 100644 --- a/onionshare_gui/receive_mode/__init__.py +++ b/onionshare_gui/receive_mode/__init__.py @@ -38,6 +38,11 @@ class ReceiveMode(QtWidgets.QWidget): self.server_share_status_label = server_share_status_label self.system_tray = system_tray + # Receive mode info + self.receive_info = QtWidgets.QLabel(strings._('gui_receive_mode_warning', True)) + self.receive_info.setMinimumHeight(80) + self.receive_info.setWordWrap(True) + # Server status self.server_status = ServerStatus(self.common, self.qtapp, self.app, self.web, False) @@ -49,6 +54,7 @@ class ReceiveMode(QtWidgets.QWidget): # Layout layout = QtWidgets.QVBoxLayout() + layout.addWidget(self.receive_info) layout.addWidget(self.primary_action) self.setLayout(layout) diff --git a/share/locale/en.json b/share/locale/en.json index b59ec25f..4b1ebb09 100644 --- a/share/locale/en.json +++ b/share/locale/en.json @@ -168,7 +168,8 @@ "error_cannot_create_downloads_dir": "Error creating downloads folder: {}", "error_downloads_dir_not_writable": "The downloads folder isn't writable: {}", "receive_mode_downloads_dir": "Files people send you will appear in this folder: {}", - "receive_mode_warning": "Warning: Some files can hack your computer if you open them! Only open files from people you trust, or if you know what you're doing.", + "receive_mode_warning": "Warning: Receive mode lets someone else upload files to your computer. Some files can hack your computer if you open them! Only open files from people you trust, or if you know what you're doing.", + "gui_receive_mode_warning": "Some files can hack your computer if you open them!
Only open files from people you trust, or if you know what you're doing.", "receive_mode_received_file": "Received file: {}", "gui_mode_share_button": "Share Files", "gui_mode_receive_button": "Receive Files",