suspicion: no singular in 2 strings
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Describe the bug
** This is only a suspicion, I am not sure if this is really an issue !!!**
2 new strings have only plural no singular:
1)
https://github.com/nextcloud/deck/blob/242906162f12054729f2f776598e0c9f57ef5c14/src/views/CardReferenceWidget.vue#L138
- Created on {created}
- Last modified on {lastMod}
*{nbAttachments} attachments - {nbComments} comments
https://github.com/nextcloud/deck/blob/242906162f12054729f2f776598e0c9f57ef5c14/src/views/CardReferenceWidget.vue#L146
{nbCards} cards
Steps to Reproduce
This is just seen in Transifex. Most strings with numbers have a singular and a plural version
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open src/views/CardReferenceWidget.vue around lines 138 and 146 and inspect how the attachment, comment, and card counts are passed to translations. Check the corresponding Transifex entries and compare nearby strings that support singular and plural forms. Done means confirming whether these strings need pluralization support and documenting or applying the agreed correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- internationalization, localization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100