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
Fix wrong flag for Swedish #6926
Conversation
Signed-off-by: Vincent Dörig <dvincdt@gmail.com>
516afb8
to
16cc69d
Compare
Signed-off-by: Vincent Dörig <dvincdt@gmail.com>
@@ -117,6 +117,15 @@ describe('<LocaleToggle />', () => { | |||
); | |||
}); | |||
|
|||
it('should return the se flag', () => { |
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.
return the sv flag ?
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.
sv would be El Salvador, se is Sweden
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
* Fix wrong flag for Swedish language Signed-off-by: Vincent Dörig <dvincdt@gmail.com> * Add test case Signed-off-by: Vincent Dörig <dvincdt@gmail.com> Signed-off-by: Gil Fernandes <gil.fernandes@onepointltd.com>
Description of what you did:
Fixes #6912 — Add another
case
for Swedish since the language code (sv
) is different than the country code (se
).