nextcloud / nextcloud/deck

suspicion: no singular in 2 strings

Open
#4,057 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug translation
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.