Problem/Motivation

The field label for the existing entity autocomplete gets all words capitalised. In most cases this is not needed.

Proposed resolution

Swap ucwords with ucfirst.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sardara created an issue. See original summary.

sardara’s picture

Issue summary: View changes
sardara’s picture

Assigned: sardara » Unassigned
Status: Active » Needs review
FileSize
783 bytes
yoroy’s picture

Issue tags: +Usability

This sounds sensible but a before/after screenshot would make this easier to understand :-)

dawehner’s picture

Issue tags: +Needs screenshots

Thank you @yoroy for looking into this issue!

dawehner’s picture

Status: Needs review » Needs work
claudiu.cristea’s picture

The whole labels singular/plural stuff should be resolved through #2765065: [PP-1] Allow plurals on bundle labels, when that one lands.

claudiu.cristea’s picture

dawehner’s picture

I agree, let's maybe add a todo referencing that?

claudiu.cristea’s picture

Status: Needs work » Needs review
FileSize
960 bytes
812 bytes

Sure. With the @todo I think this is good to go as a temporary solution until #2765065: [PP-1] Allow plurals on bundle labels.

@dawehner, do you think you have some time to review #2765065: [PP-1] Allow plurals on bundle labels? I can explain you in detail why that looks like stuck.

dawehner’s picture

Status: Needs review » Fixed

Thank you for updating the issue!

claudiu.cristea’s picture

Status: Fixed » Reviewed & tested by the community

@dawehner, you fixed the issue but you haven't committed the patch

  • dawehner committed 44c5cfc on 8.x-1.x authored by sardara
    Issue #2764007 by claudiu.cristea, sardara: Capitalize only first letter...
dawehner’s picture

Oh I forgot to push it. Sorry.

claudiu.cristea’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.