-
Notifications
You must be signed in to change notification settings - Fork 33
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(packages/sui-i18n): import node-polyglot 0.43 to our package #1528
Conversation
// BSD 2-Clause License | ||
|
||
// Copyright (c) 2012, Airbnb | ||
// All rights reserved. |
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.
ℹ️ license notice kept here as per:
https://github.com/airbnb/polyglot.js/blob/master/LICENSE
- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
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.
👉 A -personal- suggestion regarding this:
Would it make sense to have a specific file to maintain all third-party license notices? Relating each notice to the specific dependency that requires it.
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.
good point! not sure what's the best way to deal with this in our packages.
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.
We could open an issue to discuss this point and avoid blocking this PR. What do you think?
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.
totally agree!
Just opened it: #1530
// BSD 2-Clause License | ||
|
||
// Copyright (c) 2012, Airbnb | ||
// All rights reserved. |
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.
👉 A -personal- suggestion regarding this:
Would it make sense to have a specific file to maintain all third-party license notices? Relating each notice to the specific dependency that requires it.
// BSD 2-Clause License | ||
|
||
// Copyright (c) 2012, Airbnb | ||
// All rights reserved. |
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.
We could open an issue to discuss this point and avoid blocking this PR. What do you think?
Description
Import
node-polyglot 0.43
code to our package.Polyglot adapter is already being fully tested:
https://github.com/SUI-Components/sui/blob/master/packages/sui-i18n/test/polyglotSpec.js#L53
Related Issue
Implements #1468 .
Example