mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 23:39:43 -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_server2": "Crunching files...",
|
||||
"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
|
||||
while not authed:
|
||||
try:
|
||||
controller.authenticate(getpass('Tor control password: '))
|
||||
controller.authenticate(getpass('{0}: '.format(strings._('tor_control_password'))))
|
||||
authed = True
|
||||
except AuthenticationFailure:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user