-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
fix(stepper): unable to internationalize labels #7122
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one docs comment
src/lib/stepper/stepper.md
Outdated
@@ -124,11 +124,26 @@ this default `completed` behavior by setting the `completed` attribute as needed | |||
- <kbd>TAB</kbd>: Focuses the next tabbable element | |||
- <kbd>TAB</kbd>+<kbd>SHIFT</kbd>: Focuses the previous tabbable element | |||
|
|||
### Localizing labels | |||
The various text strings used by the stepper are provided through `MdStepperIntl`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The various text strings
-> Labels
3675b9f
to
e890643
Compare
e890643
to
5280e4a
Compare
4728389
to
5c88226
Compare
@crisbeto Can you check out the linter failure? Looks like there could be an unused import in step-header. |
Adds a provider that allows for labels inside the stepper to be internationalized.
Rebased and sorted out the linting issue. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds a provider that allows for labels inside the stepper to be internationalized.