-
Notifications
You must be signed in to change notification settings - Fork 9.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
core(i18n): roll latest TC messages #5802
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
lighthouse-core/lib/locales/index.js
Outdated
'zh': require('./zh-CN.json'), | ||
'zh-CN': require('./zh-CN.json'), | ||
'zh': require('./zh.json'), | ||
'zh-CN': require('./zh.json'), // Alias of 'zh' |
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.
do you want to include this since it'll fall back to zh
anyways?
lighthouse-core/lib/locales/index.js
Outdated
|
||
'gsw': require('./de.json'), // swiss german. identical (for our purposes) to 'de' | ||
// TODO: en-GB has just ~10 messages that are different from en-US. We should only ship those. | ||
'en-AU': require('./en-GB.json'), // Don't fallback to en (which -> en-US) |
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.
just use Alias of 'en-GB'
for all these as for entries below?
I fixed up the upstream BUILD file to match, so it doesn't output files that are duplicates.
iw
aliased to hebrewin
aliased to 'id' (indonesian)sr
is cyrillic)(I apologize in advance if any of this offends someone. Please let me know if any of these mappings are incorrect.)