mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
Don't need to explicitly set WinSparkle language
This commit is contained in:
parent
b29dd65d6c
commit
c9d585849c
@ -91,15 +91,6 @@ elif sys.platform=='win32':
|
||||
self.callback_fn = self.callback_t(shutdown_request)
|
||||
self.updater.win_sparkle_set_shutdown_request_callback(self.callback_fn)
|
||||
|
||||
# Translations require winsparkle 0.5
|
||||
try:
|
||||
import l10n
|
||||
langs = l10n.Translations().preferred()
|
||||
if langs:
|
||||
self.updater.win_sparkle_set_lang(langs[0])
|
||||
except:
|
||||
pass
|
||||
|
||||
self.updater.win_sparkle_init()
|
||||
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user