Skip to content
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

Merged
merged 4 commits into from
Feb 20, 2019

Conversation

pedropacheco92
Copy link
Contributor

No description provided.

@msftclas
Copy link

msftclas commented Feb 20, 2019

CLA assistant check
All CLA requirements met.

@joaopedsa
Copy link

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') {
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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: '',
Copy link
Contributor

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? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure!

Copy link
Contributor

@corinagum corinagum left a 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!

@pedropacheco92
Copy link
Contributor Author

Fixed conflict

@corinagum
Copy link
Contributor

Will merge in once tests pass. Thanks again!

@corinagum corinagum merged commit db34ce4 into microsoft:master Feb 20, 2019
@corinagum
Copy link
Contributor

These changes will be in /latest/ of the 4.4 release. :)

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.9%) to 54.268% when pulling ed5c6ab on pedropacheco92:master into c3b2a6d on Microsoft:master.

@coveralls
Copy link

coveralls commented Feb 21, 2019

Coverage Status

Coverage decreased (-0.9%) to 54.268% when pulling c37e9a6 on pedropacheco92:master into c3b2a6d on Microsoft:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants