[Glitch] Fix duplicate translation string for severed relationships

Port 885d0faf83 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
shrike
Claire 2024-03-21 11:06:21 +01:00
parent 903dc53522
commit f14b6f3d99
1 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ import Report from './report';
const messages = defineMessages({ const messages = defineMessages({
follow: { id: 'notification.follow', defaultMessage: '{name} followed you' }, follow: { id: 'notification.follow', defaultMessage: '{name} followed you' },
severedRelationships: { id: 'notification.severed_relationships', defaultMessage: 'Relationships with {name} severed' },
adminSignUp: { id: 'notification.admin.sign_up', defaultMessage: '{name} signed up' }, adminSignUp: { id: 'notification.admin.sign_up', defaultMessage: '{name} signed up' },
adminReport: { id: 'notification.admin.report', defaultMessage: '{name} reported {target}' }, adminReport: { id: 'notification.admin.report', defaultMessage: '{name} reported {target}' },
}); });
@ -320,7 +319,7 @@ class Notification extends ImmutablePureComponent {
<Icon id='unlink' icon={LinkOffIcon} /> <Icon id='unlink' icon={LinkOffIcon} />
<span title={notification.get('created_at')}> <span title={notification.get('created_at')}>
<FormattedMessage id='notification.severedRelationships' defaultMessage='Relationships with {name} severed' values={{ name: notification.getIn(['event', 'target_name']) }} /> <FormattedMessage id='notification.severed_relationships' defaultMessage='Relationships with {name} severed' values={{ name: notification.getIn(['event', 'target_name']) }} />
</span> </span>
</div> </div>