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

Set navigation and mobile menu labels of the header component with new options #1905

Merged
merged 2 commits into from
Aug 13, 2020

Conversation

hannalaakso
Copy link
Member

@hannalaakso hannalaakso commented Aug 11, 2020

This PR:

  • adds macro options for localising the menu button and navigation label of the header
  • makes the previously hardcoded content the default text
  • adds tests to check for default and customised content

Fixes #1682

Have split localising the 'menu' text into #1904 following a chat with @christopherthomasdesign.

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1905 August 11, 2020 17:19 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1905 August 11, 2020 17:20 Inactive
Copy link
Contributor

@36degrees 36degrees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍🏻

CHANGELOG.md Outdated Show resolved Hide resolved
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1905 August 13, 2020 13:19 Inactive
Add new options:
- navigationLabel
- menuButtonLabel

Make the previously hardcoded content the default.
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1905 August 13, 2020 13:23 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Header navigation text cannot be customised or translated
4 participants