summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2024-03-21 11:06:21 +0100
committerGitHub <noreply@github.com>2024-03-21 10:06:21 +0000
commit885d0faf83d55f2f67ad76f7f34c51afcd72efe5 (patch)
treeeb6a976fff883a093c1ec432c52302fc88599068
parentc007dd5dd21ded9b82d2f2e5dd063dc0fe88a797 (diff)
Fix duplicate translation string for severed relationships (#29689)
-rw-r--r--app/javascript/mastodon/features/notifications/components/notification.jsx3
-rw-r--r--app/javascript/mastodon/locales/en.json1
2 files changed, 1 insertions, 3 deletions
diff --git a/app/javascript/mastodon/features/notifications/components/notification.jsx b/app/javascript/mastodon/features/notifications/components/notification.jsx
index 1af1eb78d94..1e89f77d453 100644
--- a/app/javascript/mastodon/features/notifications/components/notification.jsx
+++ b/app/javascript/mastodon/features/notifications/components/notification.jsx
@@ -38,7 +38,6 @@ const messages = defineMessages({
reblog: { id: 'notification.reblog', defaultMessage: '{name} boosted your status' },
status: { id: 'notification.status', defaultMessage: '{name} just posted' },
update: { id: 'notification.update', defaultMessage: '{name} edited a post' },
- severedRelationships: { id: 'notification.severed_relationships', defaultMessage: 'Relationships with {name} severed' },
adminSignUp: { id: 'notification.admin.sign_up', defaultMessage: '{name} signed up' },
adminReport: { id: 'notification.admin.report', defaultMessage: '{name} reported {target}' },
});
@@ -375,7 +374,7 @@ class Notification extends ImmutablePureComponent {
<Icon id='unlink' icon={LinkOffIcon} />
<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>
</div>
diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json
index ca698533668..efda92d2132 100644
--- a/app/javascript/mastodon/locales/en.json
+++ b/app/javascript/mastodon/locales/en.json
@@ -471,7 +471,6 @@
"notification.own_poll": "Your poll has ended",
"notification.poll": "A poll you have voted in has ended",
"notification.reblog": "{name} boosted your post",
- "notification.severedRelationships": "Relationships with {name} severed",
"notification.severed_relationships": "Relationships with {name} severed",
"notification.status": "{name} just posted",
"notification.update": "{name} edited a post",