Skip to content

fix(user-list): pass userName to the lower-hand tooltip again - #26431

Merged
antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
antobinary:fix-400-lower-hand-tooltip-username
Nov 5, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
antobinary:fix-400-lower-hand-tooltip-username

Conversation

@antobinary

Copy link
Copy Markdown
Member

What does this PR do?

Passes the user's name to the lower-hand tooltip in the user list again: one line in user-list-participants/list-item/service.ts.

Why

The lower-hand button in the user list formats app.statusNotifier.lowerHandDescOneUser without values. eefd37e changed that key's English text from "Lower {userName}'s hand" to "Lower hand", but Transifex kept the translations of the old text, so 16 locales still use {userName}: ca, cs_CZ, el_GR, es, es_ES, eu, fa_IR, fr, gl, hy, ko_KR, nl, pl_PL, pt, tr_TR and uk_UA. Formatted without values, react-intl returns the message unchanged, so the tooltip reads "Опустити руку {userName}" in Ukrainian.

The button now passes { userName: user.name }, as the raise-hand notifier did before that commit removed it. The 16 locales then show the name where their text has the placeholder. English and the 12 locales already re-translated to "Lower hand" (ar, de, et, hu_HU, it_IT, ja, nb_NO, pt_BR, ru, sv_SE, tr, zh_TW) ignore the extra value.

How was it tested?

With react-intl and the locale files of v4.0.x-develop, the label renders a raw placeholder in 16 locales when formatted without values and in none with { userName }. English and the re-translated locales render the same text both ways. tsc --noEmit and eslint pass.

To check it in the client: switch the language to Ukrainian, French, Spanish or Dutch, raise your hand, and hover the lower-hand button next to your name in the raised-hands list of the user list. The tooltip shows your name instead of {userName}. In English it still reads "Lower hand".

Not in this PR

Closes Issue(s)

Closes #26426 (the {userName} tooltip; the untranslated strings need Transifex, see above).

The raise-hand port (eefd37e) removed the raise-hand notifier, which
formatted app.statusNotifier.lowerHandDescOneUser with
{ userName: u.name }, added a lower-hand button to the user list that
formats the same message without values, and changed its English text
from "Lower {userName}'s hand" to "Lower hand".

Transifex keeps the translations of a key whose English text changes.
Of the 28 locales that had translated the old text, 16 still carry
{userName}: ca, cs_CZ, el_GR, es, es_ES, eu, fa_IR, fr, gl, hy, ko_KR,
nl, pl_PL, pt, tr_TR and uk_UA. Formatted without values, react-intl
returns a message unchanged, so the tooltip shows the raw placeholder,
for example "Опустити руку {userName}" in Ukrainian.

Pass the user's name again. The 16 locales then render the text they
were translated for, with the name filled in. English and the 12
locales re-translated to "Lower hand" since (ar, de, et, hu_HU, it_IT,
ja, nb_NO, pt_BR, ru, sv_SE, tr, zh_TW) ignore the unused value and
render as before.

Reported in bigbluebutton#26426. The other strings that report shows in English are
missing uk_UA translations, which come from Transifex.
@antobinary antobinary added this to the Release 4.0 milestone Nov 5, 2026
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The lowerHand toolbar label now passes user.name as the userName formatting value. This replaces the previous call, which supplied no formatting values.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix · Severity of issue fixed: Low

Suggested reviewers: ramonlsouza

Merge Risk: Minimal · up to a5862

The tooltip now receives the participant name required by affected translations. No concrete merge-blocking issue remains.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

⏳ Automated tests are running...

@antobinary
antobinary merged commit b0ef76e into bigbluebutton:v4.0.x-develop Nov 5, 2026
23 of 24 checks passed
@antobinary
antobinary deleted the fix-400-lower-hand-tooltip-username branch November 6, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ukrainian locale: unresolved {userName} placeholder in "Lower hand" tooltip and missing translations

1 participant