mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Added $lang['BT_UNREGISTERED_ALREADY'] lang key (#994)
This commit is contained in:
parent
3f835e30e6
commit
f343f38f96
2 changed files with 2 additions and 1 deletions
|
@ -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 <a href="%s"><b>registered</b></a>';
|
$lang['BT_REG_FAIL_SAME_HASH'] = 'Another torrent with same info_hash already <a href="%s"><b>registered</b></a>';
|
||||||
$lang['BT_UNREG_FROM_TRACKER'] = 'Remove from tracker';
|
$lang['BT_UNREG_FROM_TRACKER'] = 'Remove from tracker';
|
||||||
$lang['BT_UNREGISTERED'] = 'Torrent unregistered';
|
$lang['BT_UNREGISTERED'] = 'Torrent unregistered';
|
||||||
|
$lang['BT_UNREGISTERED_ALREADY'] = 'Torrent already unregistered';
|
||||||
$lang['BT_REGISTERED'] = 'Torrent registered on tracker<br /><br />Now you need to <a href="%s"><b>download your torrent</b></a> and run it using your BitTorrent client choosing the folder with the original files you\'re sharing as the download path';
|
$lang['BT_REGISTERED'] = 'Torrent registered on tracker<br /><br />Now you need to <a href="%s"><b>download your torrent</b></a> 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]<br /><br />must be <b>%s</b>';
|
$lang['INVALID_ANN_URL'] = 'Invalid Announce URL [%s]<br /><br />must be <b>%s</b>';
|
||||||
$lang['PASSKEY_ERR_TOR_NOT_REG'] = 'Could not add passkey<br /><br />Torrent not registered on tracker';
|
$lang['PASSKEY_ERR_TOR_NOT_REG'] = 'Could not add passkey<br /><br />Torrent not registered on tracker';
|
||||||
|
|
|
@ -107,7 +107,7 @@ class Torrent
|
||||||
bb_die($lang['TOR_NOT_FOUND']);
|
bb_die($lang['TOR_NOT_FOUND']);
|
||||||
}
|
}
|
||||||
if (!$torrent['tracker_status']) {
|
if (!$torrent['tracker_status']) {
|
||||||
bb_die('Torrent already unregistered');
|
bb_die($lang['BT_UNREGISTERED_ALREADY']);
|
||||||
}
|
}
|
||||||
self::torrent_auth_check($forum_id, $torrent['poster_id']);
|
self::torrent_auth_check($forum_id, $torrent['poster_id']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue