For `dash_mode`, here and elsewhere, and `actions` later in the view, I think you'd be much better served using constants, rather than translated strings.