Problem/Motivation
Drupal already has code like $interval_output = $this->formatPlural($interval->m, '@count month', '@count months', [], ['langcode' => $options['langcode']]);
So we can reuse this.
Proposed resolution
Use formatPlural instead of t('month') and t('months').
Remaining tasks
User interface changes
New translatable strings - but core already has them.
API changes
None
Data model changes
Issue fork node_revision_delete-3584698
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
alexpottComment #5
alexpott