Mercurial > libervia-templates
view sat_templates/templates/default/components/menu_labels.html @ 187:7539d98e1d08
components (menu): disable cache when importing "menu_labels":
When using cache, first translation was used whatever locale was used after that.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 14 Apr 2019 08:09:40 +0200 |
parents | 178f55b825b7 |
children |
line wrap: on
line source
{# menu labels, map from menu names to labels #} {% set label = { 'login': _('Session') if profile else _('Log in'), 'blog': _('Blog'), 'forums': _('Forums'), 'merge-requests': _('Merge requests'), 'merge-request_new': _('Create new merge request'), 'tickets': _('Tickets'), 'tickets_list': _('List tickets'), 'ticket_new': _('Create new ticket'), 'chat': _('Chat'), 'files': _('Files sharing'), 'events': _('Events'), 'event_new': _('Create an event'), 'photos': _('Photos albums'), 'app': _('Application'), } %}