summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-09-18 17:17:25 -0700
committerMicah Lee <micah@micahflee.com>2018-09-18 17:17:25 -0700
commitcc265491fd92763a36cc332a41a2f6e011954b96 (patch)
tree51ff3f9ea2fa110fed0c82e541319e682199b2e9 /share
parent5448c4f3453260940d720ebdb8aa061fbbc79aa6 (diff)
downloadonionshare-cc265491fd92763a36cc332a41a2f6e011954b96.tar.gz
onionshare-cc265491fd92763a36cc332a41a2f6e011954b96.zip
Properly handle exceptions in CLI, and pass the actual exception message in TorErrorProtocolError exceptions
Diffstat (limited to 'share')
-rw-r--r--share/locale/en.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/locale/en.json b/share/locale/en.json
index 4e7143d3..7d3daba8 100644
--- a/share/locale/en.json
+++ b/share/locale/en.json
@@ -122,7 +122,8 @@
"settings_error_bundled_tor_timeout": "Connecting to Tor is taking too long. Maybe your computer is offline, or your system clock isn't accurate.",
"settings_error_bundled_tor_broken": "OnionShare could not connect to Tor in the background:\n{}",
"settings_test_success": "Congratulations, OnionShare can connect to the Tor controller.\n\nTor version: {}\nSupports ephemeral onion services: {}\nSupports stealth onion services: {}",
- "error_tor_protocol_error": "Could not communicate with the Tor controller.\nIf you're using Whonix, check out https://www.whonix.org/wiki/onionshare to make OnionShare work.",
+ "error_tor_protocol_error": "There was an error with Tor: {}",
+ "error_tor_protocol_error_unknown": "There was an unknown error with Tor",
"error_invalid_private_key": "This private key type is unsupported",
"connecting_to_tor": "Connecting to the Tor network",
"update_available": "A new version of OnionShare is available. <a href='{}'>Click here</a> to download it.<br><br>Installed version: {}<br>Latest version: {}",