151 lines
5.3 KiB
JSON
151 lines
5.3 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "AdGuard Control Hub",
|
|
"description": "Configure your AdGuard Home connection",
|
|
"data": {
|
|
"host": "Host",
|
|
"port": "Port",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"ssl": "Use SSL",
|
|
"verify_ssl": "Verify SSL Certificate"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to AdGuard Home. Please check your host, port, and credentials.",
|
|
"invalid_auth": "Invalid username or password",
|
|
"timeout": "Connection timeout. Please check your network connection.",
|
|
"unknown": "An unexpected error occurred"
|
|
},
|
|
"abort": {
|
|
"already_configured": "AdGuard Control Hub is already configured for this host and port"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "AdGuard Control Hub Options",
|
|
"description": "Configure advanced options",
|
|
"data": {
|
|
"scan_interval": "Update interval (seconds)",
|
|
"timeout": "Connection timeout (seconds)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"block_services": {
|
|
"name": "Block Services",
|
|
"description": "Block specific services for a client",
|
|
"fields": {
|
|
"client_name": {
|
|
"name": "Client Name",
|
|
"description": "Name of the client to block services for"
|
|
},
|
|
"services": {
|
|
"name": "Services",
|
|
"description": "List of services to block"
|
|
}
|
|
}
|
|
},
|
|
"unblock_services": {
|
|
"name": "Unblock Services",
|
|
"description": "Unblock specific services for a client",
|
|
"fields": {
|
|
"client_name": {
|
|
"name": "Client Name",
|
|
"description": "Name of the client to unblock services for"
|
|
},
|
|
"services": {
|
|
"name": "Services",
|
|
"description": "List of services to unblock"
|
|
}
|
|
}
|
|
},
|
|
"emergency_unblock": {
|
|
"name": "Emergency Unblock",
|
|
"description": "Temporarily disable blocking for emergency access",
|
|
"fields": {
|
|
"duration": {
|
|
"name": "Duration",
|
|
"description": "Duration in seconds to keep unblocked"
|
|
},
|
|
"clients": {
|
|
"name": "Clients",
|
|
"description": "List of client names (use 'all' for global)"
|
|
}
|
|
}
|
|
},
|
|
"bulk_update_clients": {
|
|
"name": "Bulk Update Clients",
|
|
"description": "Update multiple clients matching a pattern",
|
|
"fields": {
|
|
"client_pattern": {
|
|
"name": "Client Pattern",
|
|
"description": "Pattern to match client names (supports wildcards)"
|
|
},
|
|
"settings": {
|
|
"name": "Settings",
|
|
"description": "Settings to apply to matching clients"
|
|
}
|
|
}
|
|
},
|
|
"add_client": {
|
|
"name": "Add Client",
|
|
"description": "Add a new client configuration",
|
|
"fields": {
|
|
"name": {
|
|
"name": "Name",
|
|
"description": "Client name"
|
|
},
|
|
"ids": {
|
|
"name": "IDs",
|
|
"description": "List of IP addresses or CIDR ranges"
|
|
},
|
|
"mac": {
|
|
"name": "MAC Address",
|
|
"description": "MAC address (optional)"
|
|
},
|
|
"filtering_enabled": {
|
|
"name": "Filtering Enabled",
|
|
"description": "Enable DNS filtering for this client"
|
|
},
|
|
"blocked_services": {
|
|
"name": "Blocked Services",
|
|
"description": "List of services to block"
|
|
}
|
|
}
|
|
},
|
|
"remove_client": {
|
|
"name": "Remove Client",
|
|
"description": "Remove a client configuration",
|
|
"fields": {
|
|
"name": {
|
|
"name": "Name",
|
|
"description": "Name of the client to remove"
|
|
}
|
|
}
|
|
},
|
|
"schedule_service_block": {
|
|
"name": "Schedule Service Block",
|
|
"description": "Schedule time-based service blocking",
|
|
"fields": {
|
|
"client_name": {
|
|
"name": "Client Name",
|
|
"description": "Name of the client"
|
|
},
|
|
"services": {
|
|
"name": "Services",
|
|
"description": "List of services to block"
|
|
},
|
|
"schedule": {
|
|
"name": "Schedule",
|
|
"description": "Time-based schedule configuration"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |