-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[l10n] Add Norwegian Bokmål (nb-NO) locale #27520
Conversation
wogsland
commented
Jul 30, 2021
•
edited
Loading
edited
- I have followed (at least) the PR section of the contributing guide.
This comment has been minimized.
This comment has been minimized.
@wogsland the structure of the localization objects has changed in v5. Could you please rebase on the current master and correct the structure? Also, please update the docs\src\pages\guides\localization\localization.md file with information about the newly added locale. |
I don't usually rebase, but it seems to have messed things up with Github. Here it shows a crazy number of commits and file changes, but just comparing branches only shows my changes: https://github.com/mui-org/material-ui/compare/master...wogsland:patch-1?expand=1 |
We've had a number of directory renames in the meantime, so rebasing is harder than usual. The easiest way to make it work would be to copy your changes somewhere out of the workspace, |
Ready for review again. |
Looking good, thanks! One more thing to correct is code formatting. Could you please run |
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.
Translation looks great =) Looking forward for the merge
@@ -814,7 +814,7 @@ export const enUS: Localization = { | |||
// if (type === 'previous') { | |||
return 'Go to previous page'; | |||
}, | |||
}, | |||
}}, |
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.
Could you revert changes to the above lines? I don't know why they've been modified, but let's not introduce any changes beyond what's necessary.
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.
This is the template I copied and it was missing a closing curly bracket. If others try to add locales copying this they will also get an error.
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.
Fair enough :)
@wogsland thanks for working on this! |