mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-26 15:59:48 -05:00
i18n for "Tor control password" prompt
This commit is contained in:
parent
c250cbeba4
commit
53e915056e
@ -40,5 +40,6 @@
|
|||||||
"gui_starting_server1": "Starting Tor hidden service...",
|
"gui_starting_server1": "Starting Tor hidden service...",
|
||||||
"gui_starting_server2": "Crunching files...",
|
"gui_starting_server2": "Crunching files...",
|
||||||
"gui_starting_server3": "Waiting for Tor hidden service...",
|
"gui_starting_server3": "Waiting for Tor hidden service...",
|
||||||
"gui_please_wait": "Please wait..."
|
"gui_please_wait": "Please wait...",
|
||||||
|
"tor_control_password":"Tor control password"
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,7 @@ class OnionShare(object):
|
|||||||
authed = False
|
authed = False
|
||||||
while not authed:
|
while not authed:
|
||||||
try:
|
try:
|
||||||
controller.authenticate(getpass('Tor control password: '))
|
controller.authenticate(getpass('{0}: '.format(strings._('tor_control_password'))))
|
||||||
authed = True
|
authed = True
|
||||||
except AuthenticationFailure:
|
except AuthenticationFailure:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user