ipWhitelistHint:'One IP or CIDR per line. Only these IPs can use this key when set.',
ipBlacklist:'IP Blacklist',
ipBlacklistPlaceholder:'1.2.3.4\n5.6.0.0/16',
ipBlacklistHint:'One IP or CIDR per line. These IPs will be blocked from using this key.',
ipRestrictionEnabled:'IP restriction enabled',
ccSwitchNotInstalled:'CC-Switch is not installed or the protocol handler is not registered. Please install CC-Switch first or manually copy the API key.',
ccSwitchNotInstalled:'CC-Switch is not installed or the protocol handler is not registered. Please install CC-Switch first or manually copy the API key.',
ccsClientSelect:{
ccsClientSelect:{
title:'Select Client',
title:'Select Client',
...
@@ -421,9 +438,6 @@ export default {
...
@@ -421,9 +438,6 @@ export default {
exportFailed:'Failed to export usage data',
exportFailed:'Failed to export usage data',
exportExcelSuccess:'Usage data exported successfully (Excel format)',
exportExcelSuccess:'Usage data exported successfully (Excel format)',
consthandleBulkDelete=async()=>{if(!confirm(t('common.confirm')))return;try{awaitPromise.all(selIds.value.map(id=>adminAPI.accounts.delete(id)));selIds.value=[];reload()}catch(error){console.error('Failed to bulk delete accounts:',error)}}
consthandleBulkDelete=async()=>{if(!confirm(t('common.confirm')))return;try{awaitPromise.all(selIds.value.map(id=>adminAPI.accounts.delete(id)));selIds.value=[];reload()}catch(error){console.error('Failed to bulk delete accounts:',error)}}