Skip to content

Refactor some language utils#348

Merged
Stypox merged 3 commits intoStypox:masterfrom
Inhishonor:language-supported-function
Oct 8, 2025
Merged

Refactor some language utils#348
Stypox merged 3 commits intoStypox:masterfrom
Inhishonor:language-supported-function

Conversation

@Inhishonor
Copy link
Contributor

I moved the code I used in the translation and joke skill, to determine if the skill was supported, to it's own function in LocaleUtils. I also noticed that the parse language country was using the deprecated locale constructor, so I replaced that. Thanks!

@Stypox Stypox force-pushed the language-supported-function branch from 2077ff8 to c5ab2db Compare October 8, 2025 16:05
Copy link
Owner

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

Thank you! I made some more simplifications

@Stypox Stypox merged commit 68ea25e into Stypox:master Oct 8, 2025
@Inhishonor Inhishonor deleted the language-supported-function branch October 8, 2025 16:16
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