I am trying to translate my custom module labels in both JS and Python code. The Python labels were successfully translated and exported when exporting my_module.pot but the problem is that the JS labels being used in _t('Any Label') is not being found in my_module.pot. In the below example the "Read Card" is not found in my_module.pot file.
if(Object.keys(me.paciMappingCache[model]['mapping']['mapping']).length) { // append the button if the user has mapped fields to the current model
el.append(`
<div class="azk-paci-form-buttons mt-2 d-none">
<button name="sync_paci_data_btn" class="btn btn-primary oe_button_sync_paci_data" type="button" title="Read card fields from card reader">`+_t("Read Card")+`</button>
</div>
`);
}