mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +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'
|
APP = 'deluge'
|
||||||
DIR = os.path.join(INSTALL_PREFIX, 'share', 'locale')
|
DIR = os.path.join(INSTALL_PREFIX, 'share', 'locale')
|
||||||
locale.setlocale(locale.LC_ALL, '')
|
locale.setlocale(locale.LC_MESSAGES, '')
|
||||||
if platform.system() != "Windows":
|
if platform.system() != "Windows":
|
||||||
locale.bindtextdomain(APP, DIR)
|
locale.bindtextdomain(APP, DIR)
|
||||||
locale.textdomain(APP)
|
locale.textdomain(APP)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue