-
Notifications
You must be signed in to change notification settings - Fork 973
Conversation
@@ -37,9 +37,10 @@ class ClipboardButton extends React.Component { | |||
<span className={css( | |||
styles.doneLabel, | |||
this.state.visibleLabel && styles.visible | |||
)} onAnimationEnd={this.onAnimationEnd} data-l10n-id='copied'>Copiesd!</span> | |||
)} onAnimationEnd={this.onAnimationEnd} data-l10n-id='copied'>Copied!</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we have english text hardcoded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure. I'll remove it.
@@ -37,7 +37,7 @@ class ClipboardButton extends React.Component { | |||
<span className={css( | |||
styles.doneLabel, | |||
this.state.visibleLabel && styles.visible | |||
)} onAnimationEnd={this.onAnimationEnd} data-l10n-id='copied'>Copied!</span> | |||
)} onAnimationEnd={this.onAnimationEnd} data-l10n-id='copied'></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please change this to data-l10n-id='copied' />
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.
@NejcZdovc I fixed everything you pointed out and squashed the commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you
Test Plan:
Copy to clipboard
tooltip is shown.Description
Fixes #8199
git rebase -i
to squash commits (if needed).