Author: damoxc
Revision: 5076
Log:
remove the gettext calls from the dictionary, and add hinting for the
generation script above instead
Diff:
Modified: trunk/deluge/ui/web/js/deluge.js
===================================================================
--- trunk/deluge/ui/web/js/deluge.js 2009-04-18 12:50:34 UTC (rev 5075)
+++ trunk/deluge/ui/web/js/deluge.js 2009-04-18 13:00:18 UTC (rev 5076)
@@ -120,15 +120,19 @@
}
}
+// _('Do Not Download')
+// _('Normal Priority')
+// _('High Priority')
+// _('Highest Priority')
FILE_PRIORITY = {
- 0: _('Do Not Download'),
- 1: _('Normal Priority'),
- 2: _('High Priority'),
- 5: _('Highest Priority'),
- _('Do Not Download'): 0,
- _('Normal Priority'): 1,
- _('High Priority'): 2,
- _('Highest Priority'): 5
+ 0: 'Do Not Download',
+ 1: 'Normal Priority',
+ 2: 'High Priority',
+ 5: 'Highest Priority',
+ 'Do Not Download': 0,
+ 'Normal Priority': 1,
+ 'High Priority': 2,
+ 'Highest Priority': 5
}
FILE_PRIORITY_CSS = {
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---