Skip to content

fix(video): adapt portrait subtitles and source intro layouts - #26

Merged
Mapleeeeeeeeeee merged 6 commits into
mainfrom
fix/cjk-boundary-repair-edge-cases
Sep 15, 2026
Merged

Mapleeeeeeeeeee merged 6 commits into
mainfrom
fix/cjk-boundary-repair-edge-cases

Conversation

@Mapleeeeeeeeeee

@Mapleeeeeeeeeee Mapleeeeeeeeeee commented Jul 9, 2026 •

Copy link
Copy Markdown
Owner

Portrait videos now use aspect-ratio-aware subtitle placement, compact bilingual spacing, and balanced wrapping. Long source cues are split at conservative phrase boundaries before translation; edited subtitle timings are preserved when burning.

The source intro card keeps its original wording, colors, attribution, and animation, while fitting long titles and URLs to portrait frames. Existing landscape styling and the source watermark remain intact. No jieba or CKIP dependency is included.

This branch also includes the earlier CJK translation-boundary edge-case fixes.

Validation: the current PR head passed the CI workflow, including lint/type checks, unit tests, integration tests, security scan, and E2E tests. Dependency Review cannot run because dependency graph support is unavailable on this repository; this is the same repository-level error seen on prior PRs.

Update fixed-canvas test expectations to follow the requested video aspect ratio; retain exact 16:9 layout coverage.
Remove the Chinese word-boundary regression cases because the user explicitly requested removal of dictionary-based wrapping. Preserve approved portrait layout, intro, colors, watermark, and phrase segmentation.
@Mapleeeeeeeeeee Mapleeeeeeeeeee changed the title fix(translator): resolve edge cases in CJK boundary repair fix(video): adapt portrait subtitles and source intro layouts Sep 15, 2026
@Mapleeeeeeeeeee
Mapleeeeeeeeeee merged commit 7d9a12e into main Sep 15, 2026
7 of 8 checks 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.

1 participant