DeepL's translation reference says separate text entries are translated independently. Simply placing neighboring sentences in one array does not give them shared context.
For a DeepL integration, use the documented context mechanism when surrounding meaning matters. Test short, ambiguous labels against their actual interface or document setting, then review whether the chosen meaning fits.