mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-21 00:28:08 +08:00
Use caption
This commit is contained in:
parent
fee454f286
commit
196f84bb28
@ -8,10 +8,10 @@
|
||||
"edit": "Edit",
|
||||
"go": "Go",
|
||||
"invite": "Invite",
|
||||
"lower_hand": "Lower hand ({{keyboardShortcut}})",
|
||||
"lower_hand": "Lower hand",
|
||||
"no": "No",
|
||||
"pick_reaction": "Pick reaction",
|
||||
"raise_hand": "Raise hand ({{keyboardShortcut}})",
|
||||
"raise_hand": "Raise hand",
|
||||
"raise_hand_or_send_reaction": "Raise hand or send reaction",
|
||||
"register": "Register",
|
||||
"remove": "Remove",
|
||||
|
@ -90,7 +90,7 @@ export function ReactionPopupMenu({
|
||||
)}
|
||||
<div className={styles.reactionPopupMenu}>
|
||||
<section className={styles.handRaiseSection}>
|
||||
<Tooltip label={label}>
|
||||
<Tooltip label={label} caption={"H"}>
|
||||
<CpdButton
|
||||
kind={isHandRaised ? "primary" : "secondary"}
|
||||
aria-keyshortcuts="H"
|
||||
@ -113,10 +113,11 @@ export function ReactionPopupMenu({
|
||||
{filteredReactionSet.map((reaction, index) => (
|
||||
<li key={reaction.name}>
|
||||
<Tooltip
|
||||
label={
|
||||
index >= ReactionsRowSize
|
||||
? reaction.name
|
||||
: `${reaction.name} (${index + 1})`
|
||||
label={reaction.name}
|
||||
caption={
|
||||
index < ReactionsRowSize
|
||||
? (index + 1).toString()
|
||||
: undefined
|
||||
}
|
||||
>
|
||||
<CpdButton
|
||||
|
Loading…
Reference in New Issue
Block a user