fix typos

This commit is contained in:
Thomas Waldmann 2014-10-26 14:40:41 +01:00
parent 77e257efc2
commit 46492e0446
6 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 })

View File

@ -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

View File

@ -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"