Case of Labels and Actions

Why do form labels and action labels have the everything after the first word as lower case? Is there anyway to override this for everything? Frustrating when you have create a custom label for everything when its the exact same words, you just want to correct the case. 'New management company' in my opinion should be 'New Management Company'. Im sure there is a reason for this, but why and anyway to set the preference?
6 Replies
Kenneth Sese
Kenneth Sese2y ago
No way to set a preference as far as I know. You could always extend the action class and then override the getLabel() with your own logic.
Mark Chaney
Mark ChaneyOP2y ago
But why is it even the case in the first place?
Dan Harrin
Dan Harrin2y ago
there isnt a way to set your preference at the moment thats just the way we've chosen to make it work that we think makes the UI look the best you can write a PR to add a preference option though
Mark Chaney
Mark ChaneyOP2y ago
I’m curious why you think it looks better. It’s not standard practice as far as I know. Just personal preference or is there something else behind it?
Kenneth Sese
Kenneth Sese2y ago
I don’t know if this is the reason, but for example in other languages where you have more use of propositions IMO it looks weird to have them capitalized. For example in my school management app, in Spanish “Parents” is “Padres de familia”. I personally prefer that over “Padres De Familia”. I could see a case for “Padres de Familia” but I’d have to create a separate helper to parse the propositions.
awcodes
awcodes2y ago
It’s also grammatically the difference between a title and a heading. Titles should be capitalized. Headings should not. Get in this argument at work all the time. 😅

Did you find this page helpful?