I would take the translations of the keys that are specific to who's calling out of this file and move to wherever this widget is being called. The caller can then just pass in the translated keys. That makes it easier to extend the widget to handle things like tasks later on