aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--check_lacked_trans.py2
-rw-r--r--onionshare/socks.py2
-rw-r--r--onionshare/web.py4
-rw-r--r--tails/README.md2
-rw-r--r--test/onionshare_test.py2
6 files changed, 7 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 196ef70f..4f35f84d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -42,4 +42,4 @@
* Shows download progress
* Limited suite of tests
* If a localized string doesn't exist, falls back to English
-* New translations: Dutch, Portuguese, German, Russian, and updated translations: Norweigan, Spanish, French, Italian
+* New translations: Dutch, Portuguese, German, Russian, and updated translations: Norwegian, Spanish, French, Italian
diff --git a/check_lacked_trans.py b/check_lacked_trans.py
index 50306a48..3ee90ec7 100644
--- a/check_lacked_trans.py
+++ b/check_lacked_trans.py
@@ -5,7 +5,7 @@
Check translation lacked or disused.
Example:
-in OninShare directory
+in OnionShare directory
$ check_lacked_trans.py
de disused choose_file
de disused gui_starting_server
diff --git a/onionshare/socks.py b/onionshare/socks.py
index 21caeea9..709220db 100644
--- a/onionshare/socks.py
+++ b/onionshare/socks.py
@@ -23,7 +23,7 @@ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMANGE.
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This module provides a standard socket-like interface for Python
diff --git a/onionshare/web.py b/onionshare/web.py
index 9a8b28b8..d9e6b866 100644
--- a/onionshare/web.py
+++ b/onionshare/web.py
@@ -123,7 +123,7 @@ def download(slug_candidate):
download_count += 1
# prepare some variables to use inside generate() function below
- # which is outsie of the request context
+ # which is outside of the request context
shutdown_func = request.environ.get('werkzeug.server.shutdown')
path = request.path
@@ -149,7 +149,7 @@ def download(slug_candidate):
# tell GUI the progress
downloaded_bytes = fp.tell()
- percent = round((1.0 * downloaded_bytes / zip_filesize) * 100, 2);
+ percent = round((1.0 * downloaded_bytes / zip_filesize) * 100, 2)
sys.stdout.write("\r{0}, {1}% ".format(helpers.human_readable_filesize(downloaded_bytes), percent))
sys.stdout.flush()
add_request(REQUEST_PROGRESS, path, { 'id':download_id, 'bytes':downloaded_bytes })
diff --git a/tails/README.md b/tails/README.md
index a4a0a71a..8adde458 100644
--- a/tails/README.md
+++ b/tails/README.md
@@ -10,7 +10,7 @@ Start by booting to Tails. Mount your persistent volume and set an administrator
git clone https://github.com/micahflee/onionshare.git
sudo onionshare/tails/install_in_persistent_volume.sh
-You only need to do that once each time you want to build a new verison of OnionShare.
+You only need to do that once each time you want to build a new version of OnionShare.
### Installing in Tails
diff --git a/test/onionshare_test.py b/test/onionshare_test.py
index 7896d4c2..5246d4a1 100644
--- a/test/onionshare_test.py
+++ b/test/onionshare_test.py
@@ -24,7 +24,7 @@ def test_choose_port_returns_a_port_number():
"choose_port() returns a port number"
app = OnionShare()
app.choose_port()
- assert 1024 <= app.port <= 65535
+ assert 1024 <= app.port <= 65535
def test_choose_port_returns_an_open_port():
"choose_port() returns an open port"