Feature request: Copy dialogue markers / formatting from another subtitle

Open
#12,430 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
desktop

Research direction

Start by locating Subtitle Edit's Compare feature and review how it matches corresponding subtitle lines. Define the scope for optionally copying dialogue markers and other formatting while preserving the destination text, then identify how the behavior can be tested with nearly identical subtitle files. Done means the selected formatting can be merged without replacing unrelated text.

Written by the indexing model from the issue text.

Description

Hi,

While working with two almost identical subtitle files, I thought of a feature that could be useful in Subtitle Edit.

Sometimes two subtitle versions contain almost identical text, but one of them is missing only the dialogue markers (-) at the beginning of dialogue lines.

Example:

Subtitle A

  • How are you?
  • Fine.

Subtitle B

How are you?
Fine.

In my case, more than 99% of the text was identical. The only significant difference was that one subtitle had lost the dialogue markers.

It would be very useful if the Compare feature (or another tool) could optionally copy only dialogue markers from one subtitle to the other, instead of replacing the whole text.

More generally, this could perhaps be extended to formatting elements, such as:

Dialogue markers (-)
Italics
HTML tags
Other formatting

This would make it much easier to merge the best parts of two almost identical subtitle files without manually editing hundreds of dialogue lines.

This is just a feature suggestion. Thanks again for your excellent work on Subtitle Edit!

Dominant language
C#
Stars
14.3k
Forks
1.3k
Avg merge
1h 19m
Merged PRs (30d)
782

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SubtitleEdit/subtitleedit

All issues in SubtitleEdit/subtitleedit

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.