From 373c8a14b02bd4ef2be1e9825ab68e40fb0849f7 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 30 Nov 2016 20:39:51 +0000 Subject: [PATCH] [WebUI] Remove duplicated translation code --- deluge/ui/web/js/deluge-all/UI.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/UI.js b/deluge/ui/web/js/deluge-all/UI.js index bc8e41c8d..398c86988 100644 --- a/deluge/ui/web/js/deluge-all/UI.js +++ b/deluge/ui/web/js/deluge-all/UI.js @@ -8,7 +8,7 @@ * 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. * @@ -26,12 +26,6 @@ var TORRENT_STATE_TRANSLATION = [ _('Queued'), _('Error')]; -var TRACKER_STATUS_TRANSLATION = [ - _('Error'), - _('Warning'), - _('Announce OK'), - _('Announce Sent')]; - /** * @static * @class Deluge.UI