mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-26 07:49:48 -05:00
fix typos
This commit is contained in:
parent
77e257efc2
commit
46492e0446
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 })
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user