mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 00:06:17 +02:00
feat(torrents): add client block reason
This commit is contained in:
13
config/env/torrents.js
vendored
13
config/env/torrents.js
vendored
@@ -874,13 +874,12 @@ module.exports = {
|
||||
* @name: client software name
|
||||
*/
|
||||
clientBlackList: [
|
||||
{name: 'Mozilla', type: 'browser'},
|
||||
{name: 'AppleWebKit', type: 'browser'},
|
||||
{name: 'Safari', type: 'browser'},
|
||||
{name: 'Chrome', type: 'browser'},
|
||||
{name: 'Lynx', type: 'browser'},
|
||||
{name: 'Opera', type: 'browser'},
|
||||
{name: 'Transmission/2.93', type: 'client'}
|
||||
{name: 'Mozilla', type: 'browser', reason: 'CLIENT_BLOCK_REASON.BROWSER'},
|
||||
{name: 'AppleWebKit', type: 'browser', reason: 'CLIENT_BLOCK_REASON.BROWSER'},
|
||||
{name: 'Safari', type: 'browser', reason: 'CLIENT_BLOCK_REASON.BROWSER'},
|
||||
{name: 'Chrome', type: 'browser', reason: 'CLIENT_BLOCK_REASON.BROWSER'},
|
||||
{name: 'Lynx', type: 'browser', reason: 'CLIENT_BLOCK_REASON.BROWSER'},
|
||||
{name: 'Opera', type: 'browser', reason: 'CLIENT_BLOCK_REASON.BROWSER'}
|
||||
],
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,7 +25,10 @@
|
||||
BTN_REMOVE: 'Remove',
|
||||
|
||||
//Support
|
||||
SUPPORT_GROUP_NAME_DESC: '客户服务支持组',
|
||||
SUPPORT_GROUP_NAME_DESC: 'Service Group',
|
||||
CLIENT_BLOCK_REASON: {
|
||||
BROWSER: 'Prohibits announce through browsers'
|
||||
},
|
||||
|
||||
//client topbar menu
|
||||
MENU_CHAT: 'Chat',
|
||||
|
||||
@@ -25,7 +25,10 @@
|
||||
BTN_REMOVE: '删除',
|
||||
|
||||
//Support
|
||||
SUPPORT_GROUP_NAME_DESC: 'Service Group',
|
||||
SUPPORT_GROUP_NAME_DESC: '客户服务支持组',
|
||||
CLIENT_BLOCK_REASON: {
|
||||
BROWSER: '禁止通过浏览器上报数据'
|
||||
},
|
||||
|
||||
//client topbar menu
|
||||
MENU_CHAT: '聊天室',
|
||||
|
||||
Reference in New Issue
Block a user