This change record has exists for sometime ( april '16 )

https://www.drupal.org/node/2689949


It is strongly recommended that each entity type provides the following annotation keys:

* label_singular = @Translation("content item"),
* label_plural = @Translation("content items"),
* label_count = @PluralTranslation(
* singular = "@count content item",
* plural = "@count content items",
* ),

Today core has systematically gone though of all it entity types and made sure each follows this convention.

#2702683: Add plural labels to entity types

As far as the Flag module's content entites go "Flagging" has the appropriate annonation keys. Meh "flag" not so much

so this issue is a minor quick fix.

CommentFileSizeAuthor
#2 plural-2954660-2.patch601 bytesmartin107
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

martin107 created an issue. See original summary.

martin107’s picture

Assigned: martin107 » Unassigned
Issue summary: View changes
Status: Active » Needs review
Issue tags: +Quickfix
FileSize
601 bytes

Here is the patch.

socketwench’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

  • socketwench committed 0b3501e on 8.x-4.x authored by martin107
    Issue #2954660 by martin107, socketwench: Add plural labels to entity...
socketwench’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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