From aa8c07c43439819b3f4fcc4dff169e695ad84695 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 24 Apr 2018 17:18:18 -0700 Subject: [PATCH] In CLI recieve mode, tell the user where to look for uploaded files --- onionshare/__init__.py | 2 ++ share/locale/en.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/onionshare/__init__.py b/onionshare/__init__.py index 0d5156d8..893d83a3 100644 --- a/onionshare/__init__.py +++ b/onionshare/__init__.py @@ -162,6 +162,8 @@ def main(cwd=None): print('') if receive: + print(strings._('receive_mode_downloads_dir').format(common.settings.get('downloads_dir'))) + print('') print(strings._('receive_mode_warning')) print('') diff --git a/share/locale/en.json b/share/locale/en.json index 101b8a7c..525dab04 100644 --- a/share/locale/en.json +++ b/share/locale/en.json @@ -64,7 +64,7 @@ "gui_download_progress_complete": "%p%, Time Elapsed: {0:s}", "gui_download_progress_starting": "{0:s}, %p% (Computing ETA)", "gui_download_progress_eta": "{0:s}, ETA: {1:s}, %p%", - "version_string": "Onionshare {0:s} | https://onionshare.org/", + "version_string": "OnionShare {0:s} | https://onionshare.org/", "gui_quit_title": "Transfer in Progress", "gui_quit_warning": "You're in the process of sending files. Are you sure you want to quit OnionShare?", "gui_quit_warning_quit": "Quit", @@ -161,6 +161,7 @@ "info_completed_downloads_tooltip": "{} download(s) completed", "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_received_file": "Received file: {}" }