Page MenuHomePhabricator

[lib] Use pluralize in robotextForUsers
ClosedPublic

Authored by ashoat on Feb 1 2023, 2:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 1:30 PM
Unknown Object (File)
Sat, Dec 14, 1:30 PM
Unknown Object (File)
Sat, Dec 14, 1:29 PM
Unknown Object (File)
Sat, Dec 14, 1:23 PM
Unknown Object (File)
Nov 18 2024, 7:26 PM
Unknown Object (File)
Nov 16 2024, 7:37 PM
Unknown Object (File)
Nov 16 2024, 5:25 PM
Unknown Object (File)
Nov 14 2024, 8:17 PM
Subscribers

Details

Summary

Seems like this code is just duplicated. I checked the unit tests for pluralize and they seem to do exactly what we want here.

Test Plan

Played around with robotext messages and they all look right

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable