Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(translations): add menuitems translations #703

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asierrayk
Copy link

@asierrayk asierrayk commented Jun 28, 2021

Prerequisites

Recommended Steps

  • My patch adds a new feature, therefore I have also added a help article about it
  • My patch changes Elegant behavior, therefore I have updated the help article to reflect this change
  • My commits are signed

Description

Now it's possible to define custom values for menuitems. Home is separated from the rest since you have the ability to add pages as menu item between them.

HOME_MENUITEM = 'Inicio'

MENUITEMS = (
    ('categories', 'Categorías', CATEGORIES_URL),
    ('tags', 'Etiquetas', TAGS_URL),
    ('archives', 'Archivos', ARCHIVES_URL),
)

first value in tuple is needed to enable active class of the menu item
image

Close #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Ability to configure items displayed in menu bar
2 participants