mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
ticket #520 switch LC_ALL to LC_MESSAGES
This commit is contained in:
parent
402bd70816
commit
58bcb2abb9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue