Correctly translating dynamically constructed strings in case activity reports