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…
Reference in New Issue