Skip to content

AUTHORED BY %s and %n others is wrong about the others, and how many authors are involved #3353

Open
@guest20

Description

@guest20

<button class="contributors-show-button btn-link">and [% $contributors.size() %] contributors</button>

  • The plural is wrong for a single author - 1 contributor(s), although nostalgic is not grammatically correct
  • The count is wrong (HOUSTON and one is two - when there is only one author)
  • The readmore shows that the "one extra" author is ... the same author again.

To Reproduce

Steps to reproduce the behaviour:

  1. Go to https://metacpan.org/release/HOUSTON/Password-Policy-Rule-Pwned-0.03/view/lib/Password/Policy/Rule/Pwned.pm
  2. Click on 'and 1 contributor'
  3. See error:

the unexpaneded and expanded states of the contributor list, showing the condition above

Expected behaviour

I expect the software to know how to count the number of humans involved, and how to correctly use English plurals

Desktop

Firefox 128.0.1 (64 bit) on Unregistered Microsoft windows 10 Pro, 2009 build 19045.5737 with a great many ad blocking plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions