Better syntax for trans in base.html

Uses `filter` instead of *context vars* to handle filters on translated strings