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

Added Language Selector (vue-i18n) #66

Merged
merged 3 commits into from
Dec 30, 2024
Merged

Added Language Selector (vue-i18n) #66

merged 3 commits into from
Dec 30, 2024

Conversation

Muhaddil
Copy link
Member

No description provided.

Copy link
Member

@Lenni009 Lenni009 left a comment

Choose a reason for hiding this comment

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

Nice, but there are some minor things that could be improved.

Copy link
Member

Choose a reason for hiding this comment

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

Is a pinia store really necessary for this? Seems like unnecessary bloat for a single string property.

Take a look at the createGlobalState composable in VueUse, it's much more lightweight and does its job as well as pinia in this case: https://vueuse.org/shared/createGlobalState/

src/components/HelpPopup.vue Outdated Show resolved Hide resolved
src/components/HelpPopup.vue Outdated Show resolved Hide resolved
src/App.vue Outdated Show resolved Hide resolved
src/App.vue Outdated Show resolved Hide resolved
Copy link
Member

@Lenni009 Lenni009 left a comment

Choose a reason for hiding this comment

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

LGTM

@Lenni009 Lenni009 merged commit 9693223 into NMSCD:dev Dec 30, 2024
1 check passed
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.

2 participants