HomePhabricator
Diffusion Comm a95f14bef093

[lib] Introduce basePluralize

Description

[lib] Introduce basePluralize

Summary:
In the next diff, I introduce a function that pluralizes EntityText. This diff factors out the shared functionality.

Depends on D6510

Test Plan: The test cases in lib/utils/text-utils.test.js are extremely thorough

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D6511

Details

Provenance
ashoatAuthored on Feb 1 2023, 1:49 PM
Reviewer
atul
Differential Revision
D6511: [lib] Introduce basePluralize
Parents
rCOMM216451b11dd9: [lib] Use pluralize in robotextForUsers
Branches
Unknown
Tags
Unknown