agent: Fix string translation for Windows