diff --git a/library/language/source/main.php b/library/language/source/main.php index a4f90a7ef..3a9e6e4fa 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -1061,6 +1061,7 @@ $lang['BT_REG_FAIL'] = 'Could not register torrent on tracker'; $lang['BT_REG_FAIL_SAME_HASH'] = 'Another torrent with same info_hash already registered'; $lang['BT_UNREG_FROM_TRACKER'] = 'Remove from tracker'; $lang['BT_UNREGISTERED'] = 'Torrent unregistered'; +$lang['BT_UNREGISTERED_ALREADY'] = 'Torrent already unregistered'; $lang['BT_REGISTERED'] = 'Torrent registered on tracker

Now you need to download your torrent and run it using your BitTorrent client choosing the folder with the original files you\'re sharing as the download path'; $lang['INVALID_ANN_URL'] = 'Invalid Announce URL [%s]

must be %s'; $lang['PASSKEY_ERR_TOR_NOT_REG'] = 'Could not add passkey

Torrent not registered on tracker'; diff --git a/src/Legacy/Torrent.php b/src/Legacy/Torrent.php index c994a20e3..4fcd032ec 100644 --- a/src/Legacy/Torrent.php +++ b/src/Legacy/Torrent.php @@ -107,7 +107,7 @@ class Torrent bb_die($lang['TOR_NOT_FOUND']); } if (!$torrent['tracker_status']) { - bb_die('Torrent already unregistered'); + bb_die($lang['BT_UNREGISTERED_ALREADY']); } self::torrent_auth_check($forum_id, $torrent['poster_id']); }