In CLI recieve mode, tell the user where to look for uploaded files

This commit is contained in:
Micah Lee 2018-04-24 17:18:18 -07:00
parent 5e9465c807
commit aa8c07c434
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 4 additions and 1 deletions

View File

@ -162,6 +162,8 @@ def main(cwd=None):
print('') print('')
if receive: if receive:
print(strings._('receive_mode_downloads_dir').format(common.settings.get('downloads_dir')))
print('')
print(strings._('receive_mode_warning')) print(strings._('receive_mode_warning'))
print('') print('')

View File

@ -64,7 +64,7 @@
"gui_download_progress_complete": "%p%, Time Elapsed: {0:s}", "gui_download_progress_complete": "%p%, Time Elapsed: {0:s}",
"gui_download_progress_starting": "{0:s}, %p% (Computing ETA)", "gui_download_progress_starting": "{0:s}, %p% (Computing ETA)",
"gui_download_progress_eta": "{0:s}, ETA: {1:s}, %p%", "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_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": "You're in the process of sending files. Are you sure you want to quit OnionShare?",
"gui_quit_warning_quit": "Quit", "gui_quit_warning_quit": "Quit",
@ -161,6 +161,7 @@
"info_completed_downloads_tooltip": "{} download(s) completed", "info_completed_downloads_tooltip": "{} download(s) completed",
"error_cannot_create_downloads_dir": "Error creating downloads folder: {}", "error_cannot_create_downloads_dir": "Error creating downloads folder: {}",
"error_downloads_dir_not_writable": "The downloads folder isn't writable: {}", "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: 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: {}" "receive_mode_received_file": "Received file: {}"
} }