What
Implement a loader for SRT files in Replexica.
Why
To support video editors and translators working with video subtitles.
How
- Create a new loader in
packages/cli/src/loaders/srt.ts
- Implement parsing logic for SRT structure
- Add two unit tests in
packages/cli/src/loaders/index.spec.ts:
- Test parsing a simple SRT file
- Test handling multi-line subtitles in SRT entries
- Update
@replexica/spec to include SRT format
- Generate a changeset using
pnpm new for both 'replexica' and '@replexica/cli' packages
- In the pull request, include a link to the SRT specification used.
After completing the task
Noticed a file format Replexica doesn't yet support? Please create a new GitHub ticket (if it doesn't yet exist!), using the format/structure of this GitHub issue.
What
Implement a loader for SRT files in Replexica.
Why
To support video editors and translators working with video subtitles.
How
packages/cli/src/loaders/srt.tspackages/cli/src/loaders/index.spec.ts:@replexica/specto include SRT formatpnpm newfor both 'replexica' and '@replexica/cli' packagesAfter completing the task
Noticed a file format Replexica doesn't yet support? Please create a new GitHub ticket (if it doesn't yet exist!), using the format/structure of this GitHub issue.