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

Some refactoring and config checks #192

Merged
merged 3 commits into from
Jul 12, 2023
Merged

Some refactoring and config checks #192

merged 3 commits into from
Jul 12, 2023

Conversation

zhiyan114
Copy link
Collaborator

Did some code refactoring to clear out some random eslint warnings and added questions/ticketTypes length check so the bot will force the user to fix it.

@zhiyan114 zhiyan114 requested a review from Sayrix as a code owner July 12, 2023 21:05
@zhiyan114 zhiyan114 added this to the 5.2.0 milestone Jul 12, 2023
Copy link
Owner

@Sayrix Sayrix left a comment

Choose a reason for hiding this comment

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

For the followUp can you add the error to the /locales ?

@zhiyan114
Copy link
Collaborator Author

Alr, should I just google translate it for other lang?

@Sayrix
Copy link
Owner

Sayrix commented Jul 12, 2023

No just add it in english and let translators to translate it

@zhiyan114
Copy link
Collaborator Author

zhiyan114 commented Jul 12, 2023

No just add it in english and let translators to translate it

Alr, next time, I'll just fill those with english. The issue with leaving it empty is that the bot will throw error if it tries to pull the empty locale (if the user switch to a non-default file).

@Sayrix
Copy link
Owner

Sayrix commented Jul 12, 2023

Yeah, maybe use a better i18n thing

@Sayrix Sayrix merged commit 09e30ee into main Jul 12, 2023
@Sayrix Sayrix deleted the confchk branch July 12, 2023 21:22
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