[WebUI] Remove duplicated translation code

This commit is contained in:
Calum Lind 2016-11-30 20:39:51 +00:00
commit 373c8a14b0

View file

@ -8,7 +8,7 @@
* See LICENSE for more details. * See LICENSE for more details.
*/ */
/** Dummy translation arrays so Torrent and Tracker states are available for Translators. /** Dummy translation arrays so Torrent states are available for gettext.js and Translators.
* *
* All entries in deluge.common.TORRENT_STATE should be added here. * All entries in deluge.common.TORRENT_STATE should be added here.
* *
@ -26,12 +26,6 @@ var TORRENT_STATE_TRANSLATION = [
_('Queued'), _('Queued'),
_('Error')]; _('Error')];
var TRACKER_STATUS_TRANSLATION = [
_('Error'),
_('Warning'),
_('Announce OK'),
_('Announce Sent')];
/** /**
* @static * @static
* @class Deluge.UI * @class Deluge.UI