Hi, there is support for up to three independent leak detector inputs, there is no support for distinguishing between which one has fired on the user end. You will need to modify the firmware or add a feature request on GitHub - ArduPilot/ardupilot: ArduPlane, ArduCopter, ArduRover, ArduSub source.
Why do you want this behavior? Would your action be any different if the leak were in the battery hull vs the electronics hull?