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

Fix some MAP issues #373

Merged
merged 18 commits into from
May 16, 2021
Merged

Fix some MAP issues #373

merged 18 commits into from
May 16, 2021

Conversation

stanley-miao
Copy link
Contributor

@stanley-miao stanley-miao commented May 15, 2021

Resolves #365, resolves #367, and resolves #369. Fixes most of #368 except for the final point.

@netlify
Copy link

netlify bot commented May 15, 2021

Deploy preview for dazzling-visvesvaraya-f47271 ready!

Built with commit 8eb6428

https://deploy-preview-373--dazzling-visvesvaraya-f47271.netlify.app

Comment on lines 21 to 31
t: s => {
switch (s) {
case 'menu.userPreferenceSection.theme.action':
return 'Toggle ';
return 'Switch to ';
case 'menu.userPreferenceSection.theme.light':
return 'Light mode';
case 'menu.userPreferenceSection.theme.dark':
return 'Dark mode';
case 'menu.userPreferenceSection.theme.dark':
return 'Light mode';
default:
return s;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

is this block obsolete? can you try removing it to confirm it all still works?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

locale itself needs to be passed to <Settings>, but it still works without the function.

@sonarcloud
Copy link

sonarcloud bot commented May 15, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@stanley-miao stanley-miao merged commit aecf19c into TheIOFoundation:master May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants