From 137a3366ebc559f7aec5363ad1191e655f124b28 Mon Sep 17 00:00:00 2001 From: Mattk70 Date: Thu, 25 Jan 2024 07:40:50 +0000 Subject: [PATCH] More explanatory text about the current species list --- js/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui.js b/js/ui.js index 2c899ae2..f8880bc1 100644 --- a/js/ui.js +++ b/js/ui.js @@ -3257,8 +3257,8 @@ const populateHelpModal = async (file, label) => { const populateSpeciesModal = async (included, excluded) => { const count = included.length; const model = config.model === 'v2.4' ? 'BirdNET' : 'Chirpity'; - const location = config.list === 'location' ? ` centered on ${place.textContent.replace('fmd_good', '')}` : ''; - let includedContent = `

The number of species detected depends on the model and list being used. As you are using the ${model} model and the ${config.list} list${location}, Chirpity will display detections of the following ${count} classes:

`; + const location = config.list === 'location' ? ` centered on ${place.textContent.replace('fmd_good', '')} and with a location filter threshold of ${config.speciesThreshold}` : ''; + let includedContent = `

The number of species detected depends on the model, the list being used and in the case of the location filter, the species filter threshold. As you are using the ${model} model and the ${config.list} list${location}, Chirpity will display detections of the following ${count} classes:

`; includedContent += '\n'; includedContent += generateBirdIDList(included); includedContent += '
Common NameScientific Name
\n';