nextcloud / nextcloud/deck

i18n: Three identical placeholders require numbering to enable word order for all languages

Open
#7,095 0 comments 0 reactions 0 assignees View on GitHub

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

https://github.com/nextcloud/deck/blob/be497a741c6711b71d0408da8cc0facb5518cd67/lib/Notification/Notifier.php#L102

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.