You can't access the count property value of PluralTranslatableMarkup class

Created on 23 November 2022, over 2 years ago
Updated 9 September 2024, 8 months ago

Problem/Motivation

There is no way to access the count property (The item count to display) of the PluralTranslatableMarkup class.

Steps to reproduce

Create a PluralTranslatableMarkup object and try to access the count property, there is no way to do it.

Proposed resolution

Add the count property in the arguments array.

Remaining tasks

Test the patch.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

None.

๐Ÿ“Œ Task
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Localeย  โ†’

Last updated 12 days ago

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada adriancid Montreal, Canada

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024