mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-11 15:29:38 -05:00
removed return to make load_strings function work
This commit is contained in:
parent
a9a023aceb
commit
dc5f415007
@ -73,7 +73,6 @@ def load_strings(default="en"):
|
|||||||
translated = json.loads(open('{0}/strings.json'.format(
|
translated = json.loads(open('{0}/strings.json'.format(
|
||||||
os.path.dirname(__file__))).read())
|
os.path.dirname(__file__))).read())
|
||||||
strings = translated[default]
|
strings = translated[default]
|
||||||
return
|
|
||||||
lc, enc = locale.getdefaultlocale()
|
lc, enc = locale.getdefaultlocale()
|
||||||
if lc:
|
if lc:
|
||||||
lang = lc[:2]
|
lang = lc[:2]
|
||||||
|
Loading…
Reference in New Issue
Block a user