i18n: Three identical placeholders require numbering to enable word order for all languages
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
Something like:
$l->t(
'The card "{card}" on "{board}" has been assigned to you by {user}.',
[
'card' => $params[0],
'board' => $params[1],
'user' => $dn
]
)
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 lib/Notification/Notifier.php near line 102 and inspect the notification translation call and its parameters. Update the three repeated placeholders so their values can be reordered for translations, then verify that the notification still identifies the card, board, and assigning user correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- internationalization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100