remove the gettext calls from the dictionary, and add hinting for the

generation script above instead
This commit is contained in:
Damien Churchill 2009-04-18 13:00:18 +00:00
parent 286619f4e3
commit 70b7fa908f
1 changed files with 12 additions and 8 deletions

View File

@ -120,15 +120,19 @@ Deluge.Formatters = {
} }
} }
// _('Do Not Download')
// _('Normal Priority')
// _('High Priority')
// _('Highest Priority')
FILE_PRIORITY = { FILE_PRIORITY = {
0: _('Do Not Download'), 0: 'Do Not Download',
1: _('Normal Priority'), 1: 'Normal Priority',
2: _('High Priority'), 2: 'High Priority',
5: _('Highest Priority'), 5: 'Highest Priority',
_('Do Not Download'): 0, 'Do Not Download': 0,
_('Normal Priority'): 1, 'Normal Priority': 1,
_('High Priority'): 2, 'High Priority': 2,
_('Highest Priority'): 5 'Highest Priority': 5
} }
FILE_PRIORITY_CSS = { FILE_PRIORITY_CSS = {