Skip to content

fix: allow hyphens in subtitle language codes - #166

Open
Aquarius-Situla wants to merge 1 commit into
aizhimou:mainfrom
Aquarius-Situla:fix-subtitle-lang
Open

fix: allow hyphens in subtitle language codes#166
Aquarius-Situla wants to merge 1 commit into
aizhimou:mainfrom
Aquarius-Situla:fix-subtitle-lang

Conversation

@Aquarius-Situla

Copy link
Copy Markdown

Fixes an issue where language codes with hyphens (like zh-Hans) were not correctly detected because the regex used \w+ instead of [\w-]+.

@Aquarius-Situla
Aquarius-Situla marked this pull request as draft August 11, 2026 04:49
@Aquarius-Situla
Aquarius-Situla marked this pull request as ready for review August 11, 2026 04:52
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.

1 participant