Incorrectly localized the plural of "x month(s) ago"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
Issue is caused by this line of code
https://github.com/microsoft/pxt/blob/0ead5a7b9a312e1bf3466bb08cf9e2e5c73d2a33/pxtlib/util.ts#L793
This issue exists in at least three languages (portuguese, french, and spanish) and is persisted in all our targets
Currently we get this in es-mx:

Correct translation would look like this:
Singular

Plural

Crowdin string is here.
https://crowdin.com/translate/kindscript/32/en-esmx#52850
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
Start at pxtlib/util.ts line 793, where the issue identifies the localization logic, and compare the Crowdin string with the provided es-mx examples. Check the singular and plural output for Portuguese, French, Spanish, and persisted targets. Done means the localized “x month(s) ago” text uses the correct form in each affected language.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100