ticket #520 switch LC_ALL to LC_MESSAGES

This commit is contained in:
Marcos Pinto 2007-09-06 20:48:22 +00:00
parent 402bd70816
commit 58bcb2abb9
1 changed files with 1 additions and 1 deletions

View File

@ -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)