curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2029] [Mantis 2066] 'Sentence case' surprisingly de-capitalizes proper nouns #55

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : lpsmith

Description :

For Cragne Manor, we had the attached 'minimal source text'. What was supposed to happen was that you could either have:

"the insignia of the Backwater Public Library"

or

"The insignia of the Backwater Public Library".

However, the second turned into:

"The insignia of the backwater public library".

However! If you had the original as:

"The Insignia Of The Backwater Public Library"

you would want what you got as the 'sentence case' version of that sentence. Similarly, it behaves as expected for:

"THE INSIGNIA OF THE BACKWATER PUBLIC LIBRARY".

So! I propose that 'sentence case' does the following:

imported from: [Mantis 2066] 'Sentence case' surprisingly de-capitalizes proper nouns

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by zarf :
I agree that the original behavior was surprising, but I assert that the proposed behavior would be confusing and more surprising (a lot of the time).

There could be a new phrase which just applies sentence-case to the first word of the string and leaves the rest of it unchanged.

curiousdannii-testing commented 2 years ago

61eedb62875fc10070240916:

Closed as feature request.