Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] For "Change Casing", please add a "Preserve existing capitalized words" option for Normal Casing #9193

Open
BlohoJo opened this issue Jan 8, 2025 · 1 comment

Comments

@BlohoJo
Copy link

BlohoJo commented Jan 8, 2025

I can't use the "Change Casing" option to quickly fix srt files with capitalization errors, because any capitalized word it finds that's not in the dictionary will get converted to all lower case.

Solution: Add "Preserve existing capitalized words" check box option for Tools -> Change casing -> Normal casing. It should still fix dictionary found words if they aren't capitalized and capitalize the first word of all sentences if they aren't capitalized, etc. So in other words, it functions the same, except any word it finds that is NOT in the dictionary and IS capitalized, it should leave as is and NOT convert it to lower case.

Then I could use this function! 😕

@BlohoJo
Copy link
Author

BlohoJo commented Jan 9, 2025

Just FYI, Notepad++ has this sort of functionality in its case conversion (Edit -> Convert Case to) as two options called "blend" for Proper Case and Sentence Case.

But it won't work in .srt files because it interprets separate subtitle entries as new sentences. For example:

56
00:05:19,086 --> 00:05:27,086
a lot of people were very helpful

57
00:05:31,542 --> 00:05:34,062
to us and we're, you know, grateful.

Will get converted to:

56
00:05:19,086 --> 00:05:27,086
A lot of people were very helpful

57
00:05:31,542 --> 00:05:34,062
To us and we're, you know, grateful.

Instead of:

56
00:05:19,086 --> 00:05:27,086
A lot of people were very helpful

57
00:05:31,542 --> 00:05:34,062
to us and we're, you know, grateful.

I've never found a working solution to automate the process of correcting this.

@BlohoJo BlohoJo changed the title Feature request: For "Change Casing", please add a "Preserve existing capitalized words" option for Normal Casing [Feature request] For "Change Casing", please add a "Preserve existing capitalized words" option for Normal Casing Jan 16, 2025
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

No branches or pull requests

1 participant