-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fixed locale pt-br not being used and added extra suport for pt-br #1745
Conversation
Nice Work!! |
@@ -110,7 +110,7 @@ function normalizeLanguage(language) { | |||
} else if (language.startsWith('pl')) { | |||
return 'pl-PL'; | |||
} else if (language.startsWith('pt')) { | |||
if (language === 'pt-BR') { | |||
if (language === 'pt-br') { |
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 explain why this is 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.
in the first line of this function, the language is setted to lower case, and this condidion was never true.
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.
Ah I understand now, thank you!
}); | ||
} | ||
} | ||
|
||
export default { | ||
// FAILED_CONNECTION_NOTIFICATION: '', |
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.
Are you able to fill the commented-out lines to finish up this localization file? :)
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.
Sure!
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.
I should have said this earlier, my apologies.
- Please add your updates to the
CHANGELOG.md
- Please add your name to the
LOCALIZATION.md
Thank you for your contribution!
Fixed conflict |
Will merge in once tests pass. Thanks again! |
These changes will be in |
No description provided.