feat(ui): add selective scan options and update translations

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-11-12 15:28:53 -05:00
parent 62a8d85772
commit acae163b0f
3 changed files with 11 additions and 6 deletions

View File

@ -598,11 +598,12 @@
"activity": {
"title": "Atividade",
"totalScanned": "Total de pastas scaneadas",
"quickScan": "Scan rápido",
"fullScan": "Scan completo",
"quickScan": "Rápido",
"fullScan": "Completo",
"selectiveScan": "Seletivo",
"serverUptime": "Uptime do servidor",
"serverDown": "DESCONECTADO",
"scanType": "Tipo",
"scanType": "Último Scan",
"status": "Erro",
"elapsedTime": "Duração"
},

View File

@ -600,11 +600,12 @@
"activity": {
"title": "Activity",
"totalScanned": "Total Folders Scanned",
"quickScan": "Quick Scan",
"fullScan": "Full Scan",
"quickScan": "Quick",
"fullScan": "Full",
"selectiveScan": "Selective",
"serverUptime": "Server Uptime",
"serverDown": "OFFLINE",
"scanType": "Type",
"scanType": "Last Scan",
"status": "Scan Error",
"elapsedTime": "Elapsed Time"
},

View File

@ -113,6 +113,9 @@ const ActivityPanel = () => {
return translate('activity.fullScan')
case 'quick':
return translate('activity.quickScan')
case 'full-selective':
case 'quick-selective':
return translate('activity.selectiveScan')
default:
return ''
}