Use different copy for outgoing gift badges

This commit is contained in:
Scott Nonnenberg 2022-06-23 09:15:26 -07:00 committed by GitHub
parent 6b231346d9
commit 7b1721b0d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -1284,7 +1284,7 @@ export class Message extends React.PureComponent<Props, State> {
}
if (giftBadge.state === GiftBadgeStates.Unopened) {
const description = i18n('message--giftBadge--unopened');
const description = i18n(`message--giftBadge--unopened--${direction}`);
const isRTL = getDirection(description) === 'rtl';
const { metadataWidth } = this.state;