biati-digital / nova-text-tools

Swiss Army knife for text manipulation and selection Sort, Transform, Filter, Delete Duplicates, Encode, Decode and much more...
16 stars 2 forks source link

Make Title Case doesn't work on UPPERCASE string #4

Closed adocehic closed 2 years ago

adocehic commented 2 years ago

I use case conversion to sanitize text that I work with. Often, text I grab happens to have fully uppercase titles/headings. I rely on tools like this to speed up my workflow.

Replicate issue by: Select string of uppercase text; Right click > Text Tools > Make Title Case

Expectation: Selected text converted to title case;

What happens: Selected text remains uppercase;

A fix would be to have the Make Title Case script first run a make-lowercase prior to changing to uppercase.

Thanks!

biati-digital commented 2 years ago

Hi, that could work, can you please post a few examples (replicate and Expectation) so we can copy/paste and make some tests?

adocehic commented 2 years ago

Sure thing!

Input: "GIZA AND LOUVRE ADDED TO THE MONUMENT COLLECTION" Expectation: "Giza and Louvre Added to the Monument Collection" Actual result from Make Title Case: "GIZA AND LOUVRE ADDED TO THE MONUMENT COLLECTION"

Input: "MEET COUTURE LUXURY FLOORING" Expectation: "Meet Couture Luxury Flooring" Actual result from Make Title Case: "MEET COUTURE LUXURY FLOORING"

biati-digital commented 2 years ago

Thank you, making it lower case first fixes this issue, i'm preparing an update that will include this fix.

adocehic commented 2 years ago

Thanks team!

biati-digital commented 2 years ago

This has been fixed in the latest update (2.0.0), check for updates in the nova extensions window

CleanShot 2021-09-21 at 21 38 28