Skip to content

Some refactoring and config checks#192

Merged
Sayrix merged 3 commits into
mainfrom
confchk
Jul 12, 2023
Merged

Some refactoring and config checks#192
Sayrix merged 3 commits into
mainfrom
confchk

Conversation

@zhiyan114

Copy link
Copy Markdown
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

@Sayrix Sayrix left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
Collaborator Author

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

@Sayrix

Sayrix commented Jul 12, 2023

Copy link
Copy Markdown
Owner

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

@zhiyan114

zhiyan114 commented Jul 12, 2023

Copy link
Copy Markdown
Collaborator Author

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

Sayrix commented Jul 12, 2023

Copy link
Copy Markdown
Owner

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