mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 22:06:27 +00:00
ticket #520 switch LC_ALL to LC_MESSAGES
This commit is contained in:
parent
402bd70816
commit
58bcb2abb9
@ -39,7 +39,7 @@ from common import INSTALL_PREFIX
|
||||
|
||||
APP = 'deluge'
|
||||
DIR = os.path.join(INSTALL_PREFIX, 'share', 'locale')
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
locale.setlocale(locale.LC_MESSAGES, '')
|
||||
if platform.system() != "Windows":
|
||||
locale.bindtextdomain(APP, DIR)
|
||||
locale.textdomain(APP)
|
||||
|
Loading…
x
Reference in New Issue
Block a user